installing 0.6 on terminal-only server

General support for problems installing or using Deluge
Keiji
Member
Member
Posts: 17
Joined: Sat Sep 01, 2007 12:47 pm

installing 0.6 on terminal-only server

Post by Keiji »

Over here someone said a command-line interface exists for deluge version 0.6. I tried building 0.6 r2886 checked out with svn, and after fixing all of the dependency problems, gcc gives me a whole load of errors. My only thought is that this is because deluge normally is a graphical program and probably requires X. Can anyone help with this?
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: installing 0.6 on terminal-only server

Post by andar »

Keiji wrote:Over here someone said a command-line interface exists for deluge version 0.6. I tried building 0.6 r2886 checked out with svn, and after fixing all of the dependency problems, gcc gives me a whole load of errors. My only thought is that this is because deluge normally is a graphical program and probably requires X. Can anyone help with this?
GCC is only used to compile libtorrent which should have no X dependencies. My guess is that you don't have all the required dependencies. Take a look at the error message from the compiler and I'm sure it will be apparent which package you need to install. If you still cannot figure it out, please paste the relevant error here.
Keiji
Member
Member
Posts: 17
Joined: Sat Sep 01, 2007 12:47 pm

Re: installing 0.6 on terminal-only server

Post by Keiji »

Well, I ran setup.py build with stdout and stderr sent to a log file, and here it is:

http://teamikaria.com/dl/52fvLIw3JJgvZy ... EaONom.txt

Enormous, and I have no clue what's going on. Also, that file might ask to be opened rather than displaying in your browser because TI share doesn't currently get its mime-types right with non-ASCII (silly gcc for putting so-called "smart" quotes in there).
hasardeur
Member
Member
Posts: 17
Joined: Wed Mar 05, 2008 9:00 am

Re: installing 0.6 on terminal-only server

Post by hasardeur »

shot in the dark:

some of the errors seem to be boost related. are the boost libraries installed and working?

what distro do you use? what version of boost?
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: installing 0.6 on terminal-only server

Post by andar »

Keiji wrote:Well, I ran setup.py build with stdout and stderr sent to a log file, and here it is:

http://teamikaria.com/dl/52fvLIw3JJgvZy ... EaONom.txt

Enormous, and I have no clue what's going on. Also, that file might ask to be opened rather than displaying in your browser because TI share doesn't currently get its mime-types right with non-ASCII (silly gcc for putting so-called "smart" quotes in there).
Install boost.
Keiji
Member
Member
Posts: 17
Joined: Sat Sep 01, 2007 12:47 pm

Re: installing 0.6 on terminal-only server

Post by Keiji »

Right, I installed boost, and most of the errors are gone, but I've still got a whole load of them:

http://teamikaria.com/dl/YkNNYNo6g16gmY ... Ky_xWN.txt

Any more things I need to install..?
danii
Seeder
Seeder
Posts: 123
Joined: Tue Oct 23, 2007 10:29 pm
Location: Braga, Portugal

Re: installing 0.6 on terminal-only server

Post by danii »

Keiji wrote:Right, I installed boost, and most of the errors are gone, but I've still got a whole load of them:

http://teamikaria.com/dl/YkNNYNo6g16gmY ... Ky_xWN.txt

Any more things I need to install..?
seems like you are still missing some boost headers, your distro must have more boost packages that you need to install
Keiji
Member
Member
Posts: 17
Joined: Sat Sep 01, 2007 12:47 pm

Re: installing 0.6 on terminal-only server

Post by Keiji »

Massive bump

Now that I'm using Ubuntu 8.04, I finally got Deluge to install, and now I get this error when trying to run the deluge-shell.py file.

Code: Select all

hayate@nanako:~/deluge$ python deluge-shell.py 
/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:72: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
Traceback (most recent call last):
  File "deluge-shell.py", line 26, in <module>
    import deluge.ui.client as client
ImportError: No module named ui.client
Anything I can I do about this? No graphical things like X are installed on the server I'm trying to run this on.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: installing 0.6 on terminal-only server

Post by johnnyg »

is the daemon running? the client needs to connect to the actual daemon to do stuff :P
run deluged in the terminal first.

there's a thread here which explains how to run deluge (with webui) on a headless server.
Keiji
Member
Member
Posts: 17
Joined: Sat Sep 01, 2007 12:47 pm

Re: installing 0.6 on terminal-only server

Post by Keiji »

Ah, right... I get this error when I try running deluge:
hayate@nanako:~$ deluge
/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:72: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
process 10651: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.

Traceback (most recent call last):
File "/usr/bin/deluge", line 122, in <module>
subprocess.Popen(["dbus-launch", "deluge"] + sys.argv[1:])
File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
errread, errwrite)
File "/usr/lib/python2.5/subprocess.py", line 1147, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
I did sudo apt-get install dbus, as it mentioned that, but even after it was installed it gave the same error, without the bit in italic.
Post Reply