Notice: Trying to access array offset on value of type bool in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/scripts/details.php on line 649 FS#194 : python ctypes broken (and fix)

OpenPandora Main OS

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Core
  • Operating System Release 1 (Zaxxon)
  • Severity Low
  • Reported Version Hotfix 4
Attached to Project: OpenPandora Main OS
Opened by Chris Camacho - 19.10.2010
Last edited by Michael Mrozek - 21.06.2011

FS#194 - python ctypes broken (and fix)

run python and type import ctypes cant find _ctypes it says.... for further details and a fix see http://www.gp32x.com/board/index.php?/topic/57102-python-ctypes-stopped-working/
Closed by  Michael Mrozek
21.06.2011 22:41
Reason for closing:  Fixed
Randy Heydon commented on 31.01.2011 16:59
This is important for me as it's the only way to access libpnd from Python. This error can be confirmed from a terminal by running 'python -c "import ctypes"'. If working correctly, there should be no output; since it's broken, however, it will instead give a traceback, ending with an "ImportError", claiming that it couldn't find "_ctypes". The python-ctypes package should already be installed as a dependency of python-modules, so I don't know why the file would be missing. I checked the packages available from Angstrom, and they seem to have the _ctypes.so file included. Is there perhaps a problem with the version of the package used on the Pandora?

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing