PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 1038 - ImportError: No module named _Info when using python-content.action in Harmattan
: ImportError: No module named _Info when using python-content.action in Harmattan
Status: NEW
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: PC meego
: P5 normal
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2011-10-28 17:24 EEST by Thomas Perl
Modified: 2012-03-08 16:57 EET (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Perl 2011-10-28 17:24:21 EEST
Platform: N950, freshly flashed with images from:
          http://harmattan-dev.nokia.com/release/N950-39-5/

I cannot import the Python Content.Action module on MeeGo 1.2 Harmattan:

~ $ python
Python 2.6.6 (r266:84292, Mar 11 2011, 01:19:30) 
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from Content import Action
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/pymodules/python2.6/Content/__init__.py", line 3, in <module>
    from _Info import Info
ImportError: No module named _Info


~ $ dpkg -L python-content.action
/.
/usr
/usr/lib
/usr/lib/pyshared
/usr/lib/pyshared/python2.6
/usr/lib/pyshared/python2.6/Content
/usr/lib/pyshared/python2.6/Content/Action.so
/usr/share
/usr/share/python-support
/usr/share/python-support/python-content.action.public
/usr/share/doc
/usr/share/doc/python-content.action
/usr/share/doc/python-content.action/changelog.Debian.gz
/usr/share/doc/python-content.action/copyright
/usr/share/pyshared
/usr/share/pyshared/Content
/usr/share/pyshared/Content/__init__.py

~ $ apt-cache policy python-content.action
python-content.action:
  Installed: 0.2-1maemo4+0m6
  Candidate: 0.2-1maemo4+0m6
  Version table:
     0.2-1maemo4+0m6 0
        500 https://downloads.maemo.nokia.com ./ Packages
 *** 0.2-1maemo4+0m6 0
        100 /var/lib/dpkg/status
     0.2-1maemo3+0m6 0
        500 https://downloads.maemo.nokia.com ./ Packages
Comment 1 Bruno Araujo 2011-10-28 18:44:06 EEST
Thanks for pointing this out. The python-content.info package provides the
missing _Info module, so this boils down to a runtime dependency problem -
python-content.action must depend on python-content.info for working properly.

So, for the time being, please install python-content.info package along with
python-content.action for a workaround.
Comment 2 Thomas Perl 2011-10-29 12:03:31 EEST
(In reply to comment #1)
> Thanks for pointing this out. The python-content.info package provides the
> missing _Info module, so this boils down to a runtime dependency problem -
> python-content.action must depend on python-content.info for working properly.
> 
> So, for the time being, please install python-content.info package along with
> python-content.action for a workaround.

Thanks for that - it seems like python-content.info is not in the Nokia
repository, at least on my N950 I see the following:

~ # apt-cache search python content
python-content.action - Python bindings for Content - Action module.
python-crypto - cryptographic algorithms and protocols for Python
~ #
Comment 3 Matti Airas 2012-03-08 16:57:31 EET
PySide is now a Qt-addon and uses Qt Project's JIRA tool for tracking bugs.
Please verify that the bug is still valid and re-submit it in the address
below:

https://bugreports.qt-project.org/

Sorry for the inconvenience!