Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#22082 - [python-chardet] Deluge ImportError

Attached to Project: Arch Linux
Opened by Paul Dicker (pitdicker) - Monday, 13 December 2010, 12:13 GMT
Last edited by Ionut Biru (wonder) - Monday, 13 December 2010, 17:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Since the update of python-chardet from 2.0.1-2 to 2.0.1-3 deluge won't start anymore. When reverting to the previous version of the package it works as normal.

Package versions:
python-chardet 2.0.1-3
python2-chardet 2.0.1-3
deluge 1.3.1-2

Output when starting Deluge:
$ deluge
Traceback (most recent call last):
File "/usr/bin/deluge", line 9, in <module>
load_entry_point('deluge==1.3.1', 'gui_scripts', 'deluge')()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 305, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2244, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1954, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/deluge/main.py", line 47, in <module>
import deluge.common
File "/usr/lib/python2.7/site-packages/deluge/common.py", line 44, in <module>
import chardet
ImportError: No module named chardet

This is my first bug report, let me know if more info is required
This task depends upon

Closed by  Ionut Biru (wonder)
Monday, 13 December 2010, 17:10 GMT
Reason for closing:  Not a bug
Comment by Ionut Biru (wonder) - Monday, 13 December 2010, 13:04 GMT
to be honest i don't know how can you manage to downgrade to previous version without ANY file conflicts.

deluge deluge 1.3.1-2 depends on python2-chardet.

pacman -R python-chardet && pacman -S python2-chardet
Comment by Paul Dicker (pitdicker) - Monday, 13 December 2010, 16:21 GMT
Thanks Ionut!
I am not sure what happened, but after running your command I can no longer reproduce it.

Loading...