Results 1 to 9 of 9

Thread: Deluge Bittorrent client won't start?

  1. #1
    Join Date
    Jun 2009
    Location
    Seattle, WA
    Beans
    41
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Angry Deluge Bittorrent client won't start?

    I don't know what exactly I did to wreck the functionality but something did Deluge in. I've purged the configuration files and libraries and reinstalled them three times over and every time in terminal that I start it using deluge-gtk I get the following output:

    Code:
    ryan@ryan-PC-Ubuntu:~$ deluge-gtk
    Traceback (most recent call last):
      File "/usr/bin/deluge-gtk", line 9, in <module>
        load_entry_point('deluge==1.2.2', 'console_scripts', 'deluge-gtk')()
      File "/usr/lib/pymodules/python2.6/deluge/ui/gtkui/gtkui.py", line 107, in start
        Gtk().start()
      File "/usr/lib/pymodules/python2.6/deluge/ui/gtkui/gtkui.py", line 104, in start
        GtkUI(self.args)
      File "/usr/lib/pymodules/python2.6/deluge/ui/gtkui/gtkui.py", line 216, in __init__
        self.torrentdetails = TorrentDetails()
      File "/usr/lib/pymodules/python2.6/deluge/ui/gtkui/torrentdetails.py", line 116, in __init__
        state = self.load_state()
      File "/usr/lib/pymodules/python2.6/deluge/ui/gtkui/torrentdetails.py", line 432, in load_state
        state = cPickle.load(state_file)
    cPickle.UnpicklingError: invalid load key, '�'.
    ryan@ryan-PC-Ubuntu:~$
    I can't seem to pinpoint whats causing all of this

  2. #2
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: Deluge Bittorrent client won't start?

    I think I would run a purge again and then add the ppa and see if that doesn't work.
    https://launchpad.net/~deluge-team/+archive/ppa

  3. #3
    Join Date
    Jun 2009
    Location
    Seattle, WA
    Beans
    41
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Deluge Bittorrent client won't start?

    No dice.

    I get this when using deluge command to start:

    Code:
    ryan@ryan-PC-Ubuntu:~$ deluge
    Traceback (most recent call last):
      File "/usr/bin/deluge", line 9, in <module>
        load_entry_point('deluge==1.2.3', 'console_scripts', 'deluge')()
      File "/usr/lib/pymodules/python2.6/deluge/main.py", line 121, in start_ui
        UI(options, args, options.args)
      File "/usr/lib/pymodules/python2.6/deluge/ui/ui.py", line 128, in __init__
        ui = GtkUI(args)
      File "/usr/lib/pymodules/python2.6/deluge/ui/gtkui/gtkui.py", line 216, in __init__
        self.torrentdetails = TorrentDetails()
      File "/usr/lib/pymodules/python2.6/deluge/ui/gtkui/torrentdetails.py", line 116, in __init__
        state = self.load_state()
      File "/usr/lib/pymodules/python2.6/deluge/ui/gtkui/torrentdetails.py", line 432, in load_state
        state = cPickle.load(state_file)
    cPickle.UnpicklingError: invalid load key, '�'.

  4. #4
    Join Date
    May 2009
    Location
    FI
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Deluge Bittorrent client won't start?

    From error message I think state file is corrupted. So move all *.state files from ~/.config/deluge and try again.
    "Trying is the first step towards failure"
    - Homer Simpson

  5. #5
    Join Date
    Jun 2009
    Location
    Seattle, WA
    Beans
    41
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Deluge Bittorrent client won't start?

    I'm sorry, semi-newb here, can you elaborate a bit?

  6. #6
    Join Date
    May 2009
    Location
    FI
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Deluge Bittorrent client won't start?

    way 1:
    1) open home folder.
    2) press ctrl+l (it is L ).
    3) write: ~/.config/deluge to location bar.
    4) move all .state files, should be 6 of them, to your desktop.
    5) start deluge.

    way 2:
    1) open terminal
    2) write (or copy & paste): mv ~/.config/deluge/*.state ~/Desktop/
    3) start deluge.

    edit:
    To undo if won't work:
    1) open terminal
    2) write: mv ~/Desktop/*.state ~/.config/deluge/
    Last edited by 8Kuula; May 31st, 2010 at 09:42 AM. Reason: undo cmd
    "Trying is the first step towards failure"
    - Homer Simpson

  7. #7
    Join Date
    Aug 2006
    Beans
    616

    Re: Deluge Bittorrent client won't start?

    Navigate to ~/.config/deluge (~/ is your /home/user folder, .config is a Hidden folder - If using Nautilus then right click in your /home/user folder and check "Show hidden files")
    Create a folder with any name (I used "broken")
    Move (not copy) any files ending in .state to the new folder
    Restart Deluge
    Ryzen 7 2700X / Corsair H115i / Asus B350M TUF Gaming / 32GB 3200MHz C14 Team Group Dark Pro/
    Asus Strix 1080 Advanced / 500GB Samsung 870 Evo / 1TB 2.5" SSD / BeQuiet! 1kW /
    Thermaltake Core V21 / Acer Predator X34A / Win10 / Kubuntu 21.04

  8. #8
    Join Date
    Jun 2009
    Location
    Seattle, WA
    Beans
    41
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Talking Re: Deluge Bittorrent client won't start?

    Moving the 6 in the config folder worked! There was one state file left in the ~/.config/deluge/state folder but that one isn't causing any startup issues. Thanks for your help, deluge is working now

  9. #9
    Join Date
    Aug 2007
    Location
    Tel Aviv, Israel
    Beans
    19
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Deluge Bittorrent client won't start?

    Encountered this problem recently, and this thread solved it.
    Thanks!

    -Ethan

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •