Deluge 2.0 Beta 1

Suggestions and discussion of future versions
Locked
jeps
Leecher
Leecher
Posts: 81
Joined: Wed May 18, 2011 4:32 pm

Re: Deluge 2.0 Beta 1

Post by jeps »

Here is what I did.

- Found and loaded a Docker with Ubunu (a version that is supported by the betas, I would suggest 18.04 or 18.10)
- Add the Dev reposistory
- Install deluged
that should basically do it.
masterok
Member
Member
Posts: 12
Joined: Fri Dec 10, 2010 6:27 pm
Location: Ukraine

Re: Deluge 2.0 Beta 1

Post by masterok »

The latest version does not add new torrents. When you add a new torrent file, a window opens, presses add, the window disappears, but there is no torrent in the list of torrents.

Also, the settings are not applied and do not save the height of the bottom panel after closing.


An important addition. A new torrent is not added if its name is written in Cyrillic. At first, I thought that torrents that had been previously removed were not added, that is, when the outdated torrent file was deleted without deleting files and added a new one.
The interesting fact is that the torrent seems to be added, although it is not on the list, but if you want to add a torrent file with a normal name, then it will have the serial number "2".
masterok
Member
Member
Posts: 12
Joined: Fri Dec 10, 2010 6:27 pm
Location: Ukraine

Re: Deluge 2.0 Beta 1

Post by masterok »

Code: Select all

~$ deluge --version
deluge 2.0.0.dev7385
libtorrent: 1.1.10.0
Python: 2.7.15rc1
OS: Linux Ubuntu 18.04 bionic

Code: Select all

~$ deluge

(deluge:7031): Gtk-CRITICAL **: 22:13:14.764: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(deluge:7031): Gtk-CRITICAL **: 22:13:14.764: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(deluge:7031): Gtk-CRITICAL **: 22:13:14.766: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
/usr/lib/python2.7/dist-packages/deluge/config.py:187: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  if self.__config[key] == value:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/ui/gtk3/addtorrentdialog.py", line 704, in on_button_file_clicked
    self.config['default_load_path'] = chooser.get_current_folder()
  File "/usr/lib/python2.7/dist-packages/deluge/config.py", line 156, in __setitem__
    return self.set_item(key, value)
  File "/usr/lib/python2.7/dist-packages/deluge/config.py", line 198, in set_item
    value = oldtype(value)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 15: ordinal not in range(128)
Now a new torrent is not added at all. A window with a new torrent does not respond to the "add" button.

When you enable the auto-add plugin, torrents are added to the list and the download starts.
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Deluge 2.0 Beta 1

Post by Cas »

Thanks for update, there are a few issue with unicode on Python2 and Gtk3 that need attention
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Deluge 2.0 Beta 1

Post by Cas »

@masterok These should be resolved with latest updates
masterok
Member
Member
Posts: 12
Joined: Fri Dec 10, 2010 6:27 pm
Location: Ukraine

Re: Deluge 2.0 Beta 1

Post by masterok »

After the update, the program starts, but error windows appear.
Begin asking which mode to run. If you select "Standalone" mode, then the program closes. If you select the "User" mode, then it prompts you to start a daemon somehow :) but will not start. If the window is closed then the program will be launched but there will not be my downloads and plugins.

Code: Select all

~$ deluge --version
deluge 2.0.0.dev7385
libtorrent: 1.1.10.0
Python: 3.6.6
OS: Linux Ubuntu 18.04 bionic

Code: Select all

~$ deluge

(deluge:908): Gtk-CRITICAL **: 20:40:13.375: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(deluge:908): Gtk-CRITICAL **: 20:40:13.376: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(deluge:908): Gtk-CRITICAL **: 20:40:13.379: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScro
llbar

Code: Select all

~$ deluge

(deluge:2300): Gtk-CRITICAL **: 20:58:35.916: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(deluge:2300): Gtk-CRITICAL **: 20:58:35.916: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(deluge:2300): Gtk-CRITICAL **: 20:58:35.918: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
20:58:40.387 [ERROR   ][deluge.ui.client                  :0   ] Deluge cannot find the `deluged` executable, check that the deluged package is installed, or added to your PATH.
[1]+  Вбито              deluge

Code: Select all

~$ deluge

(deluge:2510): Gtk-CRITICAL **: 21:00:07.946: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(deluge:2510): Gtk-CRITICAL **: 21:00:07.946: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(deluge:2510): Gtk-CRITICAL **: 21:00:07.948: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(deluge:2510): Gtk-CRITICAL **: 21:00:19.204: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(deluge:2510): Gtk-CRITICAL **: 21:00:19.204: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(deluge:2510): Gtk-CRITICAL **: 21:00:19.206: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
21:00:19.499 [ERROR   ][deluge.ui.gtk3.gtkui              :0   ] No module named 'deluge.core'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/deluge/ui/gtk3/gtkui.py", line 319, in _on_reactor_start
    client.start_standalone()
  File "/usr/lib/python3/dist-packages/deluge/ui/client.py", line 640, in start_standalone
    self._daemon_proxy = DaemonStandaloneProxy(self.__event_handlers)
  File "/usr/lib/python3/dist-packages/deluge/ui/client.py", line 461, in __init__
    from deluge.core import daemon
ModuleNotFoundError: No module named 'deluge.core'
Attachments
1.png
1.png (29.5 KiB) Viewed 6857 times
2.png
2.png (40.76 KiB) Viewed 6857 times
3.png
3.png (50.77 KiB) Viewed 6857 times
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Deluge 2.0 Beta 1

Post by Cas »

Hmm very weird, there seems to be some problem with Python 3 finding all the deluge modules and I'm not sure the solution as I cannot replicate at the moment
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Deluge 2.0 Beta 1

Post by Cas »

It definitely seems to be a namespace issue so try this workaround for now:

Code: Select all

wget https://raw.githubusercontent.com/deluge-torrent/deluge/develop/deluge/plugins/__init__.py
sudo cp __init__.py /usr/lib/python3/dist-packages/deluge/
sudo cp __init__.py /usr/lib/python3/dist-packages/deluge/plugins/
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Deluge 2.0 Beta 1

Post by Cas »

Pushed update to PPA
Spadge
Seeder
Seeder
Posts: 111
Joined: Sat Dec 13, 2008 4:17 pm

Re: Deluge 2.0 Beta 1

Post by Spadge »

I've updated to new version, and it's told me it's installing loads of python v3 modules, which is great.

Code: Select all

Client: 2.0.0.dev7385
Server: 2.0.0.dev7385
Now none of my plugins are enableable in the gui, and I cannot find python3 eggs for them.

Do I have to manually install them, and if so can I download eggs from anywhere?

Thanks
Locked