Module name conflict

Bug #1718031 reported by Juliette Monsel on 2017-09-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Qarte
Undecided
Unassigned

Bug Description

Archlinux
Qarte 3.11.0

When I try to launch qarte, I get the following error:

Traceback (most recent call last):
  File "/usr/bin/qarte", line 114, in <module>
    from core import Core
  File "/usr/share/qarte/core.py", line 25, in <module>
    from data import VERSION, VERSION_STR
ImportError: cannot import name 'VERSION'

I found out that I have a python module called data (https://pypi.python.org/pypi/data) installed and that it is loaded instead of qarte's data module. To fix this I had to replace line 112 in /usr/bin/qarte 'sys.path.append("/usr/share/qarte")' by 'sys.path.insert(0, "/usr/share/qarte")'.

VinsS (vincent-vandevyvre) wrote :

Fixed in revision 191

Thanks

Changed in qarte:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers