Deluge 2.0 Beta 1

Suggestions and discussion of future versions
Locked
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 »

extasy wrote:I'm seeing a problem with the 2.0 Beta..
Create a ticket please
Xemnas wrote:enable remote connection
you don't need to edit the file, you can use deluge-console, see thinclient wiki page. However it should not be too hard to implement on GTKUI.
daerlnaxe wrote:is there a feedback thread to post suggestions ?
For bugs please use the issue tracker and use milestone 2.0. Create a thread in development for anything else.
Xemnas
New User
New User
Posts: 7
Joined: Mon Oct 30, 2017 8:35 pm

Re: Deluge 2.0 Beta 1

Post by Xemnas »

Cas wrote:
Xemnas wrote:enable remote connection
you don't need to edit the file, you can use deluge-console, see thinclient wiki page. However it should not be too hard to implement on GTKUI.
From the wiki:
Add User to the authentication file

Create a Deluge user for clients/UIs to access the daemon by editing the authentication file, auth, located in the above config location.

The auth file should consist of lines of <username>:<password>:<level>. Replace <username> and <password> with your choice and <level> with the desired authentication level.

You can use your favourite text editor to achieve this or can be done with a one-line echo command e.g.:

echo "alice:MyC0mpL3xPass:10" >> ~/.config/deluge/auth
every time I try this guide i need to uninstall and resinstall deluge since it will crash every time with this error:

