Fails to compile under py27

Bug #719188 reported by Michael Vogt
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
jaxml (Debian)
Fix Released
Unknown
jaxml (Ubuntu)
Fix Released
Medium
Unassigned
Natty
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: jaxml

$ sudo apt-get install python-jaxml
Reading package lists... Done
Building dependency tree
Reading state information... Done
FThe following NEW packages will be installed:
  python-jaxml
0 upgraded, 1 newly installed, 0 to remove and 283 not upgraded.
Need to get 26,0 kB of archives.
After this operation, 147 kB of additional disk space will be used.
0% [Working]Failed to exec method /usr/share/squid-deb-proxy-client/apt-avahi-discover
Get:1 http://archive.ubuntu.com/ubuntu/ natty/universe python-jaxml all 3.01-6 [26,0 kB]
Fetched 26,0 kB in 0s (122 kB/s)
Selecting previously deselected package python-jaxml.
(Reading database ... 256566 files and directories currently installed.)
Unpacking python-jaxml (from .../python-jaxml_3.01-6_all.deb) ...
Setting up python-jaxml (3.01-6) ...
Processing triggers for python-support ...
Compiling /usr/lib/pymodules/python2.7/jaxml.py ...
SyntaxError: ('cannot assign to __debug__', ('/usr/lib/pymodules/python2.7/jaxml.py', 990, None, 'self.__debug__ = file\n'))

Tags: python27

Related branches

tags: added: python27
Changed in jaxml (Ubuntu Natty):
importance: Undecided → Medium
status: New → Triaged
Changed in jaxml (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package jaxml - 3.01-6ubuntu1

---------------
jaxml (3.01-6ubuntu1) natty; urgency=low

  * Assignment to __debug__, even as an attribute, is not allowed in
    Python 2.7. See upstream tracker issue
    <http://bugs.python.org/issue9438>. (LP: #719188)
 -- Xavier Bassery <email address hidden> Sun, 06 Mar 2011 13:12:45 +0100

Changed in jaxml (Ubuntu Natty):
status: Triaged → Fix Released
Revision history for this message
spe (jspeshu) wrote :

i am having this problem after installing the fix shown above
https://bugs.launchpad.net/ubuntu/+source/bzr/+bug/781151

Changed in jaxml (Debian):
status: New → Fix Committed
Changed in jaxml (Debian):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.