Deluge won't start...
Re: Deluge won't start...
possibly. maybe try reinstalling setuptools?
Re: Deluge won't start...
I tried. Even tried downgrading setuptools, but still the same error message.
Re: Deluge won't start...
I assume you're using the setuptools package from your distro? If so, it may be installing to the python 2.5 site-packages folder, not the 2.6 one.
You may have better luck by running ez_setup.py in the source folder of deluge. Make sure you run this as root and it will install setuptools for you.
You may have better luck by running ez_setup.py in the source folder of deluge. Make sure you run this as root and it will install setuptools for you.
Re: Deluge won't start...
Code: Select all
root@vostro:/tmp/deluge-1.1.9# python ez_setup.py
Downloading http://cheeseshop.python.org/packages/2.6/s/setuptools/setuptools-0.6c8-py2.6.egg
Traceback (most recent call last):
File "ez_setup.py", line 205, in <module>
main(sys.argv[1:])
File "ez_setup.py", line 137, in main
egg = download_setuptools(version, delay=0)
File "ez_setup.py", line 119, in download_setuptools
src = urllib2.urlopen(url)
File "/usr/lib/python2.6/urllib2.py", line 124, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.6/urllib2.py", line 389, in open
response = meth(req, response)
File "/usr/lib/python2.6/urllib2.py", line 502, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.6/urllib2.py", line 421, in error
result = self._call_chain(*args)
File "/usr/lib/python2.6/urllib2.py", line 361, in _call_chain
result = func(*args)
File "/usr/lib/python2.6/urllib2.py", line 597, in http_error_302
return self.parent.open(new)
File "/usr/lib/python2.6/urllib2.py", line 389, in open
response = meth(req, response)
File "/usr/lib/python2.6/urllib2.py", line 502, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.6/urllib2.py", line 427, in error
return self._call_chain(*args)
File "/usr/lib/python2.6/urllib2.py", line 361, in _call_chain
result = func(*args)
File "/usr/lib/python2.6/urllib2.py", line 510, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found
Re: Deluge won't start...
It doesn't look like c8 is available, edit the ez_setup.py script and change DEFAULT_VERSION to "0.6c9".kb2502 wrote:There's a problem with downloading. My connection is just fine, but this server is not responding...Code: Select all
root@vostro:/tmp/deluge-1.1.9# python ez_setup.py Downloading http://cheeseshop.python.org/packages/2.6/s/setuptools/setuptools-0.6c8-py2.6.egg Traceback (most recent call last): File "ez_setup.py", line 205, in <module> main(sys.argv[1:]) File "ez_setup.py", line 137, in main egg = download_setuptools(version, delay=0) File "ez_setup.py", line 119, in download_setuptools src = urllib2.urlopen(url) File "/usr/lib/python2.6/urllib2.py", line 124, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.6/urllib2.py", line 389, in open response = meth(req, response) File "/usr/lib/python2.6/urllib2.py", line 502, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.6/urllib2.py", line 421, in error result = self._call_chain(*args) File "/usr/lib/python2.6/urllib2.py", line 361, in _call_chain result = func(*args) File "/usr/lib/python2.6/urllib2.py", line 597, in http_error_302 return self.parent.open(new) File "/usr/lib/python2.6/urllib2.py", line 389, in open response = meth(req, response) File "/usr/lib/python2.6/urllib2.py", line 502, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.6/urllib2.py", line 427, in error return self._call_chain(*args) File "/usr/lib/python2.6/urllib2.py", line 361, in _call_chain result = func(*args) File "/usr/lib/python2.6/urllib2.py", line 510, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 404: Not Found
That should fix it.
You could also download the latest ez_setup.py script from here: http://peak.telecommunity.com/dist/ez_setup.py
I have just updated our svn repo with this one.
Re: Deluge won't start...
I did like you said:
After that I tried to start deluge as a normal user, and that's what I got:
Code: Select all
oot@vostro:/tmp/deluge-1.1.9# python ez_setup.py
Downloading http://cheeseshop.python.org/packages/2.6/s/setuptools/setuptools-0.6c9-py2.6.egg
ez_setup.py:30: DeprecationWarning: the md5 module is deprecated; use hashlib instead
from md5 import md5
/usr/lib/python2.6/site-packages/Pyrex/Compiler/Errors.py:17: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
self.message = message
Processing setuptools-0.6c9-py2.6.egg
Copying setuptools-0.6c9-py2.6.egg to /usr/lib/python2.6/site-packages
Adding setuptools 0.6c9 to easy-install.pth file
Installing easy_install script to /usr/bin
Installing easy_install-2.6 script to /usr/bin
Installed /usr/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg
Processing dependencies for setuptools==0.6c9
Finished processing dependencies for setuptools==0.6c9
Code: Select all
bash-3.1$ deluge
Traceback (most recent call last):
File "/usr/bin/deluge", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 2562, in <module>
File "/usr/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 626, in require
File "/usr/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 524, in resolve
pkg_resources.DistributionNotFound: deluge==1.1.9
Re: Deluge won't start...
Did you reinstall with the new setuptools?kb2502 wrote:I did like you said:
After that I tried to start deluge as a normal user, and that's what I got:Code: Select all
oot@vostro:/tmp/deluge-1.1.9# python ez_setup.py Downloading http://cheeseshop.python.org/packages/2.6/s/setuptools/setuptools-0.6c9-py2.6.egg ez_setup.py:30: DeprecationWarning: the md5 module is deprecated; use hashlib instead from md5 import md5 /usr/lib/python2.6/site-packages/Pyrex/Compiler/Errors.py:17: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 self.message = message Processing setuptools-0.6c9-py2.6.egg Copying setuptools-0.6c9-py2.6.egg to /usr/lib/python2.6/site-packages Adding setuptools 0.6c9 to easy-install.pth file Installing easy_install script to /usr/bin Installing easy_install-2.6 script to /usr/bin Installed /usr/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg Processing dependencies for setuptools==0.6c9 Finished processing dependencies for setuptools==0.6c9
Code: Select all
bash-3.1$ deluge Traceback (most recent call last): File "/usr/bin/deluge", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 2562, in <module> File "/usr/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 626, in require File "/usr/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 524, in resolve pkg_resources.DistributionNotFound: deluge==1.1.9
Re: Deluge won't start...
Yes, that's first what I did after installing setuptools with your method...
Re: Deluge won't start...
The only thing I could think of, would be that your installation of Deluge didn't work properly, or your PYTHONPATH is screwy.. Maybe only for your regular user.kb2502 wrote:Yes, that's first what I did after installing setuptools with your method...
Re: Deluge won't start...
I tried to run deluge as superuser (root), but I've got thesame error. I also tried to install older version (deluge-1.1.7), but still no effect...