Private (Individual) Torrent Downloads

General support for problems installing or using Deluge
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Private (Individual) Torrent Downloads

Post by Cas »

There may well be an issue with starting deluged from within deluge-web so for now start it separately.
gembry
Member
Member
Posts: 16
Joined: Tue Jan 31, 2012 7:40 am

Re: Private (Individual) Torrent Downloads

Post by gembry »

Will do, however the same things seems to happen. The web UI doesn't recognize the daemon as running (even when it is started separately and appears in the process list), and so I can't connect to it.
syn

Re: Private (Individual) Torrent Downloads

Post by syn »

I'm having the same problem with Debian. Latest version from git master. Starting the daemon works both from the Web UI and from command line, but the UI doesn't seem to notice it and says it is offline.

The version from the Debian repos (1.3.3) works, but I was having some other problems with the Web UI which seem to have been fixed since.
syn

Re: Private (Individual) Torrent Downloads

Post by syn »

http://dev.deluge-torrent.org/ticket/1866

This bug seems to affect the Web UI as well. Doing the workaround helped and it now connects.
gembry
Member
Member
Posts: 16
Joined: Tue Jan 31, 2012 7:40 am

Re: Private (Individual) Torrent Downloads

Post by gembry »

You're a life saver, that's exactly it. Do either you or Cas know how to change the deluge-gtk options without actually starting deluge-gtk? I'm getting the following error, which might just be because this is on a headless server or could be the root of the problem :P

Code: Select all

  File "/usr/bin/deluge-gtk", line 9, in <module>
    load_entry_point('deluge==1.3.900-dev', 'gui_scripts', 'deluge-gtk')()
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 299, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2229, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1948, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.6/site-packages/deluge-1.3.900_dev-py2.6.egg/deluge/ui/gtkui/__init__.py", line 1, in <module>
    from gtkui import start
  File "/usr/lib/python2.6/site-packages/deluge-1.3.900_dev-py2.6.egg/deluge/ui/gtkui/gtkui.py", line 41, in <module>
    reactor = gtk2reactor.install()
  File "/usr/lib/python2.6/site-packages/twisted/internet/gtk2reactor.py", line 280, in install
    reactor = Gtk2Reactor(useGtk)
  File "/usr/lib/python2.6/site-packages/twisted/internet/gtk2reactor.py", line 94, in __init__
    import gtk
  File "/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 64, in <module>
    _init()
  File "/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 52, in _init
    _gtk.init_check()
RuntimeError: could not open display
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Private (Individual) Torrent Downloads

Post by Cas »

What options do you need to change? How about setting up thinclient?
gembry
Member
Member
Posts: 16
Joined: Tue Jan 31, 2012 7:40 am

Re: Private (Individual) Torrent Downloads

Post by gembry »

The workaround is to open deluge-gtk and change the setting from classic to thinclient
I'm trying to do that, so I figured you either need to change it in a config file or through deluge-gtk. I couldn't find any config file so I assumed the latter.

I guess the question is how do I do what it says to do?
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Private (Individual) Torrent Downloads

Post by Cas »

Create a hostlist.conf.1.2 file with the following contents:

Code: Select all

{
  "file": 2, 
  "format": 1
}{
  "hosts": [
    [
      "1", 
      "127.0.0.1", 
      58846, 
      "localclient", 
      "<password from auth file>"
    ]
  ]
}
gembry
Member
Member
Posts: 16
Joined: Tue Jan 31, 2012 7:40 am

Re: Private (Individual) Torrent Downloads

Post by gembry »

Unfortunately that seems not to change anything. This affects more than just the web UI, it appears, as the console doesn't detect the daemon either. So the daemon has the following properties:

- It starts without obvious error.
- It does not log anything to file, even when logging is on debug.
- No interface can connect to it.

So some more questions:

- If the latest version in the git master branch works for other platforms, is it possible it just hates CentOS?
- Is my method of installation (git clone git://deluge-torrent.org/deluge.git, python setup.py clean -a, python setup.py build, python setup.py install) lacking?
- Could this have anything to do with the libtorrent I'm using? Everything else is installed using this yum command:

Code: Select all

yum --enablerepo=linuxtech-testing install gcc gcc-c++ python python-twisted python-twisted-web pyOpenSSL python-setuptools gettext intltool jchardet  pyxdg boost* openssl openssl-static zlib notify-python pygame pygtk2 librsvg2 xdg-utils python-mako python-chardet python-devel 
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Private (Individual) Torrent Downloads

Post by Cas »

What do you mean it does not log to file, are you using the command correctly:

Code: Select all

deluge-web -L debug -l deluge-web.log
Also did you replace the line that says <password from auth file> with the long hash-like password from your auth file.
Post Reply