FreeNAS: how-to start a webui server?

General support for any problems installing or running Deluge

FreeNAS: how-to start a webui server?

Postby zakroma » Tue Mar 15, 2011 9:13 am

Hi guys!

Im using FreeNas 7.3 embedded (using usb flash) on my headless server. Im following this guide to install packages. So far it's all good and I have installed mc-light.

Im also installing deluge with
Code: Select all
pkg_add -r deluge

FreeNas downloads the package and a lot of dependencies.
Then I do
Code: Select all
rehash

and to start the web server
Code: Select all
deluge-web

But as a result Im getting
Code: Select all
deluge-web: Command not found.


But when doing just deluge command Im getting this:
Code: Select all
freenas:~# deluge
[ERROR   ] 11:53:02 config:293 Error backing up old config..
/usr/local/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
1.1.9
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/queuedtorrents.py:60: Warning: invalid (NULL) pointer instance
  "glade/queuedtorrents.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/queuedtorrents.py:60: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  "glade/queuedtorrents.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/queuedtorrents.py:60: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  "glade/queuedtorrents.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/queuedtorrents.py:60: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  "glade/queuedtorrents.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/queuedtorrents.py:60: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
  "glade/queuedtorrents.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/queuedtorrents.py:76: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  gtk.TreeViewColumn(_("Torrent"), gtk.CellRendererText(), text=0))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/queuedtorrents.py:76: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  gtk.TreeViewColumn(_("Torrent"), gtk.CellRendererText(), text=0))
[ERROR   ] 11:53:07 config:293 Error backing up old config..
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: Warning: invalid (NULL) pointer instance
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: Warning: g_object_ref: assertion `G_IS_OBJECT (object)' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_context_set_font_description: assertion `context != NULL' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_context_set_base_dir: assertion `context != NULL' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_context_set_language: assertion `context != NULL' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_layout_new: assertion `context != NULL' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_layout_set_attributes: assertion `layout != NULL' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_layout_set_text: assertion `layout != NULL' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_layout_get_unknown_glyphs_count: assertion `PANGO_IS_LAYOUT (layout)' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gtk_icon_size_lookup_for_settings: assertion `GTK_IS_SETTINGS (settings)' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: Invalid icon size 1

  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gtk_icon_theme_load_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: Error loading theme icon 'gtk-find' for stock:
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gtkstyle.c:2318: invalid icon size '1'
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gtk_style_render_icon: assertion `pixbuf != NULL' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: Error loading theme icon 'gtk-file' for stock:
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gtk_icon_theme_lookup_by_gicon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_layout_set_width: assertion `layout != NULL' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_layout_set_wrap: assertion `PANGO_IS_LAYOUT (layout)' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_layout_set_alignment: assertion `layout != NULL' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_layout_get_pixel_extents: assertion `PANGO_IS_LAYOUT (layout)' failed
  "glade/main_window.glade"))
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: GtkWarning: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: GtkWarning: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: PangoWarning: pango_context_set_font_description: assertion `context != NULL' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: PangoWarning: pango_context_set_base_dir: assertion `context != NULL' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: PangoWarning: pango_context_set_language: assertion `context != NULL' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: PangoWarning: pango_layout_new: assertion `context != NULL' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: PangoWarning: pango_layout_set_text: assertion `layout != NULL' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: PangoWarning: pango_layout_set_attributes: assertion `layout != NULL' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: PangoWarning: pango_layout_set_alignment: assertion `layout != NULL' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: PangoWarning: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: PangoWarning: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: PangoWarning: pango_layout_set_width: assertion `layout != NULL' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: PangoWarning: pango_layout_get_extents: assertion `layout != NULL' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: PangoWarning: pango_layout_get_pixel_extents: assertion `PANGO_IS_LAYOUT (layout)' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: GtkWarning: gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: GtkWarning: gtk_icon_size_lookup_for_settings: assertion `GTK_IS_SETTINGS (settings)' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: GtkWarning: Invalid icon size 3

  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: GtkWarning: gtk_icon_theme_load_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: GtkWarning: Error loading theme icon 'gtk-add' for stock:
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: GtkWarning: gtkstyle.c:2318: invalid icon size '3'
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: GtkWarning: gtk_style_render_icon: assertion `pixbuf != NULL' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: Warning: g_object_ref: assertion `G_IS_OBJECT (object)' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: PangoWarning: pango_context_get_language: assertion `context != NULL' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: PangoWarning: pango_context_get_metrics: assertion `PANGO_IS_CONTEXT (context)' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: PangoWarning: pango_font_metrics_get_approximate_char_width: assertion `metrics != NULL' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: GtkWarning: Error loading theme icon 'gtk-remove' for stock:
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: GtkWarning: Error loading theme icon 'gtk-media-pause' for stock:
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: GtkWarning: Error loading theme icon 'gtk-media-play-ltr' for stock:
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: GtkWarning: Error loading theme icon 'gtk-go-up' for stock:
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: GtkWarning: Error loading theme icon 'gtk-go-down' for stock:
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: GtkWarning: Error loading theme icon 'gtk-preferences' for stock:
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: GtkWarning: Error loading theme icon 'gtk-network' for stock:
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: PangoWarning: pango_layout_get_context: assertion `layout != NULL' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: PangoWarning: pango_font_metrics_get_approximate_digit_width: assertion `metrics != NULL' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: PangoWarning: pango_font_metrics_get_ascent: assertion `metrics != NULL' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: PangoWarning: pango_font_metrics_get_descent: assertion `metrics != NULL' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: GtkWarning: gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: GtkWarning: gdk_colormap_get_visual: assertion `GDK_IS_COLORMAP (colormap)' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: GtkWarning: gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed
  self.window.show()
/usr/local/lib/python2.6/site-packages/deluge/ui/gtkui/mainwindow.py:103: GtkWarning: gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed
  self.window.show()
Segmentation fault


So what am I doing wrong? Could you please help with starting deluge?
zakroma
New User
New User
 
Posts: 2
Joined: Tue Mar 15, 2011 9:02 am

Re: FreeNAS: how-to start a webui server?

Postby zakroma » Tue Mar 22, 2011 8:35 am

Anyone please?
zakroma
New User
New User
 
Posts: 2
Joined: Tue Mar 15, 2011 9:02 am

Re: FreeNAS: how-to start a webui server?

Postby Cas » Tue Mar 22, 2011 1:57 pm

From logs i see that is Deluge version 1.1.9 and you are trying to run the gui app on a headless box.

The latest supported version is 1.3.1. Then you would run deluged and deluge-web.
Cas
Developer
Developer
 
Posts: 2121
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 5 guests