With residual package python-ctypes installed after upgrade, caffeine 1.0.2 failes to load

Bug #560636 reported by soro2005
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Caffeine
Invalid
Undecided
Unassigned

Bug Description

After upgrading to Lucid and updating caffeine from ppa (v. 1.0.2-0ubuntu0~ppa15~lucid) caffeine fails here with:

File "/usr/bin/caffeine", line 38, in <module>
    import caffeine
  File "/usr/bin/../lib/python2.6/dist-packages/caffeine/__init__.py", line 171, in <module>
    from caffeine.main import main
  File "/usr/bin/../lib/python2.6/dist-packages/caffeine/main.py", line 30, in <module>
    import ctypes
  File "/usr/bin/../lib/python2.6/dist-packages/ctypes/__init__.py", line 20, in <module>
    raise Exception, ("Version number mismatch", __version__, _ctypes_version)
Exception: ('Version number mismatch', '1.0.2', '1.1.0')

The problem can be solved by removing the python-ctypes package, which, it seems, is obsolete in Lucid and was left over from earlier versions.

Revision history for this message
Camille Appert (bibinou) wrote :

FWIW, it still happens on an Oneiric computer because the package was still there.
Seems like a bug on python though, who should "Provides: python-ctypes" ?

Revision history for this message
Reuben Thomas (rrt) wrote :

This is not a caffeine bug.

Changed in caffeine:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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