[SOLVED] Queue disappears after relaunch - ver. 1.3.15

Support for Deluge on Apple Mac OS
cappy
New User
New User
Posts: 9
Joined: Sun Sep 10, 2017 7:25 am
OS or Distro: Mac OSX

[SOLVED] Queue disappears after relaunch - ver. 1.3.15

Postby cappy » Sun Sep 10, 2017 7:34 am

Whenever I quit deluge and start the app again my queue is completely gone. Running latest Mac OSX with deluge 1.3.15.

I had ~30 torrents in various states, I paused the session, quit app, opened app, queue gone.

Some plugins did not seem to stay active after app was re-opened. I concentrated on enabling desired plugins and reopened app several times before plugins desired stayed enabled. However 3rd party plugins did show up since the 1st relaunch of the app.

I have all my .torrent files archived. Is my only course of action to reload them, force a re-check and hope that the queue doesn't disappear again? What might I do to rectify this? :o :o :o

I used deluge.app from downloads section, not the mac ports. I tried looking the app contents and various Application Support folders to see if I could find where deluge saves stuff like the queue state etc. but I was unable to find it before I posted.
Last edited by cappy on Mon Sep 11, 2017 1:27 am, edited 1 time in total.

cappy
New User
New User
Posts: 9
Joined: Sun Sep 10, 2017 7:25 am
OS or Distro: Mac OSX

Re: Queue disappears after relaunch - ver. 1.3.15

Postby cappy » Sun Sep 10, 2017 11:01 pm

I did some reading online - Troubleshooting/FAQ webpages.

I ran deluge with a log file. I see that deluge successfully loads the state file & fastresume. When I check the directories that the files (state & fastresume) are in there are .torrent files there. When 'cat' each of the files it looks like info is in there that shows I had torrents running. However my deluge graphical window shows 0 torrents or activity.

cappy
New User
New User
Posts: 9
Joined: Sun Sep 10, 2017 7:25 am
OS or Distro: Mac OSX

Re: Queue disappears after relaunch - ver. 1.3.15

Postby cappy » Sun Sep 10, 2017 11:04 pm

Contents of my torrent.state file:

Code: Select all

