Dear Carl,You are using a more recent version of lessc then I am so it is probably just a versioning error. Ubuntu Precise Pangolin's repositories are still at lessc-1.2.1. So apparently I need to manually install a more recent version of the compiler. Here is a description of the error if anyone else has this problem:I have not edited anything, when attempting to compile the vanilla blue_colors.ini from the repo I receive an error like so:$sudo lessc blue_colors.iniParseError: Syntax Error on line 1 in /srv/galaxy-dist/static/style/blue_colors.ini:1:91 base_text=#3030302 base_bg_top=#FFFFFFHowever the only reason I used that command is because the makefile gives a different error:$ sudo make OUT=bluemake[1]: Entering directory `/srv/galaxy-dist/static/style/blue'lessc -x ../base.less base.cssTypeError: Cannot call method 'charAt' of undefinedat getLocation (/usr/lib/nodejs/less/parser.js:204:34)at new LessError (/usr/lib/nodejs/less/parser.js:213:19)at Object.toCSS (/usr/lib/nodejs/less/parser.js:379:31)at /usr/bin/lessc:103:28at /usr/lib/nodejs/less/parser.js:428:40at /usr/lib/nodejs/less/parser.js:94:48at /usr/lib/nodejs/less/index.js:113:15at /usr/lib/nodejs/less/parser.js:428:40at /usr/lib/nodejs/less/parser.js:94:48at /usr/lib/nodejs/less/index.js:113:15make[1]: *** [base.css] Error 2make[1]: Leaving directory `/srv/galaxy-dist/static/style/blue'make: *** [all] Error 2
Which is apparently a bug in the version of lessc I have.On Mon, Aug 5, 2013 at 11:09 AM, Carl Eberhard <carlfeberhard@gmail.com> wrote:
Hey, SethI'm using npm less 1.3.3. That error isn't a known issue, no.Is that the full stack trace/error report? Which files have you edited?
Thanks,CarlOn Tue, Jul 30, 2013 at 2:39 PM, Seth Sims <seth.sims@gmail.com> wrote:
___________________________________________________________Dear Galaxy devs,I am attempting to create a style directory to match my school's look and feel. I am mainly trying to get the development environment setup to do this right now. My current problem is that when I attempt to compile the standard blue_colors.ini which comes with galaxy I am receiving a syntax error:ParseError: Syntax Error on line 1 in /srv/galaxy-dist/static/style/blue_colors.ini:1:101 base_text=#3030302 base_bg_top=#FFFFFFI have not edited that file at all. So the first question is, what version of lessc is being used to compile the styles for the basic installation? Also are there any pitfalls I should be aware of with this process.- Seth
Please keep all replies on the list by using "reply all"
in your mail client. To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
http://lists.bx.psu.edu/
To search Galaxy mailing lists use the unified search at:
http://galaxyproject.org/search/mailinglists/