Page 2 of 3

Re: FreeBSD errors

Posted: Mon Jan 25, 2010 9:18 am
by Trahloc
Since I can't update that ticket I'll update here. The issue occurred with 1.9.0 as well. It wasn't the deluge update to 1.2.0 that created this issue. It must have been a dependency. I did a "portmanager -u -p -l -y" which then caused my original failure and made me create this post. I was using 1.9.0 without issue prior to that. I don't know what specific day it occurred as it was several days before I killed the process and restarted it.

Re: FreeBSD errors

Posted: Mon Jan 25, 2010 11:40 pm
by tim-m89
Trahloc wrote:Since I can't update that ticket I'll update here. The issue occurred with 1.9.0 as well. It wasn't the deluge update to 1.2.0 that created this issue. It must have been a dependency. I did a "portmanager -u -p -l -y" which then caused my original failure and made me create this post. I was using 1.9.0 without issue prior to that. I don't know what specific day it occurred as it was several days before I killed the process and restarted it.
nothing upgrades from 1.9.0 to 1.2.0 so I assume you mean 1.1.9.

I was at least one of those using 1.1.9 perfectly fine. When you said you had issues with 1.1.9 what issues were those exactly?

Re: FreeBSD errors

Posted: Tue Jan 26, 2010 2:41 am
by zar0ku1
status changed from new to closed
resolution set to wontfix
We don't maintain the FreeBSD port, you will have to raise this issue with its maintainer.

Re: FreeBSD errors

Posted: Tue Jan 26, 2010 2:43 am
by tim-m89
zar0ku1 wrote:
We don't maintain the FreeBSD port, you will have to raise this issue with its maintainer.
Yes I already got that message and contacted the maintainer before I proceeded to ask that question to Trahloc. Just trying to investigate to the fullest.

Re: FreeBSD errors

Posted: Tue Jan 26, 2010 6:58 pm
by andar
tim-m89 wrote:
zar0ku1 wrote:
We don't maintain the FreeBSD port, you will have to raise this issue with its maintainer.
Yes I already got that message and contacted the maintainer before I proceeded to ask that question to Trahloc. Just trying to investigate to the fullest.
To clarify, it seems like the error is a problem with libtorrent and not with Deluge. Since we do not bundle libtorrent with Deluge any longer, you will need to report this problem to libtorrent, http://www.libtorrent.org, for resolution.

Re: FreeBSD errors

Posted: Mon Feb 01, 2010 5:10 am
by zar0ku1

Re: FreeBSD errors

Posted: Mon Feb 01, 2010 7:14 am
by andar
Could you provide debug logs from the daemon?

Run it with: deluged -d -L debug

Re: FreeBSD errors

Posted: Mon Feb 01, 2010 2:54 pm
by Yarik
I have erorrs after run deluged.
In ${home}/.config/deluge/deluged.log that:

Code: Select all

[ERROR   ] 16:20:30 main:216 /usr/local/lib/python2.6/site-packages/OpenSSL/crypto.so: Undefined symbol "PyThread_get_thread_ident"
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/site-packages/deluge/main.py", line 208, in start_daemon
    from deluge.core.daemon import Daemon
  File "/usr/local/lib/python2.6/site-packages/deluge/core/daemon.py", line 45, in <module>
    from deluge.core.rpcserver import RPCServer, export
  File "/usr/local/lib/python2.6/site-packages/deluge/core/rpcserver.py", line 45, in <module>
    from twisted.internet import ssl, reactor, defer
  File "/usr/local/lib/python2.6/site-packages/twisted/internet/ssl.py", line 46, in <module>
    from OpenSSL import SSL
  File "/usr/local/lib/python2.6/site-packages/OpenSSL/__init__.py", line 11, in <module>
    import rand, crypto, SSL, tsafe
ImportError: /usr/local/lib/python2.6/site-packages/OpenSSL/crypto.so: Undefined symbol "PyThread_get_thread_ident"
What to make for successful start?
Thanks.

