[hardy] thuban 1.2.0-2 warning compile error

Bug #191491 reported by marcobra (Marco Braida)
22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
thuban (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: thuban

On Ubuntu Hardy: updated and upgraded installing Thuban with Aptitude i get this:

Configuro thuban (1.2.0-2) ...
WARNING: compile error while trying to byte-compile /usr/lib/thuban/Extensions/ogr/ogrshapes.py: File "/usr/lib/thuban/Extensions/ogr/ogrshapes.py", line 12
    from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of the file

Hope this helps

Revision history for this message
marcobra (Marco Braida) (marcobra) wrote :

Launching Thuban i get this error:

thuban
/usr/lib/thuban/Thuban/UI/colordialog.py:25: DeprecationWarning: The wxPython compatibility package is no longer automatically generated or actively maintained. Please switch to the wx package as soon as possible.
  from wxPython.lib.colourchooser import wxPyColourChooser

*******************************************************
 The following version errors were detected:
     Thuban was compiled with wx 2.6.3 but wxPython is 2.8.6.1
*******************************************************

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 or 9.04?

Changed in thuban:
status: New → Incomplete
Revision history for this message
Alvin (purplealvin-deactivatedaccount) wrote :

I can't comment on >8.04.
But can confirm problem in 8.04.
To reproduce:
1) install thuban - aptitude error as above.
2) run thuban from console - get
"/usr/lib/thuban/Thuban/UI/colordialog.py:25: DeprecationWarning: The wxPython compatibility package is no longer automatically generated or actively maintained. Please switch to the wx package as soon as possible.
  from wxPython.lib.colourchooser import wxPyColourChooser

*******************************************************
 The following version errors were detected:
     Thuban was compiled with wx 2.6.3 but wxPython is 2.8.7.1
*******************************************************
"

My wxPython version is slightly different - perhaps due to update in intervening period.

So, confirming and adding couple of duplicates.

Revision history for this message
Alvin (purplealvin-deactivatedaccount) wrote :

Confirming status.

Changed in thuban:
status: Incomplete → Confirmed
Revision history for this message
marcobra (Marco Braida) (marcobra) wrote :

On Ubuntu 9.04
Description: Ubuntu 9.04
Release: 9.04

installing Thuban using aptitude i get this warning

WARNING: compile error while trying to byte-compile /usr/lib/thuban/Extensions/ogr/ogrshapes.py: SyntaxError: ('from __future__ imports must occur at the beginning of the file', ('/usr/lib/thuban/Extensions/ogr/ogrshapes.py', 12, None, 'from __future__ import generators\n'))

When i run Thuban

apt-cache policy thuban
thuban:
  Installato: 1.2.0-2.1ubuntu1
  Candidato: 1.2.0-2.1ubuntu1
  Tabella versione:
 *** 1.2.0-2.1ubuntu1 0
        500 http://archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

it start fine but with different issues
( not reported here, please see the Thuban bugs https://bugs.launchpad.net/ubuntu/+source/thuban )

Hth

Hope this helps

Revision history for this message
Phillip Susi (psusi) wrote :

I believe this was fixed in precise.

Changed in thuban (Ubuntu):
status: Confirmed → 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.