Installation trouble of deluge on nas4free/FreeBSD 9.2/9.1

Hello everbody,

if you are trying to install deluge on a FreeBSD / Nas4Free 9.2 (FreeBSD 9.2-RELEASE-p3 (kern.osreldate: 902001) (9.2.0.1 – Shigawire (revision 943))).
and goal is to run the most current version of deluge in a console only / WebUI fashion. And you do not want to run the application inside a jail. During the installation you will run into trouble as detailed below. The installation does not seem to go through properly.

This is what the outputs looks like:

pkg_add -r deluge >& install.log:

1
2
pkg_add: command '/usr/bin/printf '1a\n./deluge-1.3.6-py2.7.egg\n.\nw\nq\n' |  /bin/ed /usr/local/lib/python2.7/site-packages/easy-install.pth' failed
Done.

deluged -L error -l firststartlog.log >& firststart.out:
firststartlog.log was empty
firststart.out:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[ERROR   ] 10:55:34 main:237 No module named zope.interface
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/deluge-1.3.6-py2.7.egg/deluge/main.py", line 229, in start_daemon
from deluge.core.daemon import Daemon
File "/usr/local/lib/python2.7/site-packages/deluge-1.3.6-py2.7.egg/deluge/core/daemon.py", line 39, in <module>
from twisted.internet import reactor
File "/usr/local/lib/python2.7/site-packages/twisted/internet/reactor.py", line 37, in <module>
from twisted.internet import default
File "/usr/local/lib/python2.7/site-packages/twisted/internet/default.py", line 56, in <module>
install = _getInstallFunction(platform)
File "/usr/local/lib/python2.7/site-packages/twisted/internet/default.py", line 52, in _getInstallFunction
from twisted.internet.selectreactor import install
File "/usr/local/lib/python2.7/site-packages/twisted/internet/selectreactor.py", line 14, in <module>
from zope.interface import implements
ImportError: No module named zope.interface

Then try  “easy_install zope.interface” 

But now trying to start the deluge-web fails: “deluge-web >& deluge-web.out”

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Traceback (most recent call last):
File "/usr/local/bin/deluge-web", line 9, in <module>
load_entry_point('deluge==1.3.6', 'console_scripts', 'deluge-web')()
File "/usr/local/lib/python2.7/site-packages/deluge-1.3.6-py2.7.egg/deluge/ui/web/web.py", line 138, in start
web.start()
File "/usr/local/lib/python2.7/site-packages/deluge-1.3.6-py2.7.egg/deluge/ui/web/web.py", line 107, in start
import server
File "/usr/local/lib/python2.7/site-packages/deluge-1.3.6-py2.7.egg/deluge/ui/web/server.py", line 59, in <module>
from deluge.ui.web.auth import Auth
File "/usr/local/lib/python2.7/site-packages/deluge-1.3.6-py2.7.egg/deluge/ui/web/auth.py", line 61, in <module>
from deluge.ui.web.json_api import JSONComponent, export
File "/usr/local/lib/python2.7/site-packages/deluge-1.3.6-py2.7.egg/deluge/ui/web/json_api.py", line 60, in <module>
from deluge.ui.web.common import _, compress
File "/usr/local/lib/python2.7/site-packages/deluge-1.3.6-py2.7.egg/deluge/ui/web/common.py", line 38, in <module>
from mako.template import Template as MakoTemplate
ImportError: No module named mako.template

Try “easy_install mako.template” 

this should fix the problems and deluge should start working again.

 

DIY: 3 PC-USB KVM

IMG_20130908_121553

IMG_20130908_121217

IMG_20130908_121210

IMG_20130908_121203

 

 

 

 

 

 

 

 

 

 

 

 

 

Hello again,

The trouble, I was facing when I made this was that, I was using three machines together so that means 3 keyboards and 3 mouse, well 2 mouse one of those machines was console based, and I didn’t had much space on my table it was getting much hectic managing all the keyboards and mouses. And KVM’s in market I found were quiet expensive. so the solution was quiet simple and cheap; I took 8 small relays, cut-out of vero board, two toggle buttons, one usb-female for wireless RF receiver of Keyboard and Mouse and 3 usb-male for 3 machines and Altoids box to fit it all in.

I powered it externally, do not use usb to from machine to power the relays, it could fry your usb controller hub in machine. so two toggle switches meant;

 

00, 01, 11, 10

 

concept was quiet simple usb has 4 wires 2 of them are for power and 2 in center for data .. I distributed them, on toggle the connection of wires changed from one usb-male to another .. Sharing one wireless keyboard and mouse with 3 machines.

I think therefore; I am.

September 27, 2012  |  days in life  |   |  No Comments  |  Share

That is contradictory right?, well I am because of God. A little about myself people think of me bossy and a jerk, well they are wrong, and head up, I am narcissist, perfectionist, obsessive compulsive, bit weird but you will love me.