Re: FreeBSD errors

Posted: Tue Feb 02, 2010 2:06 am
by tim-m89
The deluge port has been:
Revert back to previous version (to many problems)
freshportlink but unlike the previous version this one just gives me a blank window.

Edit:

Never mind this^. Something was cached and worked again when reboot.

Re: FreeBSD errors

Posted: Wed Feb 03, 2010 12:28 pm
by Yarik
Deluge 1.2.0 was deleted.
Again cvsup.
I have deluge 1.1.9 in ports now.
# cd /usr/ports/net-p2p/deluge
# make install WITHOUT_PYGTK=true
install successful. Install log.
run:
# deluged -d -L debug
result:

Code: Select all

[INFO    ] 13:58:56 daemon:48 Deluge daemon 1.1.9
[DEBUG   ] 13:58:56 daemon:49 options: {'loglevel': 'debug', 'quiet': False, 'logfile': None, 'config': None, 'port': None, 'pidfile': None, 'donot': True}
[DEBUG   ] 13:58:56 daemon:50 args: []
[ERROR   ] 13:58:56 main:207 No module named libtorrent
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/site-packages/deluge/main.py", line 204, in start_daemon
    Daemon(options, args)
  File "/usr/local/lib/python2.6/site-packages/deluge/core/daemon.py", line 54, in __init__
    from deluge.core.core import Core
  File "/usr/local/lib/python2.6/site-packages/deluge/core/core.py", line 57, in <module>
    import libtorrent as lt
ImportError: No module named libtorrent
Why python module libtorrent didn't installed ? How to correct ?
Help please.
Thanks.

More info:
# ls /usr/local/lib/python2.6/site-packages/

Code: Select all

Babel-0.9.4-py2.6.egg/                                  pyOpenSSL-0.8-py2.6.egg-info
Beaker-1.5.1-py2.6.egg/                                 pygtk.pth
Mako-0.2.5-py2.6.egg/                                   pygtk.py
OpenSSL/                                                pygtk.pyc
Pyste/                                                  pygtk.pyo
Pyste-0.9.10-py2.6.egg-info                             pyxdg-0.18-py2.6.egg-info
README                                                  setuptools-0.6c11-py2.6.egg
Twisted_Core-8.2.0-py2.6.egg-info                       setuptools.pth
Twisted_Web-8.2.0-py2.6.egg-info                        simplejson-2.0.9-py2.6-freebsd-8.0-STABLE-i386.egg
chardet/                                                site.py
chardet-1.0.1-py2.6.egg-info                            site.pyc
deluge/                                                 site.pyo
deluge-1.1.9-py2.6.egg-info/                            twisted/
easy-install.pth                                        xcbgen/
elementtree/                                            xdg/
elementtree-1.2.6_20050316-py2.6.egg-info               zope.interface-3.5.2-py2.6-freebsd-8.0-STABLE-i386.egg/
gtk-2.0/
# ls /usr/local/lib/python2.6/site-packages/deluge

Code: Select all

SimpleXMLRPCServer.py   bencode.pyo             config.pyc              error.pyc               main.pyc                plugins/
SimpleXMLRPCServer.pyc  common.py               config.pyo              error.pyo               main.pyo                ui/
SimpleXMLRPCServer.pyo  common.pyc              configmanager.py        i18n/                   metafile.py             xmlrpclib.py
__init__.py             common.pyo              configmanager.pyc       libtorrent.so*          metafile.pyc            xmlrpclib.pyc
__init__.pyc            component.py            configmanager.pyo       log.py                  metafile.pyo            xmlrpclib.pyo
__init__.pyo            component.pyc           core/                   log.pyc                 pluginmanagerbase.py
bencode.py              component.pyo           data/                   log.pyo                 pluginmanagerbase.pyc
bencode.pyc             config.py               error.py                main.py                 pluginmanagerbase.pyo