[问题]我想用ubuntu做下载服务器,但deluge不会装....

上网、浏览、聊天、下载等
回复
erikchang
帖子: 14
注册时间: 2008-01-13 0:48

[问题]我想用ubuntu做下载服务器,但deluge不会装....

#1

帖子 erikchang » 2008-01-13 1:08

我装了ubuntu 7.10 server 版,现在是通过ssh控制ubuntu机器,我想通过web界面控制ubuntu通过bt下载,我在线安装了deluge-torrent,但是执行了 ./deluge-torrent之后提示如下:
/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:72: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
localeDir: /usr/share/deluge-torrent/po
/usr/share/deluge-torrent
DelugePreferences object created
Loading from file /home/zhang/.config/deluge/preferences.xml
writing pref to file
Writing key global_locwith a value of:/home/zhang
Writing key dhtwith a value of:1
Writing key tcp_port_minwith a value of:6881
Writing key stop_seedingwith a value of:False
Writing key max_ul_ratewith a value of:0
Writing key tcp_port_maxwith a value of:6999
Writing key max_num_dlwith a value of:0
Writing key compact_allocationwith a value of:1
Writing key max_dl_ratewith a value of:0
Writing key seed_cap_ratiowith a value of:0
Writing key max_num_ulwith a value of:0
Writing key global_savewith a value of:False
Writing key max_connectionswith a value of:80
config file not found, creating
global_loc: /home/zhang
dht: 1
tcp_port_min: 6881
stop_seeding: False
max_ul_rate: 0
tcp_port_max: 6999
max_num_dl: 0
compact_allocation: 1
max_dl_rate: 0
seed_cap_ratio: 0
max_num_ul: 0
global_save: False
max_connections: 80
deluge.py:64: Warning: invalid (NULL) pointer instance
self.wTree = gtk.glade.XML(self.gladefile)
deluge.py:64: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
self.wTree = gtk.glade.XML(self.gladefile)
deluge.py:64: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
self.wTree = gtk.glade.XML(self.gladefile)
deluge.py:64: GtkWarning: gtk_scrolled_window_add(): cannot add non scrollable widget use gtk_scrolled_window_add_with_viewport() instead
self.wTree = gtk.glade.XML(self.gladefile)
deluge.py:64: GtkWarning: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
self.wTree = gtk.glade.XML(self.gladefile)
deluge.py:64: PangoWarning: pango_context_set_font_description: assertion `context != NULL' failed
self.wTree = gtk.glade.XML(self.gladefile)
deluge.py:64: PangoWarning: pango_context_set_base_dir: assertion `context != NULL' failed
self.wTree = gtk.glade.XML(self.gladefile)
deluge.py:64: PangoWarning: pango_context_set_language: assertion `context != NULL' failed
self.wTree = gtk.glade.XML(self.gladefile)
deluge.py:64: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
self.wTree = gtk.glade.XML(self.gladefile)
deluge.py:64: GtkWarning: gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
self.wTree = gtk.glade.XML(self.gladefile)
deluge.py:64: GtkWarning: gdk_keymap_get_for_display: assertion `GDK_IS_DISPLAY (display)' failed
self.wTree = gtk.glade.XML(self.gladefile)
deluge.py:64: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
self.wTree = gtk.glade.XML(self.gladefile)
Segmentation fault

而且我不知如何设置deluge,deluge的设置文件在哪里呢?请各位达人帮我下啊~~~小生感激不尽
头像
hubert_star
论坛版主
帖子: 5373
注册时间: 2007-10-29 22:12
系统: OSX 10.9 + Ub 1304
来自: 江苏南京

#2

帖子 hubert_star » 2008-01-13 1:16

/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:72: GtkWarning: could not open display
这句话很明确地告诉你:没开桌面!

你装了server版并且未安装桌面应用的情况下,你仅能用命令行的工作来做下载工作
佛经说,人有八苦: 生、老、病、死、求不得、怨憎、爱别离、五阴盛 故我苦!
圣经说,人有七罪: 饕餮、贪婪、懒惰、淫欲、傲慢、嫉妒和暴怒  故我有罪!

我这篇帖子里面没有任何攻击我们伟大的中华人民共和国政府和任劳任怨的人民公仆(和本论坛高素质的版主)的文字和含义;

特此声明!

有些事,我们明知道是错的,也要去坚持,因为不甘心;有些人,我们明知道是爱的,也要去放弃,因为没结局;有时候,我们明知道没路了,却还在前行,因为习惯了。

欢迎来我的新浪微博@me
erikchang
帖子: 14
注册时间: 2008-01-13 0:48

#3

帖子 erikchang » 2008-01-13 1:21

那我怎样能找到配置文件并且我通过webui控制它呢?
回复