You are not logged in.

#1 2010-06-23 16:33:08

Nvveen
Member
Registered: 2010-06-14
Posts: 11

HellaNZB and Twisted-Web2

Seems that the build cannot be completed, since the mirror for the Twisted-web2 is offline... Is there any other way to download and install Twisted-web2 and then Hellanzb (via Pacman/yaourt)?

Thanks in advance,

Neal van Veen.

Offline

#2 2010-10-24 00:05:46

VampireSquirrrl
Member
From: Brisbane, Australia
Registered: 2010-07-20
Posts: 7

Re: HellaNZB and Twisted-Web2

Was wondering the same thing.  Did you get it to work?

Offline

#3 2010-10-24 01:32:56

VampireSquirrrl
Member
From: Brisbane, Australia
Registered: 2010-07-20
Posts: 7

Re: HellaNZB and Twisted-Web2

This post suggests that removing Twisted-web from community packages was wrong. (I agree!  How do we get it back? I am a n00b to Arch)

I have the latest Twisted installed, but editing the package build for hellanzb and removing the twisted-web2 dependency results in a build fail:

...
patching file /tmp/yaourt-tmp-andy/aur-hellanzb/pkg/usr/lib/python2.6/site-packages/Hellanzb/HellaXMLRPC/xmlrpc.py
Hunk #1 FAILED at 31.
1 out of 1 hunk FAILED -- saving rejects to file /tmp/yaourt-tmp-andy/aur-hellanzb/pkg/usr/lib/python2.6/site-packages/Hellanzb/HellaXMLRPC/xmlrpc.py.rej
    Aborting...

... so it does indeed look like we need Twisted-Web2.

I tried downloading 8.1 but running sudo python setup.py results in errors:

twisted.python.dist module not found.  Make sure you have installed the Twisted core package before attempting to install any other Twisted projects.

...it said twisted was not installed which it is:

yaourt twisted
1 extra/twisted 10.1.0-1 [installed]
    Asynchronous networking framework written in Python.

Any help with getting hellanzb installed would be greatly appreciated!

Last edited by VampireSquirrrl (2010-10-24 01:33:51)

Offline

#4 2010-10-29 06:22:41

mntester
Member
Registered: 2007-12-09
Posts: 13

Re: HellaNZB and Twisted-Web2

I downloaded the twisted-web2 package from AUR and modified the PKGBUILD to replace python with python2. This built and installed twisted-web2 sucessfully. Also built and installed par2cmdline.
But when trying to build hellanzb, it breaks with the error:

Hunk #1 FAILED at 31.
1 out of 1 hunk FAILED -- saving rejects to file /home/xxxx/builds/hellanzb/pkg/usr/lib/python2.6/site-packages/Hellanzb/HellaXMLRPC/xmlrpc.py.rej
    Aborting...

Any ideas?


Thanks.

Last edited by mntester (2010-10-29 06:32:56)

Offline

#5 2010-10-30 23:44:59

VampireSquirrrl
Member
From: Brisbane, Australia
Registered: 2010-07-20
Posts: 7

Re: HellaNZB and Twisted-Web2

Finally got LottaNZB to work!

Here's how I got HellaNZB to work:

Warning, this is probably not the best way to do this.

1. Uninstall Twisted, download 9.0 from here and install it with

sudo python2 setup.py install

(you might want to blacklist(?) twisted in your pacman config)  (not 100% sure that this step is needed, but last install I had to do this)
2. yaourt twisted-web2 and edit the pkgbuild, removing the twisted dependancy and changing python to python2 in the build section as mentioned by mntester above.
3. yaourt hellanzb and edit the pkgbuild, change python to python2 and comment out the 3 patches that fail:
    # patch < ../877271.diff $startdir/pkg/usr/lib/python2.6/site-packages/Hellanzb/HellaXMLRPC/xmlrpc.py || return 1 
    # patch < ../877271-2.diff $startdir/pkg/usr/lib/python2.6/site-packages/Hellanzb/HellaXMLRPC/HtPasswdAuth.py || return 1
    # patch < ../877281.diff $startdir/pkg/usr/lib/python2.6/site-packages/Hellanzb/HellaReactor.py || return 1
(these only seem to change a version number dependancy.. we don't need this because we're using 9.0 in step 1)
4. hellanzb and lottanzb should now install; just tested downloading a nzb and it worked cool

Last edited by VampireSquirrrl (2010-10-31 00:06:56)

Offline

Board footer

Powered by FluxBB