Errno 22

General support for problems installing or using Deluge
Post Reply
scott
New User
New User
Posts: 4
Joined: Sat Feb 23, 2008 1:08 am

Errno 22

Post by scott »

Running on OSX. Deluge has run fine for a few days, but when I went to restart it, it wouldn't start and throws this error in X11

Code: Select all

 /opt/local/bin/deluge
no existing Deluge session
Starting new Deluge session...
Traceback (most recent call last):
  File "/opt/local/bin/deluge", line 145, in <module>
    start_deluge()
  File "/opt/local/bin/deluge", line 127, in start_deluge
    upgrade_old_persistent_state()
  File "/opt/local/bin/deluge", line 83, in upgrade_old_persistent_state
    pstate_data = pstate_fd.read()
IOError: [Errno 22] Invalid argument
Still getting this error after deleting and recompiling.
any ideas?

edit: After restarting I get a different error now.

Code: Select all

 /opt/local/bin/deluge
no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
Applying preferences
Pickling state...
Scanning plugin dir /opt/local/share/deluge/plugins
Traceback (most recent call last):
  File "/opt/local/bin/deluge", line 145, in <module>
    start_deluge()
  File "/opt/local/bin/deluge", line 128, in start_deluge
    interface = deluge.interface.DelugeGTK()
  File "/opt/local/lib/python2.5/site-packages/deluge/interface.py", line 60, in
 __init__
    self.plugins.scan_for_plugins()
  File "/opt/local/lib/python2.5/site-packages/deluge/plugins.py", line 61, in s
can_for_plugins
    mod = __import__(modname, globals(), locals(), [''])
  File "/opt/local/share/deluge/plugins/BlocklistImport/__init__.py", line 34, i
n <module>
    from peerguardian import PGReader, PGException
  File "/opt/local/share/deluge/plugins/BlocklistImport/peerguardian.py", line 8
, in <module>
    import gzip, socket
  File "/opt/local/lib/python2.5/gzip.py", line 9, in <module>
    import zlib
ImportError: No module named zlib
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

Re: Errno 22

Post by mvoncken »

Install python-zlib or delete the config-files to disable the blocklist plugin.
dev: webui, core, labels | irc:vonck7 |
scott
New User
New User
Posts: 4
Joined: Sat Feb 23, 2008 1:08 am

Re: Errno 22

Post by scott »

Couldn't tell you why, but I haven't changed anything and now it starts up without any problems.
Post Reply