Re: [gtk-osx-users] jhbuildrc-custom problem
- From: John Ralls <jralls ceridwen us>
- To: David Lowe <doctorjlowe twc com>
- Cc: gtk-osx-users-list gnome org
- Subject: Re: [gtk-osx-users] jhbuildrc-custom problem
- Date: Thu, 25 May 2017 10:15:43 -0700
On May 25, 2017, at 9:57 AM, David Lowe <doctorjlowe twc com> wrote:
So, i added a new line [recommended in the wiki] to my configuration:
build_policy = "updated-deps”
however, now it doesn’t fly:
[gtk@Daves-i7:~]$ jhbuild build freeciv
Traceback (most recent call last):
File "/Users/gtk/Source/jhbuild/jhbuild/config.py", line 197, in load
execfile(filename, config)
File "/Users/gtk/.jhbuildrc", line 403, in <module>
execfile(_userrc)
File "/Users/gtk/.jhbuildrc-custom", line 3
build_policy = "updated-deps"
^
SyntaxError: invalid syntax
jhbuild: could not load config file
I don’t notice a spelling error. Is there something wrong with my shell, which is otherwise a
standard /bin/bash ?
.jhbuildrc-custom isn't shell, it's python. That line by itself looks fine, so the problem is likely to be
something with the preceding two lines. Indentation might be a problem though the python compiler usually
says "unexpected indent" in that case. A spelling error wouldn't raise an error, it would just define a new
variable.
Regards,
John Ralls
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]