Status: New
Owner: ----
New issue 171 by Krause.Chr: compile problem in 3.15.7
http://code.google.com/p/solfege/issues/detail?id=171
I've tried to package the new development version and I've found the
following issue:
During an rpmbuild of solfege 3.15.7 the brp-python-bytecompile stumbles
over a syntax error in solfege/lessonfile_editor_main.py.
What steps will reproduce the problem?
Even without building the rpm the issue can be triggered by:
python solfege/lessonfile_editor_main.py
What do you see instead?
File "solfege/lessonfile_editor_main.py", line 29
from solfege import mpd.musicdisplayer
^
SyntaxError: invalid syntax
What is the expected output?
No Syntax Error. ;-)
What version of the product are you using? On what operating system?
solfege 13.5.7
linux (Fedora Rawhide, 11, 12)
python-2.6.4-18.fc13.i686 (but happens also with python-2.6-12.fc11.i586)
Please provide any additional information below.
The issue is caused by this import line:
"from solfege import mpd.musicdisplayer"
in solfege/lessonfile_editor_main.py
According to the python documentation (
http://docs.python.org/reference/simple_stmts.html#the-import-statement )
identifiers most not contain any other characters than letters, digits or
underscores.
Since the musicdislayer is referenced later in this file with the mpd
prefix anyway, the fix seems be quite easy: just omit this line. I haven't
seen any breakage by this change, but I haven't found out how I could start
the lesson editor in solfege 3.15.7 ...
Patch attached.
Attachments:
solfege-3.15.7-import.patch 479 bytes
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Solfege-devel mailing list
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe", or visit
https://lists.sourceforge.net/lists/listinfo/solfege-devel