Fedora Linux Support Community & Resources Center
  #1  
Old 18th April 2010, 09:25 AM
daozor Offline
Registered User
 
Join Date: Apr 2010
Posts: 4
linuxfedorafirefox
No module named hashlib in Deluge after yum update python

hi!
fedora 12 + last python-twisted (yum: Updated: python-twisted-core-8.2.0-4.fc12.x86_64) and deluge torrent cant' run:

HTML Code:
$  deluged -d
[ERROR   ] 12:21:49 main:216 No module named hashlib
Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/deluge-1.2.3-py2.6-linux-x86_64.egg/deluge/main.py", line 208, in start_daemon
    from deluge.core.daemon import Daemon
  File "/usr/lib64/python2.6/site-packages/deluge-1.2.3-py2.6-linux-x86_64.egg/deluge/core/daemon.py", line 45, in <module>
    from deluge.core.rpcserver import RPCServer, export
  File "/usr/lib64/python2.6/site-packages/deluge-1.2.3-py2.6-linux-x86_64.egg/deluge/core/rpcserver.py", line 45, in <module>
    from twisted.internet import ssl, reactor, defer
  File "/usr/lib64/python2.6/site-packages/twisted/internet/ssl.py", line 191, in <module>
    from twisted.internet._sslverify import DistinguishedName, DN, Certificate
  File "/usr/lib64/python2.6/site-packages/twisted/internet/_sslverify.py", line 9, in <module>
    from twisted.python.hashlib import md5
ImportError: No module named hashlib
see http://forum.deluge-torrent.org/view...hp?f=7&t=31125

Last edited by daozor; 18th April 2010 at 09:48 AM.
Reply With Quote
  #2  
Old 18th April 2010, 10:11 AM
leigh123linux
Guest
 
Posts: n/a
linuxfedorafirefox
Re: No module named hashlib in Deluge after yum update python

Quote:
Originally Posted by daozor View Post
hi!
fedora 12 + last python-twisted (yum: Updated: python-twisted-core-8.2.0-4.fc12.x86_64) and deluge torrent cant' run:

HTML Code:
$  deluged -d
[ERROR   ] 12:21:49 main:216 No module named hashlib
Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/deluge-1.2.3-py2.6-linux-x86_64.egg/deluge/main.py", line 208, in start_daemon
    from deluge.core.daemon import Daemon
  File "/usr/lib64/python2.6/site-packages/deluge-1.2.3-py2.6-linux-x86_64.egg/deluge/core/daemon.py", line 45, in <module>
    from deluge.core.rpcserver import RPCServer, export
  File "/usr/lib64/python2.6/site-packages/deluge-1.2.3-py2.6-linux-x86_64.egg/deluge/core/rpcserver.py", line 45, in <module>
    from twisted.internet import ssl, reactor, defer
  File "/usr/lib64/python2.6/site-packages/twisted/internet/ssl.py", line 191, in <module>
    from twisted.internet._sslverify import DistinguishedName, DN, Certificate
  File "/usr/lib64/python2.6/site-packages/twisted/internet/_sslverify.py", line 9, in <module>
    from twisted.python.hashlib import md5
ImportError: No module named hashlib
see http://forum.deluge-torrent.org/view...hp?f=7&t=31125

Post

Code:
rpm -q python-crypto
Edit: here's the bugreport

https://bugzilla.redhat.com/show_bug.cgi?id=583304
Reply With Quote
  #3  
Old 18th April 2010, 10:32 AM
daozor Offline
Registered User
 
Join Date: Apr 2010
Posts: 4
linuxfedorafirefox
Re: No module named hashlib in Deluge after yum update python

Code:
rpm -q python-crypto
python-crypto-2.0.1-19.x86_64
Reply With Quote
  #4  
Old 18th April 2010, 10:38 AM
leigh123linux
Guest
 
Posts: n/a
linuxfedorafirefox
Re: No module named hashlib in Deluge after yum update python

A quick fix


Code:
su
rpm -Uvh http://kojipkgs.fedoraproject.org/packages/python-twisted-core/8.2.0/3.fc12/x86_64/python-twisted-core-8.2.0-3.fc12.x86_64.rpm --force
Reply With Quote
  #5  
Old 18th April 2010, 11:12 AM
daozor Offline
Registered User
 
Join Date: Apr 2010
Posts: 4
linuxfedorafirefox
Re: No module named hashlib in Deluge after yum update python

10x, leigh123linux!
Reply With Quote
  #6  
Old 21st April 2010, 05:16 PM
daozor Offline
Registered User
 
Join Date: Apr 2010
Posts: 4
linuxfedorafirefox
Re: No module named hashlib in Deluge after yum update python

fixed in python-twisted-core-8.2.0-5.fc12.x86_64.rpm
Reply With Quote
Reply

Tags
deluge , hashlib , module , named , python , update , yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
python 2.4 - 'No module named _tkinter' jjanderson5 Using Fedora 7 18th May 2006 05:57 PM
No module named gtk BlueH2O Using Fedora 17 22nd April 2006 10:49 PM
No module named rpm Zuess Using Fedora 3 11th April 2006 08:44 PM


Current GMT-time: 22:35 (Monday, 23-10-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat