[SOLVED] Cannot launch Deluge

General support for any problems installing or running Deluge

[SOLVED] Cannot launch Deluge

Postby rehumanize » Wed Mar 12, 2008 8:31 pm

I'm running Debian Etch and I installed Deluge from the sid repo. I get this output when I try to launch Deluge from the terminal:

Code: Select all
E1505:/home/aaron# deluge
checking for ubuntu...
E1505:/home/aaron# checking for ubuntu...
no existing Deluge session

(deluge:3290): libglade-WARNING **: unknown widget class 'GtkAssistant'
/var/lib/python-support/python2.4/deluge/wizard.py:51: Warning: gsignal.c:1617: signal `close' is invalid for instance `0x8312038'
  self.wtree.signal_autoconnect({'apply_prefs': self.apply_prefs,
/var/lib/python-support/python2.4/deluge/wizard.py:51: Warning: gsignal.c:1617: signal `apply' is invalid for instance `0x8312038'
  self.wtree.signal_autoconnect({'apply_prefs': self.apply_prefs,
/var/lib/python-support/python2.4/deluge/wizard.py:51: Warning: gsignal.c:1617: signal `cancel' is invalid for instance `0x8312038'
  self.wtree.signal_autoconnect({'apply_prefs': self.apply_prefs,
Traceback (most recent call last):
  File "/usr/bin/deluge", line 143, in ?
    deluge.wizard.WizardGTK()
  File "/var/lib/python-support/python2.4/deluge/wizard.py", line 58, in __init__
    self.window.set_icon(deluge.common.get_logo(18))
AttributeError: 'gtk.Label' object has no attribute 'set_icon'


Not sure what this is, can't find very much online.

Any help is appreciated. :D
Last edited by johnnyg on Mon Mar 17, 2008 9:38 pm, edited 1 time in total.
Reason: solved later in thread
rehumanize
New User
New User
 
Posts: 9
Joined: Wed Mar 12, 2008 8:26 pm

Re: Cannot launch Deluge

Postby rehumanize » Thu Mar 13, 2008 12:18 am

Well I found out that using the unstable sid packages messed up the whole system. So I guess I'll be reinstalling Etch and installing deluge from the Debian backports.
rehumanize
New User
New User
 
Posts: 9
Joined: Wed Mar 12, 2008 8:26 pm

Re: Cannot launch Deluge

Postby oshiri » Thu Mar 13, 2008 1:04 am

Don't use deluge from backports .... it's too old.

You can use latest deluge on Etch by compiling it yourself but some editing needed to be done.
You have to remove wizard and systray and some other things from the code, mostly from interface.py.
You also need to port python-dbus from sid or lenny if you want to use webui.

I would suggest you compile deluge 0.6 as it don't have much issues or need to edit anything on etch.
Even though it is under development, it is usable.
oshiri
Member
Member
 
Posts: 40
Joined: Thu Nov 29, 2007 10:34 am

Re: Cannot launch Deluge

Postby rehumanize » Fri Mar 14, 2008 8:16 pm

Ok, thanks.

I'm now trying to install Deluge from the source (0.5.8.6). I have all the required packages installed as outlined in the packaged readme. I keep getting this error:

Code: Select all
E1505:/home/aaron/Desktop/deluge-torrent-0.5.8.6# make
python setup.py build
Attempting to detect your system information
32bit x86 system detected
Linux operating system detected
running build
running build_py
creating build
creating build/lib.linux-i686-2.4
creating build/lib.linux-i686-2.4/deluge
copying src/common.py -> build/lib.linux-i686-2.4/deluge
copying src/wizard.py -> build/lib.linux-i686-2.4/deluge
copying src/dialogs.py -> build/lib.linux-i686-2.4/deluge
copying src/search.py -> build/lib.linux-i686-2.4/deluge
copying src/deluge_stats.py -> build/lib.linux-i686-2.4/deluge
copying src/plugins.py -> build/lib.linux-i686-2.4/deluge
copying src/dgtk.py -> build/lib.linux-i686-2.4/deluge
copying src/browser.py -> build/lib.linux-i686-2.4/deluge
copying src/bookmark.py -> build/lib.linux-i686-2.4/deluge
copying src/pref.py -> build/lib.linux-i686-2.4/deluge
copying src/__init__.py -> build/lib.linux-i686-2.4/deluge
copying src/core.py -> build/lib.linux-i686-2.4/deluge
copying src/tab_details.py -> build/lib.linux-i686-2.4/deluge
copying src/_dbus.py -> build/lib.linux-i686-2.4/deluge
copying src/files.py -> build/lib.linux-i686-2.4/deluge
copying src/interface.py -> build/lib.linux-i686-2.4/deluge
copying src/ipc_manager.py -> build/lib.linux-i686-2.4/deluge
running build_ext
building 'deluge_core' extension
creating build/temp.linux-i686-2.4
creating build/temp.linux-i686-2.4/libtorrent
creating build/temp.linux-i686-2.4/libtorrent/src
creating build/temp.linux-i686-2.4/libtorrent/src/kademlia
creating build/temp.linux-i686-2.4/src
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -Wall -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.4 -I/usr/include/python2.4 -c libtorrent/src/alert.cpp -o build/temp.linux-i686-2.4/libtorrent/src/alert.o -Wno-missing-braces -DHAVE_INCLUDE_LIBTORRENT_ASIO____ASIO_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP=1 -DHAVE_PTHREAD=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_SSL=1 -DNDEBUG=1 -O2
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -Wall -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.4 -I/usr/include/python2.4 -c libtorrent/src/udp_tracker_connection.cpp -o build/temp.linux-i686-2.4/libtorrent/src/udp_tracker_connection.o -Wno-missing-braces -DHAVE_INCLUDE_LIBTORRENT_ASIO____ASIO_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP=1 -DHAVE_PTHREAD=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_SSL=1 -DNDEBUG=1 -O2
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -Wall -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.4 -I/usr/include/python2.4 -c libtorrent/src/stat.cpp -o build/temp.linux-i686-2.4/libtorrent/src/stat.o -Wno-missing-braces -DHAVE_INCLUDE_LIBTORRENT_ASIO____ASIO_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP=1 -DHAVE_PTHREAD=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_SSL=1 -DNDEBUG=1 -O2
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -Wall -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.4 -I/usr/include/python2.4 -c libtorrent/src/socks4_stream.cpp -o build/temp.linux-i686-2.4/libtorrent/src/socks4_stream.o -Wno-missing-braces -DHAVE_INCLUDE_LIBTORRENT_ASIO____ASIO_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP=1 -DHAVE_PTHREAD=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_SSL=1 -DNDEBUG=1 -O2
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -Wall -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.4 -I/usr/include/python2.4 -c libtorrent/src/peer_connection.cpp -o build/temp.linux-i686-2.4/libtorrent/src/peer_connection.o -Wno-missing-braces -DHAVE_INCLUDE_LIBTORRENT_ASIO____ASIO_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP=1 -DHAVE_PTHREAD=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_SSL=1 -DNDEBUG=1 -O2
In file included from ./libtorrent/include/libtorrent/peer_connection.hpp:42,
                 from libtorrent/src/peer_connection.cpp:41:
./libtorrent/include/libtorrent/debug.hpp:45:40: error: boost/filesystem/fstream.hpp: No such file or directory
./libtorrent/include/libtorrent/debug.hpp:46:44: error: boost/filesystem/convenience.hpp: No such file or directory
In file included from ./libtorrent/include/libtorrent/peer_connection.hpp:63,
                 from libtorrent/src/peer_connection.cpp:41:
./libtorrent/include/libtorrent/storage.hpp:47:37: error: boost/filesystem/path.hpp: No such file or directory
In file included from ./libtorrent/include/libtorrent/aux_/session_impl.hpp:74,
                 from libtorrent/src/peer_connection.cpp:51:
./libtorrent/include/libtorrent/kademlia/dht_tracker.hpp:45:43: error: boost/filesystem/operations.hpp: No such file or directory
./libtorrent/include/libtorrent/debug.hpp:57: error: ‘filesystem’ is not a namespace-name
./libtorrent/include/libtorrent/debug.hpp:57: error: expected namespace-name before ‘;’ token
./libtorrent/include/libtorrent/debug.hpp:61: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/debug.hpp:61: error: expected `)' before ‘const’./libtorrent/include/libtorrent/torrent_info.hpp:68: error: ‘filesystem’ is not a namespace-name
./libtorrent/include/libtorrent/torrent_info.hpp:68: error: expected namespace-name before ‘;’ token
./libtorrent/include/libtorrent/torrent_info.hpp:74: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/torrent_info.hpp:74: error: ISO C++ forbids declaration of ‘path’ with no type
./libtorrent/include/libtorrent/torrent_info.hpp:74: error: expected ‘;’ before ‘path’
./libtorrent/include/libtorrent/torrent_info.hpp:85: error: ISO C++ forbids declaration of ‘type name’ with no type
./libtorrent/include/libtorrent/torrent_info.hpp:85: error: template argument 1 is invalid
./libtorrent/include/libtorrent/torrent_info.hpp:123: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/torrent_info.hpp:123: error: expected ‘,’ or ‘...’ before ‘file’
./libtorrent/include/libtorrent/storage.hpp:69: error: ‘filesystem’ is not a namespace-name
./libtorrent/include/libtorrent/storage.hpp:69: error: expected namespace-name before ‘;’ token
./libtorrent/include/libtorrent/storage.hpp:90: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:90: error: expected ‘,’ or ‘...’ before ‘p’
./libtorrent/include/libtorrent/storage.hpp:94: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:94: error: expected ‘,’ or ‘...’ before ‘p’
./libtorrent/include/libtorrent/storage.hpp:130: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:130: error: expected ‘,’ or ‘...’ before ‘save_path’
./libtorrent/include/libtorrent/storage.hpp:163: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:163: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/storage.hpp:168: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:168: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/storage.hpp:183: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:183: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/storage.hpp:228: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:228: error: ISO C++ forbids declaration of ‘path’ with no type
./libtorrent/include/libtorrent/storage.hpp:228: error: expected ‘;’ before ‘save_path’
./libtorrent/include/libtorrent/storage.hpp:238: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:238: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/storage.hpp:285: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:285: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/storage.hpp:324: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:324: error: ISO C++ forbids declaration of ‘path’ with no type
./libtorrent/include/libtorrent/storage.hpp:324: error: expected ‘;’ before ‘m_save_path’
./libtorrent/include/libtorrent/torrent_handle.hpp:59: error: ‘filesystem’ is not a namespace-name
./libtorrent/include/libtorrent/torrent_handle.hpp:59: error: expected namespace-name before ‘;’ token
./libtorrent/include/libtorrent/torrent_handle.hpp:393: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/torrent_handle.hpp:393: error: ISO C++ forbids declaration of ‘path’ with no type
./libtorrent/include/libtorrent/torrent_handle.hpp:393: error: expected ‘;’ before ‘save_path’
./libtorrent/include/libtorrent/torrent_handle.hpp:405: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/torrent_handle.hpp:405: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/torrent.hpp:89: error: ‘filesystem’ is not a namespace-name
./libtorrent/include/libtorrent/torrent.hpp:89: error: expected namespace-name before ‘;’ token
./libtorrent/include/libtorrent/torrent.hpp:103: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/torrent.hpp:103: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/torrent.hpp:118: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/torrent.hpp:118: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/torrent.hpp:478: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/torrent.hpp:478: error: ISO C++ forbids declaration of ‘path’ with no type
./libtorrent/include/libtorrent/torrent.hpp:478: error: expected ‘;’ before ‘save_path’
./libtorrent/include/libtorrent/torrent.hpp:526: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/torrent.hpp:526: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/torrent.hpp:744: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/torrent.hpp:744: error: ISO C++ forbids declaration of ‘path’ with no type
./libtorrent/include/libtorrent/torrent.hpp:744: error: expected ‘;’ before ‘m_save_path’
./libtorrent/include/libtorrent/session.hpp:79: error: ‘filesystem’ is not a namespace-name
./libtorrent/include/libtorrent/session.hpp:79: error: expected namespace-name before ‘;’ token
./libtorrent/include/libtorrent/session.hpp:150: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/session.hpp:150: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/session.hpp:158: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/session.hpp:158: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/session.hpp:169: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/session.hpp:169: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/file.hpp:55: error: ‘filesystem’ is not a namespace-name
./libtorrent/include/libtorrent/file.hpp:55: error: expected namespace-name before ‘;’ token
./libtorrent/include/libtorrent/file.hpp:109: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/file.hpp:109: error: expected `)' before ‘const’./libtorrent/include/libtorrent/file.hpp:112: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/file.hpp:112: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/file_pool.hpp:62: error: ‘filesystem’ is not a namespace-name
./libtorrent/include/libtorrent/file_pool.hpp:62: error: expected namespace-name before ‘;’ token
./libtorrent/include/libtorrent/file_pool.hpp:68: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/file_pool.hpp:68: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/file_pool.hpp:81: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/file_pool.hpp:81: error: ISO C++ forbids declaration of ‘path’ with no type
./libtorrent/include/libtorrent/file_pool.hpp:81: error: expected ‘;’ before ‘file_path’
./libtorrent/include/libtorrent/file_pool.hpp:89: error: ‘fs’ was not declared in this scope
./libtorrent/include/libtorrent/file_pool.hpp:90: error: wrong number of template arguments (2, should be 3)
/usr/include/boost/multi_index/member.hpp:111: error: provided for ‘template<class Class, class Type, Type Class::* PtrToMember> struct boost::multi_index::member’
./libtorrent/include/libtorrent/file_pool.hpp:90: error: template argument 1 is invalid
./libtorrent/include/libtorrent/file_pool.hpp:95: error: template argument 1 is invalid
./libtorrent/include/libtorrent/file_pool.hpp:96: error: template argument 2 is invalid
./libtorrent/include/libtorrent/aux_/session_impl.hpp:91: error: ‘filesystem’ is not a namespace-name
./libtorrent/include/libtorrent/aux_/session_impl.hpp:91: error: expected namespace-name before ‘;’ token
./libtorrent/include/libtorrent/aux_/session_impl.hpp:105: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/aux_/session_impl.hpp:105: error: ISO C++ forbids declaration of ‘path’ with no type
./libtorrent/include/libtorrent/aux_/session_impl.hpp:105: error: expected ‘;’ before ‘save_path’
./libtorrent/include/libtorrent/aux_/session_impl.hpp:258: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/aux_/session_impl.hpp:258: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/aux_/session_impl.hpp:269: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/aux_/session_impl.hpp:269: error: expected ‘,’ or ‘...’ before ‘const’
error: command 'gcc' failed with exit status 1
make: *** [all] Error 1


Not sure what this is. It seems to be a libtorrent or gcc problem...I have both installed & updated, has anyone run into this before?

Thanks
rehumanize
New User
New User
 
Posts: 9
Joined: Wed Mar 12, 2008 8:26 pm

Re: Cannot launch Deluge

Postby oshiri » Sat Mar 15, 2008 12:20 am

You need libboost-filesystem-dev:
# apt-get install libboost-filesystem-dev

Please read the FAQ for dependencies.
http://deluge-torrent.org/faq.php#4n10

# apt-get install g++ make python-all-dev python-all python-dbus python-gtk2 python-notify librsvg2-common python-xdg python-support subversion libboost-dev libboost-thread-dev libboost-date-time-dev libboost-filesystem-dev libboost-serialization-dev libssl-dev zlib1g-dev

Eventhough you successfuly compile and install deluge 0.5.8.6, you still need to edit few files in order for it to run successfully.
Please use 0.6 if you don't want to edit anything.

I probably will make a patch or Debianize for Etch if I got the time.
oshiri
Member
Member
 
Posts: 40
Joined: Thu Nov 29, 2007 10:34 am

Re: Cannot launch Deluge

Postby oshiri » Sat Mar 15, 2008 5:28 am

For anybody using Debian etch, this the patch that will enable deluge 0.5.8.6 to run:

Patch for script deluge:
Code: Select all
@@ -138,10 +138,6 @@

     if not "org.deluge_torrent.Deluge" in dbus_objects:
         print "no existing Deluge session"
-        if not os.path.exists(os.path.join(deluge.common.CONFIG_DIR, 'firstrun')):
-            import deluge.wizard
-            deluge.wizard.WizardGTK()
-
         start_deluge()

     else:


Patch for file interface.py:
Code: Select all
@@ -77,8 +77,6 @@
         # self.notebook is used by plugins
         self.notebook = self.wtree.get_widget("torrent_info")
         self.notebook.connect("switch-page", self.notebook_switch_page)
-        self.notebook.connect("page-reordered", self.notebook_page_reordered)
-        self.notebook.connect("page-added", self.notebook_page_added)


         # Tabs
@@ -87,8 +85,6 @@

         self.statusbar = self.wtree.get_widget("statusbar")

-        self.build_tray_icon()
-        self.has_tray = True

         self.build_torrent_table()
         self.load_status_icons()
@@ -224,8 +220,6 @@
         if page_num == 0:
             notebook.reorder_child(page, 1)

-    def notebook_page_added(self, notebook, page, page_num):
-        notebook.set_tab_reorderable(page, True)

     def pause_all_clicked(self, arg=None):
         self.manager.pause_all()
@@ -890,7 +884,6 @@

     def apply_prefs(self):
         # Show tray icon if necessary
-        self.tray_icon.set_visible(self.config.get("enable_system_tray"))

         # Update the max_*_speed_bps prefs
         if self.config.get("max_upload_speed") < 0:
@@ -924,7 +917,6 @@
             self.config.get("tray_uploadspeedlist").pop()

         # Re-build the tray sub-menu to display the correct active radio item
-        self.build_tray_bwsetsubmenu()

         # Apply the preferences in the core
         self.manager.apply_prefs()
@@ -1282,7 +1274,6 @@
             _("Deluge Bittorrent Client"), _("Down Speed"), dlspeed, \
             dlspeed_max, _("Up Speed"), ulspeed, ulspeed_max, plugin_messages)

-        self.tray_icon.set_tooltip(msg)

     def update_torrent_info_widget(self):
         unique_id = self.get_selected_torrent()
@@ -1760,7 +1751,6 @@
         self.config.save()
         self.plugins.shutdown_all_plugins()
         #for the sake of windows, hide tray_icon
-        self.tray_icon.set_visible(False)
         gtk.main_quit()

 ## For testing purposes, create a copy of the interface



Or you can use my package:
deluge-torrent_0.5.8.6-1_i386.etch.deb
oshiri
Member
Member
 
Posts: 40
Joined: Thu Nov 29, 2007 10:34 am

Re: Cannot launch Deluge

Postby rehumanize » Sun Mar 16, 2008 4:13 am

I built 0.6 with the svn command (After removing previous versions). Everything went smoothly, but when I try to launch Deluge I get this error:


Code: Select all
:~$ deluge
checking for ubuntu...
no existing Deluge session

(deluge:12254): libglade-WARNING **: unknown widget class 'GtkAssistant'
/usr/lib/python2.4/site-packages/deluge/wizard.py:51: Warning: gsignal.c:1617: signal `close' is invalid for instance `0x8314838'
  self.wtree.signal_autoconnect({'apply_prefs': self.apply_prefs,
/usr/lib/python2.4/site-packages/deluge/wizard.py:51: Warning: gsignal.c:1617: signal `apply' is invalid for instance `0x8314838'
  self.wtree.signal_autoconnect({'apply_prefs': self.apply_prefs,
/usr/lib/python2.4/site-packages/deluge/wizard.py:51: Warning: gsignal.c:1617: signal `cancel' is invalid for instance `0x8314838'
  self.wtree.signal_autoconnect({'apply_prefs': self.apply_prefs,
Traceback (most recent call last):
  File "/usr/bin/deluge", line 143, in ?
    deluge.wizard.WizardGTK()
  File "/usr/lib/python2.4/site-packages/deluge/wizard.py", line 58, in __init__
    self.window.set_icon(deluge.common.get_logo(18))
AttributeError: 'gtk.Label' object has no attribute 'set_icon'
rehumanize
New User
New User
 
Posts: 9
Joined: Wed Mar 12, 2008 8:26 pm

Re: Cannot launch Deluge

Postby oshiri » Sun Mar 16, 2008 5:14 am

That's not 0.6 but svn for 0.5.8.x.
svn 0.6 does not have wizard yet.

To compile and install svn 0.6:

Code: Select all
svn co http://svn.deluge-torrent.org/branches/deluge-0.6 deluge-0.6
cd deluge-0.6
python setup.py build
python setup.py install


To update svn:
Code: Select all
cd deluge-0.6
svn update
rm -rf build
python setup.py build
python setup.py install
oshiri
Member
Member
 
Posts: 40
Joined: Thu Nov 29, 2007 10:34 am

Re: Cannot launch Deluge

Postby rehumanize » Sun Mar 16, 2008 6:33 am

Ah, ok. Thanks for that.

So I removed 5.8, and proceeded to compile/install 0.6. When I get to the "python setup.py build" step, I get a very long output ending in an error. Here's some of it:

Code: Select all
::invoke_extension_factory::invoke_extension_factory(const<unnamed>::invoke_extension_factory&)
./libtorrent/bindings/python/src/session.cpp: In function ‘libtorrent::torrent_handle<unnamed>::add_torrent(libtorrent::session&, const libtorrent::torrent_info&, const boost::filesystem::path&, const libtorrent::entry&, libtorrent::storage_mode_t, bool)’:
./libtorrent/bindings/python/src/session.cpp:104: warning: ‘add_torrent’ is deprecated (declared at ./libtorrent/include/libtorrent/session.hpp:154)
./libtorrent/bindings/python/src/session.cpp: In function ‘void bind_session()’:./libtorrent/bindings/python/src/session.cpp:111: error: ‘class_’ was not declared in this scope
./libtorrent/bindings/python/src/session.cpp:111: error: expected primary-expression before ‘>’ token
./libtorrent/bindings/python/src/session.cpp:111: warning: left-hand operand of comma has no effect
./libtorrent/bindings/python/src/session.cpp:112: error: request for member ‘def_readonly’ in ‘(0, session_status_doc)’, which is of non-class type ‘const char*’
./libtorrent/bindings/python/src/session.cpp:168: error: ‘enum_’ was not declared in this scope
./libtorrent/bindings/python/src/session.cpp:168: error: expected primary-expression before ‘>’ token
./libtorrent/bindings/python/src/session.cpp:169: error: request for member ‘value’ in ‘("storage_mode_t")’, which is of non-class type ‘const char [15]’
./libtorrent/bindings/python/src/session.cpp:174: error: expected primary-expression before ‘>’ token
./libtorrent/bindings/python/src/session.cpp:175: error: request for member ‘value’ in ‘("options_t")’, which is of non-class type ‘const char [10]’
./libtorrent/bindings/python/src/session.cpp:179: error: expected primary-expression before ‘,’ token
./libtorrent/bindings/python/src/session.cpp:179: error: expected primary-expression before ‘>’ token
./libtorrent/bindings/python/src/session.cpp:179: warning: left-hand operand of comma has no effect
./libtorrent/bindings/python/src/session.cpp:179: error: ‘no_init’ was not declared in this scope
./libtorrent/bindings/python/src/session.cpp:181: error: ‘init’ was not declared in this scope
./libtorrent/bindings/python/src/session.cpp:181: error: expected primary-expression before ‘>’ token
./libtorrent/bindings/python/src/session.cpp:181: error: ‘arg’ was not declared in this scope
./libtorrent/bindings/python/src/session.cpp:193: error: invalid use of undefined type ‘struct visitor<bool (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<bool (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/session.cpp:194: error: invalid use of undefined type ‘struct visitor<short unsigned int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<short unsigned int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/session.cpp:195: error: invalid use of undefined type ‘struct visitor<libtorrent::session_status (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<libtorrent::session_status (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/session.cpp:197: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::entry&)>’./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::entry&)>’
./libtorrent/bindings/python/src/session.cpp:198: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/session.cpp:199: error: invalid use of undefined type ‘struct visitor<libtorrent::entry (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<libtorrent::entry (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/session.cpp:209: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::torrent_handle&, int)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::torrent_handle&, int)>’
./libtorrent/bindings/python/src/session.cpp:211: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/session.cpp:215: error: invalid use of undefined type ‘struct visitor<int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/session.cpp:220: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/session.cpp:224: error: invalid use of undefined type ‘struct visitor<int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/session.cpp:229: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/session.cpp:233: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/session.cpp:237: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/session.cpp:241: error: invalid use of undefined type ‘struct visitor<int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/session.cpp:244: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::session_settings&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::session_settings&)>’
./libtorrent/bindings/python/src/session.cpp:245: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::pe_settings&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::pe_settings&)>’
./libtorrent/bindings/python/src/session.cpp:246: error: invalid use of undefined type ‘struct visitor<const libtorrent::pe_settings& (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<const libtorrent::pe_settings& (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/session.cpp:246: error: ‘return_value_policy’ was not declared in this scope
./libtorrent/bindings/python/src/session.cpp:246: error: ‘copy_const_reference’ was not declared in this scope
./libtorrent/bindings/python/src/session.cpp:246: error: expected primary-expression before ‘)’ token
./libtorrent/bindings/python/src/session.cpp:248: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(libtorrent::alert::severity_t)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(libtorrent::alert::severity_t)>’
./libtorrent/bindings/python/src/session.cpp:251: error: invalid use of undefined type ‘struct visitor<std::auto_ptr<libtorrent::alert> (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<std::auto_ptr<libtorrent::alert> (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/session.cpp:253: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’
./libtorrent/bindings/python/src/session.cpp:254: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’
./libtorrent/bindings/python/src/session.cpp:255: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’
./libtorrent/bindings/python/src/session.cpp:257: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’
./libtorrent/bindings/python/src/session.cpp:259: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/session.cpp:260: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/session.cpp:261: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/session.cpp:262: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/session.cpp:263: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/session.cpp:264: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/session.cpp:265: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::ip_filter&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::ip_filter&)>’
./libtorrent/bindings/python/src/session.cpp:268: error: ‘register_ptr_to_python’ was not declared in this scope
./libtorrent/bindings/python/src/session.cpp:268: error: expected primary-expression before ‘>’ token
./libtorrent/bindings/python/src/session.cpp:268: error: expected primary-expression before ‘)’ token
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = bool (libtorrent::session::*)()const]’:
./libtorrent/bindings/python/src/session.cpp:193:   instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<bool (libtorrent::session::*)()const>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<bool (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<bool (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = short unsigned int (libtorrent::session::*)()const]’:
./libtorrent/bindings/python/src/session.cpp:194:   instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<short unsigned int (libtorrent::session::*)()const>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<short unsigned int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<short unsigned int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = libtorrent::session_status (libtorrent::session::*)()const]’:
./libtorrent/bindings/python/src/session.cpp:195:   instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<libtorrent::session_status (libtorrent::session::*)()const>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<libtorrent::session_status (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<libtorrent::session_status (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = void (libtorrent::session::*)(const libtorrent::entry&)]’:
./libtorrent/bindings/python/src/session.cpp:197:   instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::entry&)>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::entry&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::entry&)>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = void (libtorrent::session::*)()]’:
./libtorrent/bindings/python/src/session.cpp:198:   instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<void (libtorrent::session::*)()>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = libtorrent::entry (libtorrent::session::*)()const]’:
./libtorrent/bindings/python/src/session.cpp:199:   instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<libtorrent::entry (libtorrent::session::*)()const>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<libtorrent::entry (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<libtorrent::entry (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = void (libtorrent::session::*)(const libtorrent::torrent_handle&, int)]’:
./libtorrent/bindings/python/src/session.cpp:209:   instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::torrent_handle&, int)>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::torrent_handle&, int)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::torrent_handle&, int)>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = void (libtorrent::session::*)(int)]’:
./libtorrent/bindings/python/src/session.cpp:211:   instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<void (libtorrent::session::*)(int)>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(int)>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = int (libtorrent::session::*)()const]’:
./libtorrent/bindings/python/src/session.cpp:215:   instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<int (libtorrent::session::*)()const>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<int (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = void (libtorrent::session::*)(const libtorrent::session_settings&)]’:
./libtorrent/bindings/python/src/session.cpp:244:   instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::session_settings&)>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::session_settings&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::session_settings&)>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = void (libtorrent::session::*)(const libtorrent::pe_settings&)]’:
./libtorrent/bindings/python/src/session.cpp:245:   instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::pe_settings&)>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::pe_settings&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::pe_settings&)>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = const libtorrent::pe_settings& (libtorrent::session::*)()const]’:
./libtorrent/bindings/python/src/session.cpp:246:   instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<const libtorrent::pe_settings& (libtorrent::session::*)()const>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<const libtorrent::pe_settings& (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<const libtorrent::pe_settings& (libtorrent::session::*)()const>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = void (libtorrent::session::*)(libtorrent::alert::severity_t)]’:
./libtorrent/bindings/python/src/session.cpp:248:   instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<void (libtorrent::session::*)(libtorrent::alert::severity_t)>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(libtorrent::alert::severity_t)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(libtorrent::alert::severity_t)>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = std::auto_ptr<libtorrent::alert> (libtorrent::session::*)()]’:
./libtorrent/bindings/python/src/session.cpp:251:   instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<std::auto_ptr<libtorrent::alert> (libtorrent::session::*)()>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<std::auto_ptr<libtorrent::alert> (libtorrent::session::*)()>’./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<std::auto_ptr<libtorrent::alert> (libtorrent::session::*)()>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = void (libtorrent::session::*)(const libtorrent::proxy_settings&)]’:./libtorrent/bindings/python/src/session.cpp:253:   instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’
./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::proxy_settings&)>’
./libtorrent/bindings/python/src/gil.hpp: In function ‘visitor<F> allow_threads(F) [with F = void (libtorrent::session::*)(const libtorrent::ip_filter&)]’:
./libtorrent/bindings/python/src/session.cpp:265:   instantiated from here
./libtorrent/bindings/python/src/gil.hpp:136: error: return type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::ip_filter&)>’ is incomplete
./libtorrent/bindings/python/src/gil.hpp:138: error: invalid use of undefined type ‘struct visitor<void (libtorrent::session::*)(const libtorrent::ip_filter&)>’./libtorrent/bindings/python/src/gil.hpp:97: error: declaration of ‘struct visitor<void (libtorrent::session::*)(const libtorrent::ip_filter&)>’
error: command 'gcc' failed with exit status 1


I don't see anywhere on the site that 0.6 needs additional dependecies...does it?
rehumanize
New User
New User
 
Posts: 9
Joined: Wed Mar 12, 2008 8:26 pm

Re: Cannot launch Deluge

Postby oshiri » Sun Mar 16, 2008 8:38 am

Not so sure what the problem is. Probably your gcc.
Try check what version you are using.

mine:
Code: Select all
$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)


Code: Select all
$ g++ -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)


If it is an older version eventhough you already install 4.1.2, just recreate the symbolic link and point to new version.
oshiri
Member
Member
 
Posts: 40
Joined: Thu Nov 29, 2007 10:34 am

Next

Return to Support

Who is online

Users browsing this forum: Google [Bot] and 15 guests