(ideluge.core.torrentmanager
TorrentManagerState
p1
(dp2
S'torrents'
p3
(lp4
sb.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~

cappy
New User
New User
Posts: 9
Joined: Sun Sep 10, 2017 7:25 am
OS or Distro: Mac OSX

Re: Queue disappears after relaunch - ver. 1.3.15

Postby cappy » Sun Sep 10, 2017 11:15 pm

Possibly my state files are corrupt? Best way to start from scratch?

cappy
New User
New User
Posts: 9
Joined: Sun Sep 10, 2017 7:25 am
OS or Distro: Mac OSX

Re: Queue disappears after relaunch - ver. 1.3.15

Postby cappy » Sun Sep 10, 2017 11:34 pm

I removed everything from my State folder and copied the contents to an archive folder.

I ran deluge again with logging. Contents of my log file upon fresh startup:

Code: Select all

[INFO    ] 19:27:46 ui:124 Deluge ui 1.3.15
[INFO    ] 19:27:46 ui:127 Starting gtk ui..
[WARNING ] 19:27:46 gtkui:207 Unable to register a 'die' handler with the GNOME session manager: No module named gnome.ui
[INFO    ] 19:27:47 daemon:127 Deluge daemon 1.3.15
[INFO    ] 19:27:47 core:87 Starting libtorrent 1.0.9.0 session..
[WARNING ] 19:27:47 preferencesmanager:530 Unable to find GeoIP database file!
[INFO    ] 19:27:47 server:666 Starting server in PID 33508.
[INFO    ] 19:27:47 server:679 Serving on 0.0.0.0:8112 view at http://0.0.0.0:8112
[INFO    ] 19:27:47 pluginmanagerbase:158 Plugin WebUi enabled..
[INFO    ] 19:27:47 pluginmanagerbase:158 Plugin WebUi enabled..
[INFO    ] 19:27:47 pluginmanager:108 'WebUi' plugin contains no WebUI code, ignoring WebUI enable call.
[INFO    ] 19:27:47 core:97 *** Start Label plugin ***
[INFO    ] 19:27:47 pluginmanagerbase:158 Plugin Label enabled..
[INFO    ] 19:27:47 pluginmanagerbase:158 Plugin Label enabled..
[INFO    ] 19:27:47 pluginmanagerbase:158 Plugin Label enabled..
[INFO    ] 19:27:47 pluginmanagerbase:158 Plugin Blocklist enabled..
[INFO    ] 19:27:47 pluginmanagerbase:158 Plugin Blocklist enabled..
[INFO    ] 19:27:47 pluginmanagerbase:158 Plugin Blocklist enabled..
[INFO    ] 19:27:47 pluginmanagerbase:158 Plugin AutoAdd enabled..
[INFO    ] 19:27:47 pluginmanagerbase:158 Plugin AutoAdd enabled..
[INFO    ] 19:27:47 pluginmanagerbase:158 Plugin AutoAdd enabled..
[INFO    ] 19:27:47 pluginmanagerbase:158 Plugin DefaultTrackers enabled..
[INFO    ] 19:27:47 pluginmanagerbase:158 Plugin DefaultTrackers enabled..
[INFO    ] 19:27:47 pluginmanagerbase:158 Plugin DefaultTrackers enabled..
[INFO    ] 19:27:47 torrentmanager:651 Successfully loaded state file: /Users/user/.config/deluge/state/torrents.state
[WARNING ] 19:27:47 pluginmanagerbase:134 Cannot enable already enabled plugin AutoAdd
[WARNING ] 19:27:47 pluginmanagerbase:134 Cannot enable already enabled plugin DefaultTrackers
[WARNING ] 19:27:47 pluginmanagerbase:134 Cannot enable already enabled plugin WebUi
[WARNING ] 19:27:47 pluginmanagerbase:134 Cannot enable already enabled plugin Blocklist
[WARNING ] 19:27:47 pluginmanagerbase:134 Cannot enable already enabled plugin Label


Not sure how to prevent plugins from trying to load multiple times. My torrent.state file contents look the same as stated in earlier post. fastresume file doesn't exist now. Obviously due to no torrents loaded.

cappy
New User
New User
Posts: 9
Joined: Sun Sep 10, 2017 7:25 am
OS or Distro: Mac OSX

Re: Queue disappears after relaunch - ver. 1.3.15

Postby cappy » Sun Sep 10, 2017 11:51 pm

I proceeded to add a small torrent and paused it right away and quit deluge then reopened it to have the torrent disappear again. Log file:

Code: Select all

[INFO    ] 19:31:16 torrentmanager:737 Saving the state at: /Users/user/.config/deluge/state/torrents.state
[INFO    ] 19:34:27 torrentmanager:737 Saving the state at: /Users/user/.config/deluge/state/torrents.state
[INFO    ] 19:37:56 torrentmanager:737 Saving the state at: /Users/user/.config/deluge/state/torrents.state
[INFO    ] 19:41:07 torrentmanager:737 Saving the state at: /Users/user/.config/deluge/state/torrents.state
[INFO    ] 19:41:59 torrentmanager:737 Saving the state at: /Users/user/.config/deluge/state/torrents.state
[INFO    ] 19:41:59 torrentmanager:540 Torrent Tor And The Dark Net - Learn To Avoid NSA Spying And Become Anonymous Online - Volume 1 (2016) (Pdf) Gooner added by user:
[WARNING ] 19:42:04 torrentmanager:777 Unable to load fastresume file: [Errno 2] No such file or directory: '/Users/user/.config/deluge/state/torrents.fastresume'
[WARNING ] 19:42:04 torrentmanager:777 Unable to load fastresume file: [Errno 2] No such file or directory: '/Users/user/.config/deluge/state/torrents.fastresume.bak'
[ERROR   ] 19:42:04 torrentmanager:824 Unable to backup /Users/user/.config/deluge/state/torrents.fastresume to /Users/user/.config/deluge/state/torrents.fastresume.bak: [Errno 2] No such file or directory
[INFO    ] 19:42:04 torrentmanager:826 Saving the fastresume at: /Users/user/.config/deluge/state/torrents.fastresume
[INFO    ] 19:42:12 torrentmanager:780 Successfully loaded fastresume file: /Users/user/.config/deluge/state/torrents.fastresume
[INFO    ] 19:42:12 torrentmanager:826 Saving the fastresume at: /Users/user/.config/deluge/state/torrents.fastresume
[INFO    ] 19:43:37 torrentmanager:780 Successfully loaded fastresume file: /Users/user/.config/deluge/state/torrents.fastresume
[INFO    ] 19:43:37 torrentmanager:826 Saving the fastresume at: /Users/user/.config/deluge/state/torrents.fastresume
[INFO    ] 19:44:44 ui:124 Deluge ui 1.3.15
[INFO    ] 19:44:44 ui:127 Starting gtk ui..
[WARNING ] 19:44:44 gtkui:207 Unable to register a 'die' handler with the GNOME session manager: No module named gnome.ui
[INFO    ] 19:44:45 daemon:127 Deluge daemon 1.3.15
[INFO    ] 19:44:45 core:87 Starting libtorrent 1.0.9.0 session..
[WARNING ] 19:44:45 preferencesmanager:530 Unable to find GeoIP database file!
[INFO    ] 19:44:45 server:666 Starting server in PID 34317.
[INFO    ] 19:44:45 server:679 Serving on 0.0.0.0:8112 view at http://0.0.0.0:8112
[INFO    ] 19:44:45 pluginmanagerbase:158 Plugin WebUi enabled..
[INFO    ] 19:44:45 pluginmanagerbase:158 Plugin WebUi enabled..
[INFO    ] 19:44:45 pluginmanager:108 'WebUi' plugin contains no WebUI code, ignoring WebUI enable call.
[INFO    ] 19:44:45 core:97 *** Start Label plugin ***
[INFO    ] 19:44:45 pluginmanagerbase:158 Plugin Label enabled..
[INFO    ] 19:44:45 pluginmanagerbase:158 Plugin Label enabled..
[INFO    ] 19:44:45 pluginmanagerbase:158 Plugin Label enabled..
[INFO    ] 19:44:45 pluginmanagerbase:158 Plugin Blocklist enabled..
[INFO    ] 19:44:45 pluginmanagerbase:158 Plugin Blocklist enabled..
[INFO    ] 19:44:45 pluginmanagerbase:158 Plugin Blocklist enabled..
[INFO    ] 19:44:45 pluginmanagerbase:158 Plugin AutoAdd enabled..
[INFO    ] 19:44:45 pluginmanagerbase:158 Plugin AutoAdd enabled..
[INFO    ] 19:44:45 pluginmanagerbase:158 Plugin AutoAdd enabled..
[INFO    ] 19:44:45 pluginmanagerbase:158 Plugin DefaultTrackers enabled..
[INFO    ] 19:44:45 pluginmanagerbase:158 Plugin DefaultTrackers enabled..
[INFO    ] 19:44:45 pluginmanagerbase:158 Plugin DefaultTrackers enabled..
[INFO    ] 19:44:45 torrentmanager:651 Successfully loaded state file: /Users/user/.config/deluge/state/torrents.state
[INFO    ] 19:44:45 torrentmanager:780 Successfully loaded fastresume file: /Users/user/.config/deluge/state/torrents.fastresume
[WARNING ] 19:44:45 pluginmanagerbase:134 Cannot enable already enabled plugin AutoAdd
[WARNING ] 19:44:45 pluginmanagerbase:134 Cannot enable already enabled plugin DefaultTrackers
[WARNING ] 19:44:45 pluginmanagerbase:134 Cannot enable already enabled plugin WebUi
[WARNING ] 19:44:45 pluginmanagerbase:134 Cannot enable already enabled plugin Blocklist
[WARNING ] 19:44:45 pluginmanagerbase:134 Cannot enable already enabled plugin Label
[INFO    ] 19:48:05 torrentmanager:737 Saving the state at: /Users/user/.config/deluge/state/torrents.state


Possibly a permissions issue? Not sure as files appeared to get created.

cappy
New User
New User
Posts: 9
Joined: Sun Sep 10, 2017 7:25 am
OS or Distro: Mac OSX

Re: Queue disappears after relaunch - ver. 1.3.15

Postby cappy » Mon Sep 11, 2017 12:32 am

I think part of my problem is I had a daemon running in the background with default settings and then I was using the client without connecting to the daemon. Still investigating further. I am now connected to the daemon and going through my settings which are currently all default.

cappy
New User
New User
Posts: 9
Joined: Sun Sep 10, 2017 7:25 am
OS or Distro: Mac OSX

Re: Queue disappears after relaunch - ver. 1.3.15

Postby cappy » Mon Sep 11, 2017 12:55 am

So I think my problem was I had a deluge daemon running in the background with default settings. Then I proceeded to run deluge client in classic mode. I then started downloading and when I quit I would lose my state as the daemon had control of the state files I am guessing. Now that I am running my deluge client in thin-client mode and connecting to the daemon prior to adding a torrent I can quit my client and open it again with my state intact. Now to see if I can figure out where the daemon keeps it state files to see if I can copy my 'in progress state to it to continue.


Return to “Mac OS”

Who is online

Users browsing this forum: No registered users and 1 guest