#20 closed bug (Invalid)
error 'boost::bad_lexical_cast' on start
| Reported by: | kardan | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Core | Version: | 0.5.8.3 |
| Keywords: | boost-common boost::bad_lexical_cast | Cc: |
Description
my version: 0.5.4.1-1u (installed my system: Debian Gutsy Xfce / Linux 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux
on deluge start as user I get:
$ deluge no existing Deluge session Starting new Deluge session... deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG. Applying preferences Capping download to -1 bytes per second Capping upload to 4096 bytes per second terminate called after throwing an instance of 'boost::bad_lexical_cast' what(): bad lexical cast: source type value could not be interpreted as target Aborted
as root I get:
# deluge
Traceback (most recent call last):
File "/usr/bin/deluge", line 132, in <module>
bus = dbus.SessionBus()
File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 218, in __new__
mainloop=mainloop)
File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 107, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/var/lib/python-support/python2.5/dbus/bus.py", line 121, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken
After compiling the 0.5.8.3 and installing (without errors) i get:
# deluge
checking for ubuntu...
found and fixing ubuntu
root@traumschule1:/home/traumschule# checking for ubuntu...
checking for ubuntu...
no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
Applying preferences
Scanning plugin dir /usr/share/deluge/plugins
Initialising plugin WebSeed
Initialising plugin Locations
Initialising plugin SpeedLimiter
Initialising plugin NetworkGraph
Initialising plugin TorrentCreator
Initialising plugin EventLogging
Initialising plugin NetworkHealth
Initialising plugin Scheduler
Initialising plugin Search
Initialising plugin FlexRSS
Initialising plugin MoveTorrent
Initialising plugin TorrentPeers
Initialising plugin WebUi
Initialising plugin TorrentFiles
Initialising plugin BlocklistImport
Initialising plugin TorrentNotification
Initialising plugin DesiredRatio
Initialising plugin ExtraStats
Applying preferences
Starting DHT...
No DHT file to resume
Showing window
Found TorrentFiles plugin...
Found TorrentPeers plugin...
Traceback (most recent call last):
File "/usr/bin/deluge", line 145, in <module>
start_deluge()
File "/usr/bin/deluge", line 129, in start_deluge
interface.start(get_cmd_line_torrents())
File "/usr/lib/python2.5/site-packages/deluge/interface.py", line 1041, in start
self.new_release_check()
File "/usr/lib/python2.5/site-packages/deluge/interface.py", line 1075, in new_release_check
common.open_url_in_browser('http://download.deluge-torrent.org/')
TypeError: open_url_in_browser() takes at least 2 arguments (1 given)
The program crashes if ask to get to the download page and remains if I click 'No'.
The error message for users didn't change after compiling:
$ deluge checking for ubuntu... no existing Deluge session Starting new Deluge session... deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG. Applying preferences terminate called after throwing an instance of 'boost::bad_lexical_cast' what(): bad lexical cast: source type value could not be interpreted as target
Best Regards and thanks!
Change History (2)
follow-up: 2 comment:1 by , 18 years ago
| Component: | → core |
|---|---|
| Resolution: | → invalid |
| Status: | new → closed |
| Version: | → 0.5.8.3 |
comment:2 by , 18 years ago
| Priority: | major → minor |
|---|
Replying to andar:
It sounds like you have conflicting installs.
No, that was not the problem.
I would suggest removing all deluge related files and re-installing. Also, removing your config folder would be a good idea too.
It helped to move .config/deluge/ to something else and importing the old torrents from there.
Thanks!



It sounds like you have conflicting installs. I would suggest removing all deluge related files and re-installing. Also, removing your config folder would be a good idea too.