You are not logged in.

#1 2010-03-13 18:55:16

isaksen
Member
Registered: 2010-01-09
Posts: 8

Hellanzb: cannot import name _NO_FILE after pacman -Suy [solved]

hellanzb.py
/usr/lib/python2.6/site-packages/twisted/internet/default.py:15: DeprecationWarning: twisted.internet.default is deprecated. Use posixbase or selectreactor instead.
  warnings.warn("twisted.internet.default is deprecated. Use posixbase or selectreactor instead.", category=DeprecationWarning)
Traceback (most recent call last):
  File "/usr/bin/hellanzb.py", line 14, in <module>
    from Hellanzb.Core import main
  File "/usr/lib/python2.6/site-packages/Hellanzb/Core.py", line 9, in <module>
    from Hellanzb.HellaReactor import HellaReactor
  File "/usr/lib/python2.6/site-packages/Hellanzb/HellaReactor.py", line 18, in <module>
    from twisted.internet.default import _NO_FILENO
ImportError: cannot import name _NO_FILENO

I have made a patch
isaksen.biz/linux/twisted.patch
partially stolen from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573221 
The difference is the paths

Offline

#2 2010-04-03 20:34:26

dagba
Member
Registered: 2010-04-03
Posts: 2

Re: Hellanzb: cannot import name _NO_FILE after pacman -Suy [solved]

Hello,

i new to linux. can you tell me, how i must use this patch????

thanks for this

best regards

Offline

#3 2010-05-07 11:30:36

isaksen
Member
Registered: 2010-01-09
Posts: 8

Re: Hellanzb: cannot import name _NO_FILE after pacman -Suy [solved]

download the file
and
patch -p0 < twisted.patch
in a terminal

if you are new:  you can write
man AllMostAnyCommand
And get help

Offline

#4 2010-05-29 13:00:10

dagba
Member
Registered: 2010-04-03
Posts: 2

Re: Hellanzb: cannot import name _NO_FILE after pacman -Suy [solved]

Thanks for your help

Offline

Board footer

Powered by FluxBB