SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-04-20 17:24:46

lowje
New Member
Registered: 2012-03-27
Posts: 8

patch hellanzb

When I launch hellanzb (a console based usenet binary downloader), I have this :

lowje@byiiana:~$ hellanzb 
Traceback (most recent call last):
  File "/usr/bin/hellanzb", line 14, in <module>
    from Hellanzb.Core import main
  File "/usr/lib/pymodules/python2.7/Hellanzb/Core.py", line 9, in <module>
    from Hellanzb.HellaReactor import HellaReactor
  File "/usr/lib/pymodules/python2.7/Hellanzb/HellaReactor.py", line 14, in <module>
    from twisted.internet.selectreactor import _NO_FILENO
ImportError: cannot import name _NO_FILENO

This bug is known and is about called something "twisted" (which is python stuff as far as I understood) or whatever.

This thread http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573221 sounds interesting. Especially this part :

these patches worked to fix twisted-10.0.0

http://pastie.org/877271 should be ran in
/usr/lib/python2.6/site-packages/Hellanzb/HellaXMLRPC/
and
http://pastie.org/877281 should be ran in
/usr/lib/python2.6/site-packages/Hellanzb/

At least it worked for me! :D

So, I copy the content of http://pastie.org/877271 in /usr/lib/pymodules/python2.7/Hellanzb/HellaXMLRPC/pach and http://pastie.org/877281 in /usr/lib/pymodules/python2.7/Hellanzb/pach

Then I did:

lowje@byiiana:/usr/lib/pymodules/python2.7/Hellanzb/HellaXMLRPC$ sudo patch < pach
patching file xmlrpc.py
Reversed (or previously applied) patch detected!  Assume -R? [n] Y
Apply anyway? [n] Y
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file xmlrpc.py.rej
patching file HtPasswdAuth.py
Reversed (or previously applied) patch detected!  Assume -R? [n] Y
Apply anyway? [n] Y
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file HtPasswdAuth.py.rej

and

lowje@byiiana:/usr/lib/pymodules/python2.7/Hellanzb$ sudo patch < pach 
patching file HellaReactor.py
Reversed (or previously applied) patch detected!  Assume -R? [n] Y
Apply anyway? [n] Y
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file HellaReactor.py.rej
lowje@byiiana:/usr/lib/pymodules/python2.7/Hellanzb$ ^C
lowje@byiiana:/usr/lib/pymodules/python2.7/Hellanzb$ sudo patch < pach 
patching file HellaReactor.py
Reversed (or previously applied) patch detected!  Assume -R? [n] y

But hellanzb still doesn't work :/ Someone know what I did wrong?

Offline

Help fund CrunchBang, donate to the project!

#2 2012-04-20 18:54:51

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,316

Re: patch hellanzb

Retrieving bug reports... Done
Parsing Found/Fixed information... Done
critical bugs of hellanzb (-> 0.13-6.1) <unfixed>
 #616569 - hellanzb crashes server
grave bugs of hellanzb (-> 0.13-6.1) <unfixed>
 #653294 - hellanzb: doesn't work with python-twisted 11.1.0-1 (patch included)
Summary:
 hellanzb(2 bugs)
Are you sure you want to install/upgrade the above packages? [Y/n/?/...] 

Is what I get when I try to install hellanzb. I am on sid.

Offline

#3 2012-04-22 10:22:48

lowje
New Member
Registered: 2012-03-27
Posts: 8

Re: patch hellanzb

I'm also on sid and I have no such things when I install hellanzb via aptitude. Which is the command you use?

Offline

#4 2012-04-25 22:18:45

lowje
New Member
Registered: 2012-03-27
Posts: 8

Re: patch hellanzb

So… Any ideas anyone?

Offline

#5 2012-07-17 01:47:48

rabidjoe
#! Member
From: Under My Hat
Registered: 2010-09-24
Posts: 78

Re: patch hellanzb

The quick hack shown on this page worked a treat in Waldorf which I am using, maybe a stable user could test it... I copy/pasted the hack below

quick hack to fix this is:

/usr/lib/pymodules/python2.7/Hellanzb/HellaReactor.py

change lines 14 and 15 to

    from twisted.internet.posixbase import _NO_FILENO
     from twisted.internet.posixbase import _NO_FILEDESC

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo