Content
Sass::SyntaxError in Welcome#index
Added by Trent Stevenson over 10 years ago
APOLOGIES IN ADVANCE - TRIED TO FORMAT THE POST BUT THE FORUMS FORMATTING IS BEYOND WOEFUL
@Sass::SyntaxError in Welcome#index
Showing /home/carne/openproject/app/views/layouts/base.html.erb where line #41 raised:
File to import not found or unreadable: css/jquery.atwho.
Load path: Sass::Rails::Importer(/home/carne/openproject/app/assets/stylesheets/default.css.sass)
(in /home/carne/openproject/app/assets/stylesheets/default.css.sass)
Extracted source (around line #41):
38:
<meta name="accessibility-mode" content="<%= current_user.impaired? %>
" />
39: <%= csrf_meta_tags %>
40: <%= favicon_link_tag ‘favicon.ico’ %>
41: <%= stylesheet_link_tag current_theme.stylesheet_manifest, :media => “all” %>
42: <% if User.current.impaired? && accessibility_css_enabled? %>
43: <%= stylesheet_link_tag ‘accessibility’ %>
44: <% end %>
Rails.root: /home/carne/openproject
Application Trace | Framework Trace | Full Trace
app/assets/stylesheets/external.css.sass:30
app/assets/stylesheets/default.css.sass:33
app/views/layouts/base.html.erb:41:in `_app_views_layouts_base_html_erb__4426410205104226895_77788980’
Request
Parameters:
None
Show session dump
_csrf_token: “uo4muSCheKcG219E2NB5U0YWaTgvpaMxJhj5+czmKpk=”
session_id: “9e6f8bd444f95c94ee528085b77e536d”
updated_at: 2014-04-30 16:23:14 +1200
Show env dump
GATEWAY_INTERFACE: “CGI/1.2”
HTTP_ACCEPT: “text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8”
HTTP_ACCEPT_ENCODING: “gzip,deflate,sdch”
HTTP_ACCEPT_LANGUAGE: “en-US,en;q=0.8”
REMOTE_ADDR: “192.168.1.26”
SERVER_NAME: “192.168.1.5”
SERVER_PROTOCOL: “HTTP/1.1”
Response
Headers:
None@
*Freshly installed on Ubuntu 14.04, never used openproject before. Installed as per: https://www.openproject.org/projects/openproject/wiki/Installation_Ubuntu
There were some issues with getting some of the dependencies, but it let me go ahead with the installation, the dependencies it couldn’t find in the repo were:
Note, selecting ‘libxslt1-dev’ instead of ‘libxslt-dev’
E: Unable to locate package libmysql-ruby
Finished installation, other than that, without hick-up. Launched the server and went to the webpage and was greeted with the above. In my amateur attempt to see what it was complaining about it seems files don’t exist / aren’t accessible. I chmod 777 -R’d the ~/openproject directory. It has problems with:
app/assets/stylesheets/external.css.sass:30
app/assets/stylesheets/default.css.sass:33
They both exist:
@
drwxrwxrwx 7 carne carne 4096 Apr 30 09:27 .
drwxrwxrwx 6 carne carne 4096 Apr 30 09:27 ..
-rwxrwxrwx 1 carne carne 1262 Apr 30 09:27 accessibility.css
drwxrwxrwx 2 carne carne 4096 Apr 30 09:27 content
-rwxrwxrwx 1 carne carne 1470 Apr 30 09:27 context_menu_rtl.css
drwxrwxrwx 2 carne carne 4096 Apr 30 09:27 default
-rwxrwxrwx 1 carne carne 1988 Apr 30 09:27 default.css.sass
-rwxrwxrwx 1 carne carne 1349 Apr 30 09:27 external.css.sass
drwxrwxrwx 2 carne carne 4096 Apr 30 09:27 fonts
drwxrwxrwx 2 carne carne 4096 Apr 30 09:27 global
-rwxrwxrwx 1 carne carne 2630 Apr 30 09:27 jstoolbar.css.sass
drwxrwxrwx 2 carne carne 4096 Apr 30 09:27 layout
-rwxrwxrwx 1 carne carne 1306 Apr 30 09:27 openproject_plugins.css.erb
-rwxrwxrwx 1 carne carne 1660 Apr 30 09:27 print.css
-rwxrwxrwx 1 carne carne 1020 Apr 30 09:27 reset.css.sass
-rwxrwxrwx 1 carne carne 3082 Apr 30 09:27 rtl.css
-rwxrwxrwx 1 carne carne 7271 Apr 30 09:27 scm.css.sass
-rwxrwxrwx 1 carne carne 3539 Apr 30 09:27 select2_customizing.css.erb
-rwxrwxrwx 1 carne carne 15464 Apr 30 09:27 timelines.css.erb
-rwxrwxrwx 1 carne carne 1636 Apr 30 09:27 top-shelf.css.erb
-rwxrwxrwx 1 carne carne 1850 Apr 30 09:27 work_packages.css
@
this is default.css.sass:@
carne@carnetechmain:~/openproject/app/assets/stylesheets$ cat default.css.sass
/*— copyright
- OpenProject is a project management system.
- Copyright © 2012-2013 the OpenProject Foundation (OPF)
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License version 3.
- OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
- Copyright © 2006-2013 Jean-Philippe Lang
- Copyright © 2010-2013 the ChiliProject Team
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License
- as published by the Free Software Foundation; either version 2
- of the License, or (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- See doc/COPYRIGHT.rdoc for more details.
*/
import global/all
import fonts/lato
import fonts/openproject_icon_font
import external
import select2_customizing
import jstoolbar
import content/context_menu
import print
import scm
import top-shelf
import work_packages
import openproject_plugins
import layout/all
import content/forms
import content/flash_messages
import content/calendar
import content/wiki
import content/links
import content/action_menu_main
import content/my_page
import content/buttons
import content/boxes
import content/tabular
import content/work_package_report
import content/expandable_group_content
import content/control_colors
import content/tabular
import content/headings
import content/timelines
import content/preview
import default/main
This is external.css.sass:
carne
carnetechmain:~/openproject/app/assets/stylesheets$ cat external.css.sass
/*— copyright
- OpenProject is a project management system.
- Copyright © 2012-2013 the OpenProject Foundation (OPF)
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License version 3.
- OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
- Copyright © 2006-2013 Jean-Philippe Lang
- Copyright © 2010-2013 the ChiliProject Team
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License
- as published by the Free Software Foundation; either version 2
- of the License, or (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- See doc/COPYRIGHT.rdoc for more details.
*/
import reset
import css/jquery.atwho
import "select2/select2.css"
import “jquery-ui/themes/base/jquery-ui.css”
@
Replies (4)
Hi Trent,
I am not 100% sure if that is your problem, but it might be that you stumbled about a misleading step in our installation guides (see this post).
Does the your problem still persist, if you use the stable branch?
yours,
tessi
Hi Philipp (weird spelling, where I’m from it’s double l’s and a single p),
I followed the instrurtions as per https://www.openproject.org/projects/openproject/wiki/Installation_Ubuntu which does indeed clone the stable branch.
So I have the stable branch.
Sorry there philipp mate,
I see you only posted that other comment some 30 minutes ago and you mention having fixed the instructions. I assume this means that you are the writer of https://www.openproject.org/projects/openproject/wiki/Installation_Ubuntu and that this page is now different to when I followed it through earlier today.
With that in mind, I will reclone the git tomorrow (perhaps the instuctions read development branch when I followed them).
Cheers, Trent.
Here (in germany) we have all sort of philipp’s - people get confused often because of this :)
You’re right, I am one of the authors of that guide and just changed it.
The previous version didn’t explicitly mention any branch at all (the development branch is our default branch, which is why it was used - a pretty bad default for installation, but a good one for development).
If you want to stick to the development branch Hagen posted a guide in that other post.
BTW: If you have any comments or improvements for our guide(s) I’d be happy to hear from you.
yours,
philipp