No module named linuxmint

Bug #1179176 reported by kazersozet
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Qreator
Fix Committed
Wishlist
Schwarzburg

Bug Description

When the application start, I have this message error:
qreator
ERROR:root:DebFileApplication import
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/db/__init__.py", line 4, in <module>
    from debfile import DebFileApplication, DebFileOpenError
  File "/usr/share/software-center/softwarecenter/db/debfile.py", line 25, in <module>
    from softwarecenter.db.application import Application, AppDetails
  File "/usr/share/software-center/softwarecenter/db/application.py", line 27, in <module>
    import softwarecenter.distro
  File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 197, in <module>
    distro_instance = _get_distro()
  File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 172, in _get_distro
    module = __import__(distro_module_name, globals(), locals(), [], -1)
ImportError: No module named linuxmint
Traceback (most recent call last):
  File "/usr/bin/qreator", line 46, in <module>
    import qreator
  File "/usr/lib/python2.7/dist-packages/qreator/__init__.py", line 34, in <module>
    __import__(name, fromlist=[])
  File "/usr/lib/python2.7/dist-packages/qreator/qrcodes/QRCodeSoftwareCenterApp.py", line 19, in <module>
    from QRCodeSoftwareCenterAppGtk import QRCodeSoftwareCenterAppGtk
  File "/usr/lib/python2.7/dist-packages/qreator/qrcodes/QRCodeSoftwareCenterAppGtk.py", line 23, in <module>
    import softwarecenter.db.database # pylint: disable=F0401
  File "/usr/share/software-center/softwarecenter/db/database.py", line 26, in <module>
    from softwarecenter.db.application import Application
  File "/usr/share/software-center/softwarecenter/db/application.py", line 27, in <module>
    import softwarecenter.distro
  File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 197, in <module>
    distro_instance = _get_distro()
  File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 172, in _get_distro
    module = __import__(distro_module_name, globals(), locals(), [], -1)
ImportError: No module named linuxmint

Related branches

Revision history for this message
Schwarzburg (stefan-schwarzburg) wrote :

Thank you for using qreator and reporting that issue!

Currently we only target Ubuntu, but support for other distributions is planned. It seems that the problem you are seeing is not related to Qreator itself, but to the software-center python package on Linux Mint (which you are using, right?)

In future versions of Qreator, we will disable the Software-Center QR code type for non-Ubuntu distributions, and then this behaviour should disappear.

Changed in qreator:
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
kazersozet (kazersozet) wrote :

I installed qreator with the PPA and not with the software center. I have wait the version for my distribution.

Thanks for our response.

David Planella (dpm)
Changed in qreator:
status: Incomplete → Triaged
importance: Low → Wishlist
David Planella (dpm)
Changed in qreator:
milestone: none → 13.05.4
David Planella (dpm)
Changed in qreator:
assignee: nobody → Schwarzburg (stefan-schwarzburg)
status: Triaged → Fix Committed
David Planella (dpm)
Changed in qreator:
milestone: 13.10.1 → 16.06.1
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.