[ERROR ] 23:13:46 rpcserver:266 Password does not match
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 260, in dispatch
ret = component.get("AuthManager").authorize(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 93, in authorize
raise BadLoginError("Password does not match")

Add User to the authentication file

Create a Deluge user for clients/UIs to access the daemon by editing the authentication file, auth, located in the above config location.

The auth file should consist of lines of <username>:<password>:<level>. Replace <username> and <password> with your choice and <level> with the desired authentication level.

You can use your favourite text editor to achieve this or can be done with a one-line echo command e.g.:

echo "alice:MyC0mpL3xPass:10" >> ~/.config/deluge/auth
toolazy
Member
Member
Posts: 15
Joined: Mon Nov 20, 2017 7:05 pm

Re: Deluge 2.0 Beta 1

Post by toolazy »

Hi.

i was useing 1.3.. something before. the one that comes with Ubuntu 17.04
i have made .service scripts for deluged and deluge-web on 1.3 it works just fine..

so i added ppa:deluge-team/develop and did a dist-upgrade.
deluged start just fine with service deluged start
but the deluge-web wont start anymore if i run /usr/bin/deluge-web -l /var/log/deluge/web.log -L warning it works as "mattias"

[Unit]
Description=Deluge Bittorrent Client Web Interface
Documentation=man:deluge-web
After=network-online.target deluged.service
Wants=deluged.service
[Service]
Type=simple
User=mattias
Group=mattias
#UMask=007
ExecStart=/usr/bin/deluge-web -l /var/log/deluge/web.log -L warning
Restart=on-failure
[Install]
WantedBy=multi-user.target

EDIT: found that i can start web from deluge thinclient from my windows.

but i have another problem. it seems that the torrents dissapaer.
there is files in .config/deluge/state/ but they dont show up in web-ui or thinclient so i move them to my watch-dir and they come back.
i've set que to stop when downloading is done but it stays on seeding. i've added AutoRemovePlus-0.6.1-py2.7.egg and set to 0 so it stops. same there nogting happens
Last edited by toolazy on Tue Nov 21, 2017 7:56 am, edited 2 times in total.
SeriousHoax
Member
Member
Posts: 18
Joined: Sat May 27, 2017 10:40 am

Re: Deluge 2.0 Beta 1

Post by SeriousHoax »

Why Deluge doesn't have any Force Start option. It's very useful for me. I tried installing the MyScheduler plugin for this but that also not working. I mean why the Force Start option is not a default feature of Deluge?
Any specific reason? Can I be explained please?
Shryp
Moderator
Moderator
Posts: 521
Joined: Mon Apr 20, 2015 10:20 pm

Re: Deluge 2.0 Beta 1

Post by Shryp »

SeriousHoax wrote:Why Deluge doesn't have any Force Start option. It's very useful for me. I tried installing the MyScheduler plugin for this but that also not working. I mean why the Force Start option is not a default feature of Deluge?
Any specific reason? Can I be explained please?
http://dev.deluge-torrent.org/wiki/Faq# ... oManageddo
crafty35a
New User
New User
Posts: 6
Joined: Sun Oct 09, 2016 2:19 pm

Re: Deluge 2.0 Beta 1

Post by crafty35a »

Any chance we can get a new build posted with the Peer ID fixed? This is preventing me from using the beta at all. Even my trackers that would allow the Deluge beta are blocking it because Bitlord is blacklisted.
b9AcE
New User
New User
Posts: 6
Joined: Thu Dec 25, 2014 1:47 pm

Re: Deluge 2.0 Beta 1

Post by b9AcE »

crafty35a wrote:Any chance we can get a new build posted with the Peer ID fixed? This is preventing me from using the beta at all. Even my trackers that would allow the Deluge beta are blocking it because Bitlord is blacklisted.
I believe you can use the ltConfig plugin to set the reported "user_agent" to what it should have actually been, as a temporary workaround.
Normally one should not change this while using trackers that restrict allowed clients because that can get you permanently banned,
but as this is working around a confirmed bug and not to incorrectly bypass a client white/blacklist,
I would be surprised if tracker-admins would take issue with correcting the bug this way (if in doubt, ask the tracker's staff first).
toolazy
Member
Member
Posts: 15
Joined: Mon Nov 20, 2017 7:05 pm

Re: Deluge 2.0 Beta 1

Post by toolazy »

deluged -V
deluged 2.0b1
libtorrent: 1.2.0.0
Python: 2.7.13
OS: Linux Ubuntu 17.04 zesty

downloaded from git. i get that when i try to add a torrent file. i've tried develop and master

Unhandled Error
Traceback (most recent call last):
File "/opt/deluge/deluge/core/daemon_entry.py", line 82, in run_daemon
daemon.start()
File "/opt/deluge/deluge/core/daemon.py", line 139, in start
reactor.run()
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/base.py", line 1243, in run
self.mainLoop()
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/base.py", line 1252, in mainLoop
self.runUntilCurrent()
--- <exception caught here> ---
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/base.py", line 878, in runUntilCurrent
call.func(*call.args, **call.kw)
File "/opt/deluge/deluge/core/torrentmanager.py", line 908, in on_alert_add_torrent
torrent = Torrent(alert.handle, options, state, filename, magnet)
File "/opt/deluge/deluge/core/torrent.py", line 240, in __init__
self.handle.resolve_countries(True)
exceptions.AttributeError: 'torrent_handle' object has no attribute 'resolve_countries'

17:12:21 [CRITICAL][twisted :154 ] Unhandled Error
Traceback (most recent call last):
File "/opt/deluge/deluge/core/daemon_entry.py", line 82, in run_daemon
daemon.start()
File "/opt/deluge/deluge/core/daemon.py", line 139, in start
reactor.run()
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/base.py", line 1243, in run
self.mainLoop()
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/base.py", line 1252, in mainLoop
self.runUntilCurrent()
--- <exception caught here> ---
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/base.py", line 878, in runUntilCurrent
call.func(*call.args, **call.kw)
File "/opt/deluge/deluge/core/torrentmanager.py", line 908, in on_alert_add_torrent
torrent = Torrent(alert.handle, options, state, filename, magnet)
File "/opt/deluge/deluge/core/torrent.py", line 240, in __init__
self.handle.resolve_countries(True)
exceptions.AttributeError: 'torrent_handle' object has no attribute 'resolve_countries'
sinaptika
Member
Member
Posts: 41
Joined: Thu Apr 27, 2017 6:23 pm

Re: Deluge 2.0 Beta 1

Post by sinaptika »

Try with tags, this works for me (setup.py install might need root/sudo):

Code: Select all

git clone https://github.com/deluge-torrent/deluge.git
cd deluge
git checkout tags/deluge-2.0b1
python setup.py -q build
python setup.py -q install
toolazy
Member
Member
Posts: 15
Joined: Mon Nov 20, 2017 7:05 pm

Re: Deluge 2.0 Beta 1

Post by toolazy »

sinaptika wrote:Try with tags, this works for me (setup.py install might need root/sudo):

Code: Select all

git clone https://github.com/deluge-torrent/deluge.git
cd deluge
git checkout tags/deluge-2.0b1
python setup.py -q build
python setup.py -q install
still get error when adding a torrent
did that. build did alot of things. but install did

python setup.py -q install --install-layout=deb
warning: no previously-included files matching 'LC_MESSAGES' found under directory 'deluge/i18n'
warning: no previously-included files matching '*.mo' found under directory 'deluge/i18n'
zip_safe flag not set; analyzing archive contents...
deluge.decorators: module MAY be using inspect.stack
deluge.log: module references __file__
deluge.log: module MAY be using inspect.stack
deluge.log: module MAY be using inspect.trace
deluge.ui.ui_entry: module references __file__
deluge.ui.console.__init__: module references __path__
Locked