Custom Query (2449 matches)


Show under each result:

Results (295 - 297 of 2449)

Ticket Resolution Summary Owner Reporter
#2889 Fixed "Too many files open" error and losing all torrents MaycneSonahoz


A few weeks ago i got an important issue: Deluge lost all my torrents. More precisely, the torrent list got empty, though the files and torrent files were still there.

After a small investigation, i found out that the ~/.conf/deluge/state/torrents.state and torrents.state.bak files had been deleted. After opening Deluge again, from the terminal, after some time i got errors of the following kind:

[ERROR ] 19:43:26 torrentmanager:833 Unable to save /home/maycne/.config/deluge/state/torrents.fastresume: [Errno 24] Trop de fichiers ouverts: '/home/maycne/.config/deluge/state/torrents.fastresume.tmp'
[ERROR ] 19:43:32 core:248 There was an error adding the torrent file ed965dd1d26331357302f877482526e90c0d0515.torrent
[ERROR ] 19:43:32 core:249 local variable 'ex' referenced before assignment
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/deluge/core/", line 246, in add_torrent_file
File "/usr/lib/python2.7/site-packages/deluge/core/", line 534, in add
File "/usr/lib/python2.7/site-packages/deluge/core/", line 744, in save_state
UnboundLocalError: local variable 'ex' referenced before assignment
[ERROR ] 19:43:33 torrentmanager:833 Unable to save /home/maycne/.config/deluge/state/torrents.fastresume: [Errno 24] Trop de fichiers ouverts: '/home/maycne/.config/deluge/state/torrents.fastresume.tmp'
[ERROR ] 19:43:46 torrentmanager:734 Unable to backup /home/maycne/.config/deluge/state/torrents.state to /home/maycne/.config/deluge/state/torrents.state.bak: [Errno 2] Aucun fichier ou dossier de ce type

For those who don't read French, "Trop de fichiers ouverts" means "too many files open".

I saw some posts about this error here, either with no solution, or with a solution of "don't use so many torrents" or "increase the limit of files your system can open". Those were also the solutions suggested on Manjaro's forum at first.

But after digging a bit, i found that Deluge opens a lot more files than any other programs, including other torrent clients. Long story short, i found and used the following command in order to look how many files were open.

lsof | awk '{ print $2 " " $1; }' | sort -rn | uniq -c | sort -rn | head -20

Using this with Deluge and Qbittorrent open, both with the exact same list of 83 torrents (all completed), i saw that after around 45min of activity, Deluge had 7 times more open files than Qbittorrent (14880 and 2037 respectively), which might not be normal.

I found this issue with:

I might have had this issue for longer, but i only found it after losing the torrent list.

You can find more details on Manjaro's forum ( and i'll gladly provide more intel if needed.


#2888 Fixed Shift click not working to select individual files folha

I'm using both Deluge 1.3.11 and 1.3.10, and neither of them can shift click and select files from a torrent. It used to work on another instalation of 1.3.10, but upon reinstalling it stopped.

I'm using Chrome Version 53.0.2785.92 on Linux Mint 17.2, but it happens on Windows 8.1 with Firefox Developer version 50.0a2 (2016-09-11)

#2887 WorksForMe Daemon not starting davide

Probably not a bug but a problem of my platform, but not sure.
Until yesterday I ran deluged (only daemon) on a Raspberry with Raspbian (a Debian distribution) and it worked perfectly.
Then, i reinstalled a clean image of the operating system, runned those commands to be up to date

sudo apt-get update
sudo apt-get upgrade

installed the daemon and the console with

sudo apt-get install deluged deluge-console

but when i try to start the deamon with the command


I get this strange error, which i have never seen before

Traceback (most recent call last):
  File "/usr/bin/deluged", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/opt/python/lib/python2.7/site-packages/pkg_resources/", line 2976, in <module>
  File "/opt/python/lib/python2.7/site-packages/pkg_resources/", line 2962, in _call_aside
    f(*args, **kwargs)
  File "/opt/python/lib/python2.7/site-packages/pkg_resources/", line 2989, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/opt/python/lib/python2.7/site-packages/pkg_resources/", line 660, in _build_master
  File "/opt/python/lib/python2.7/site-packages/pkg_resources/", line 968, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/opt/python/lib/python2.7/site-packages/pkg_resources/", line 854, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'deluge==1.3.10' distribution was not found and is required by the application

My python version is

Python 2.7.12

Please help, I need Deluge :) Thank to all the developers, this is a great project!

Note: See TracQuery for help on using queries.