Problems compiling and with Webui
Posted: Sun Apr 27, 2008 3:42 am
First compiling latest version error on Centos:
And Webui:
Errors: No dbus reply and DBusException : The name org.deluge_torrent.dbusplugin was not provided by any .service files
Any help would be appreciated. Thanks
Code: Select all
./libtorrent/include/libtorrent/time.hpp:358: error: expected initializer before âtotal_microsecondsâ
./libtorrent/include/libtorrent/time.hpp: In function âlibtorrent::ptime libtorrent::time_now()â:
./libtorrent/include/libtorrent/time.hpp:367: error: âboostâ was not declared in this scope
./libtorrent/include/libtorrent/time.hpp: At global scope:
./libtorrent/include/libtorrent/time.hpp:370: error: âlibtorrent::microsecâ declared as an âinlineâ variable
./libtorrent/include/libtorrent/time.hpp:370: error: âboostâ has not been declared
./libtorrent/include/libtorrent/time.hpp:371: error: expected â,â or â;â before â{â token
./libtorrent/include/libtorrent/time.hpp:374: error: âlibtorrent::millisecondsâ declared as an âinlineâ variable
./libtorrent/include/libtorrent/time.hpp:374: error: âboostâ has not been declared
./libtorrent/include/libtorrent/time.hpp:375: error: expected â,â or â;â before â{â token
./libtorrent/include/libtorrent/time.hpp:378: error: âlibtorrent::secondsâ declared as an âinlineâ variable
./libtorrent/include/libtorrent/time.hpp:378: error: âboostâ has not been declared
./libtorrent/include/libtorrent/time.hpp:379: error: expected â,â or â;â before â{â token
./libtorrent/include/libtorrent/time.hpp:382: error: âlibtorrent::minutesâ declared as an âinlineâ variable
./libtorrent/include/libtorrent/time.hpp:382: error: âboostâ has not been declared
./libtorrent/include/libtorrent/time.hpp:383: error: expected â,â or â;â before â{â token
./libtorrent/include/libtorrent/time.hpp:386: error: âlibtorrent::hoursâ declared as an âinlineâ variable
./libtorrent/include/libtorrent/time.hpp:386: error: âboostâ has not been declared
./libtorrent/include/libtorrent/time.hpp:387: error: expected â,â or â;â before â{â token
./libtorrent/include/libtorrent/socket.hpp: In function âstd::ostream& libtorrent::print_endpoint(std::ostream&, const asio::ip::basic_endpoint<asio::ip::tcp>&)â:
./libtorrent/include/libtorrent/socket.hpp:109: error: no match for âoperator<<â in âos << "["â
./libtorrent/include/libtorrent/socket.hpp:111: error: no match for âoperator<<â in âstd::operator<< [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>](((std::basic_ostream<char, std::char_traits<char> >&)((std::ostream*)os)), ((const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)((const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)(& a)))) << ":"â
./libtorrent/include/libtorrent/socket.hpp:112: error: no match for âoperator<<â in âos << ((const asio::ip::basic_endpoint<asio::ip::tcp>*)ep)->asio::ip::basic_endpoint<InternetProtocol>::port [with InternetProtocol = asio::ip::tcp]()â
./libtorrent/include/libtorrent/socket.hpp: In function âvoid libtorrent::detail::write_address(const libtorrent::address&, OutIt&)â:
./libtorrent/include/libtorrent/socket.hpp:127: error: âbytes_typeâ is not a member of âasio::ip::address_v6â
./libtorrent/include/libtorrent/socket.hpp:127: error: expected `;' before âbytesâ
./libtorrent/include/libtorrent/socket.hpp:129: error: âbytesâ was not declared in this scope
./libtorrent/include/libtorrent/socket.hpp: In function âlibtorrent::address libtorrent::detail::read_v6_address(InIt&)â:
./libtorrent/include/libtorrent/socket.hpp:143: error: âbytes_typeâ in class âasio::ip::address_v6â does not name a type
./libtorrent/include/libtorrent/socket.hpp:144: error: âbytes_tâ was not declared in this scope
./libtorrent/include/libtorrent/socket.hpp:144: error: expected `;' before âbytesâ
./libtorrent/include/libtorrent/socket.hpp:145: error: âbytes_tâ is not a class or namespace
./libtorrent/include/libtorrent/socket.hpp:145: error: expected `;' before âiâ
./libtorrent/include/libtorrent/socket.hpp:146: error: âiâ was not declared in this scope
./libtorrent/include/libtorrent/socket.hpp:146: error: âendâ was not declared in this scope
./libtorrent/include/libtorrent/socket.hpp:148: error: âbytesâ was not declared in this scope
./libtorrent/include/libtorrent/intrusive_ptr_base.hpp: At global scope:
./libtorrent/include/libtorrent/intrusive_ptr_base.hpp:67: error: âboostâ has not been declared
./libtorrent/include/libtorrent/intrusive_ptr_base.hpp:67: error: ISO C++ forbids declaration of âintrusive_ptrâ with no type
./libtorrent/include/libtorrent/intrusive_ptr_base.hpp:67: error: expected â;â before â<â token
./libtorrent/include/libtorrent/intrusive_ptr_base.hpp:70: error: expected `;' before âboostâ
./libtorrent/include/libtorrent/intrusive_ptr_base.hpp:70: error: âboostâ has not been declared
./libtorrent/include/libtorrent/intrusive_ptr_base.hpp:70: error: ISO C++ forbids declaration of âintrusive_ptrâ with no type
./libtorrent/include/libtorrent/intrusive_ptr_base.hpp:70: error: expected â;â before â<â token
./libtorrent/include/libtorrent/intrusive_ptr_base.hpp:73: error: expected `;' before âintâ
./libtorrent/include/libtorrent/intrusive_ptr_base.hpp:78: error: âboostâ has not been declared
./libtorrent/include/libtorrent/intrusive_ptr_base.hpp:78: error: ISO C++ forbids declaration of âatomic_countâ with no type
./libtorrent/include/libtorrent/intrusive_ptr_base.hpp:78: error: expected â;â before âm_refsâ
./libtorrent/include/libtorrent/intrusive_ptr_base.hpp: In copy constructor âlibtorrent::intrusive_ptr_base<T>::intrusive_ptr_base(const libtorrent::intrusive_ptr_base<T>&)â:
./libtorrent/include/libtorrent/intrusive_ptr_base.hpp:47: error: class âlibtorrent::intrusive_ptr_base<T>â does not have any field named âm_refsâ
./libtorrent/include/libtorrent/intrusive_ptr_base.hpp: In function âvoid libtorrent::intrusive_ptr_release(const libtorrent::intrusive_ptr_base<T>*)â:
./libtorrent/include/libtorrent/intrusive_ptr_base.hpp:64: error: âboostâ has not been declared
./libtorrent/include/libtorrent/intrusive_ptr_base.hpp: In member function âint libtorrent::intrusive_ptr_base<T>::refcount() constâ:
./libtorrent/include/libtorrent/intrusive_ptr_base.hpp:73: error: âm_refsâ was not declared in this scope
./libtorrent/include/libtorrent/intrusive_ptr_base.hpp: In constructor âlibtorrent::intrusive_ptr_base<T>::intrusive_ptr_base()â:
./libtorrent/include/libtorrent/intrusive_ptr_base.hpp:75: error: class âlibtorrent::intrusive_ptr_base<T>â does not have any field named âm_refsâ
./libtorrent/include/libtorrent/natpmp.hpp: At global scope:
./libtorrent/include/libtorrent/natpmp.hpp:51: error: âboostâ has not been declared
./libtorrent/include/libtorrent/natpmp.hpp:51: error: expected initializer before â<â token
./libtorrent/include/libtorrent/natpmp.hpp:56: error: âportmap_callback_tâ has not been declared
./libtorrent/include/libtorrent/natpmp.hpp:107: error: âportmap_callback_tâ does not name a type
libtorrent/src/natpmp.cpp:43: error: âboostâ has not been declared
libtorrent/src/natpmp.cpp:55: error: âportmap_callback_tâ has not been declared
libtorrent/src/natpmp.cpp: In constructor âlibtorrent::natpmp::natpmp(libtorrent::io_service&, const libtorrent::address&, const int&)â:
libtorrent/src/natpmp.cpp:56: error: class âlibtorrent::natpmpâ does not have any field named âm_callbackâ
libtorrent/src/natpmp.cpp: In member function âvoid libtorrent::natpmp::rebind(const libtorrent::address&)â:
libtorrent/src/natpmp.cpp:130: error: aggregate âstd::stringstream msgâ has incomplete type and cannot be defined
libtorrent/src/natpmp.cpp:135: error: âm_callbackâ was not declared in this scope
libtorrent/src/natpmp.cpp: In member function âvoid libtorrent::natpmp::update_mapping(int, int)â:
libtorrent/src/natpmp.cpp:163: error: âselfâ was not declared in this scope
libtorrent/src/natpmp.cpp:163: error: â_1â was not declared in this scope
libtorrent/src/natpmp.cpp:163: error: â_2â was not declared in this scope
libtorrent/src/natpmp.cpp: In member function âvoid libtorrent::natpmp::send_map_request(int)â:
libtorrent/src/natpmp.cpp:177: error: âwrite_uint8â was not declared in this scope
libtorrent/src/natpmp.cpp:179: error: âwrite_uint16â was not declared in this scope
libtorrent/src/natpmp.cpp:183: error: âwrite_uint32â was not declared in this scope
libtorrent/src/natpmp.cpp:195: error: no match for call to â(libtorrent::time_duration) (int)â
libtorrent/src/natpmp.cpp:196: error: âselfâ was not declared in this scope
libtorrent/src/natpmp.cpp:196: error: â_1â was not declared in this scope
libtorrent/src/natpmp.cpp: In member function âvoid libtorrent::natpmp::resend_request(int, const asio::error_code&)â:
libtorrent/src/natpmp.cpp:211: error: no match for call to â(libtorrent::time_duration) (int)â
libtorrent/src/natpmp.cpp: In member function âvoid libtorrent::natpmp::on_reply(const asio::error_code&, size_t)â:
libtorrent/src/natpmp.cpp:229: error: âselfâ was not declared in this scope
libtorrent/src/natpmp.cpp:229: error: â_1â was not declared in this scope
libtorrent/src/natpmp.cpp:229: error: â_2â was not declared in this scope
libtorrent/src/natpmp.cpp:240: error: âread_uint8â was not declared in this scope
libtorrent/src/natpmp.cpp:242: error: âread_uint16â was not declared in this scope
libtorrent/src/natpmp.cpp:243: error: âread_uint32â was not declared in this scope
libtorrent/src/natpmp.cpp:286: error: no match for call to â(libtorrent::time_duration) (int)â
libtorrent/src/natpmp.cpp:295: error: aggregate âstd::stringstream errmsgâ has incomplete type and cannot be defined
libtorrent/src/natpmp.cpp:315: error: âm_callbackâ was not declared in this scope
libtorrent/src/natpmp.cpp:240: warning: unused variable âversionâ
libtorrent/src/natpmp.cpp:241: warning: unused variable âcmdâ
libtorrent/src/natpmp.cpp:244: warning: unused variable âprivate_portâ
libtorrent/src/natpmp.cpp:321: error: no match for call to â(libtorrent::time_duration) (int)â
libtorrent/src/natpmp.cpp:322: error: âm_callbackâ was not declared in this scope
libtorrent/src/natpmp.cpp: In member function âvoid libtorrent::natpmp::update_expiration_timer()â:
libtorrent/src/natpmp.cpp:335: error: no match for call to â(libtorrent::time_duration) (int)â
libtorrent/src/natpmp.cpp:348: error: âselfâ was not declared in this scope
libtorrent/src/natpmp.cpp:348: error: â_1â was not declared in this scope
libtorrent/src/natpmp.cpp: In member function âvoid libtorrent::natpmp::refresh_mapping(int)â:
libtorrent/src/natpmp.cpp:371: error: âselfâ was not declared in this scope
libtorrent/src/natpmp.cpp:371: error: â_1â was not declared in this scope
libtorrent/src/natpmp.cpp:371: error: â_2â was not declared in this scope
./libtorrent/include/libtorrent/asio/ip/basic_endpoint.hpp: In member function âasio::ip::address asio::ip::basic_endpoint<InternetProtocol>::address() const [with InternetProtocol = asio::ip::tcp]â:
./libtorrent/include/libtorrent/socket.hpp:103: instantiated from here
./libtorrent/include/libtorrent/asio/ip/basic_endpoint.hpp:239: error: call of overloaded âaddress_v4(asio::detail::u_long_type)â is ambiguous
./libtorrent/include/libtorrent/asio/ip/address_v4.hpp:63: note: candidates are: asio::ip::address_v4::address_v4(long unsigned int)
./libtorrent/include/libtorrent/asio/ip/address_v4.hpp:56: note: asio::ip::address_v4::address_v4(int)
./libtorrent/include/libtorrent/asio/ip/basic_endpoint.hpp: In member function âasio::ip::address asio::ip::basic_endpoint<InternetProtocol>::address() const [with InternetProtocol = asio::ip::udp]â:
./libtorrent/include/libtorrent/asio/ip/basic_endpoint.hpp:260: instantiated from âbool asio::ip::operator==(const asio::ip::basic_endpoint<asio::ip::udp>&, const asio::ip::basic_endpoint<asio::ip::udp>&)â
libtorrent/src/natpmp.cpp:110: instantiated from here
./libtorrent/include/libtorrent/asio/ip/basic_endpoint.hpp:239: error: call of overloaded âaddress_v4(asio::detail::u_long_type)â is ambiguous
./libtorrent/include/libtorrent/asio/ip/address_v4.hpp:63: note: candidates are: asio::ip::address_v4::address_v4(long unsigned int)
./libtorrent/include/libtorrent/asio/ip/address_v4.hpp:56: note: asio::ip::address_v4::address_v4(int)
libtorrent/src/natpmp.cpp: At global scope:
libtorrent/src/natpmp.cpp:399: fatal error: error closing -: Broken pipe
compilation terminated.
The bug is not reproducible, so it is likely a hardware or OS problem.
error: command 'gcc' failed with exit status 1
make: *** [all] Error 1
Errors: No dbus reply and DBusException : The name org.deluge_torrent.dbusplugin was not provided by any .service files
Code: Select all
--Deluge Error--
DBusException : The name org.deluge_torrent.dbusplugin was not provided by any .service files
path : /index
file : dbus_bindings.pyx in dbus_bindings.Connection.send_with_reply_and_block, line 454
--Input--
<Storage {}>
--Versions--
WebUi : rev.172
Python : 2.4.3 (#1, Mar 14 2007, 18:51:08)
[GCC 4.1.1 20070105 (Red Hat 4.1.1-52)]
--Traceback--
File "/usr/share/deluge/plugins/WebUi/lib/webpy022/webapi.py", line 304, in wsgifunc
result = func()
File "/usr/share/deluge/plugins/WebUi/lib/webpy022/request.py", line 131, in <lambda>
func = lambda: handle(inp, fvars)
File "/usr/share/deluge/plugins/WebUi/lib/webpy022/request.py", line 61, in handle
return tocall(*([x and urllib.unquote(x) for x in args] + fna))
File "/usr/share/deluge/plugins/WebUi/webserver_framework.py", line 152, in deco
return func(self, name) #ok, continue..
File "/usr/share/deluge/plugins/WebUi/webserver_framework.py", line 136, in deco
res = func(self, name)
File "/usr/share/deluge/plugins/WebUi/webserver_framework.py", line 169, in deco
return func(self, name)
File "/usr/share/deluge/plugins/WebUi/deluge_webserver.py", line 102, in GET
torrent_list = [get_torrent_status(torrent_id)
File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 102, in __call__
reply_message = self._connection.send_with_reply_and_block(message, timeout)
File "dbus_bindings.pyx", line 455, in dbus_bindings.Connection.send_with_reply_and_block