Hi,

I tried to install Hellanzb, a binary news-downloader. It is a
python program. On ports.openbsd.nu I found the software but I
don't think it is a dedicated OpenBSD package. (OpenBSD ported
) becaulse 'sudo pkg_add ./[pkg-name] didn't work. So I tried
installing the manual  way. I installed all the dependency 
software and run 'sudo python2.4 setup.py install'.

Pieter

(this is not the first time I tried):

$ sudo python2.4 setup.py install                                               
                               
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/Hellanzb
copying Hellanzb/Core.py -> build/lib/Hellanzb
copying Hellanzb/Daemon.py -> build/lib/Hellanzb
copying Hellanzb/Elite.py -> build/lib/Hellanzb
copying Hellanzb/Growl.py -> build/lib/Hellanzb
copying Hellanzb/HellaReactor.py -> build/lib/Hellanzb
copying Hellanzb/Log.py -> build/lib/Hellanzb
copying Hellanzb/Logging.py -> build/lib/Hellanzb
copying Hellanzb/NZBDownloader.py -> build/lib/Hellanzb
copying Hellanzb/NZBQueue.py -> build/lib/Hellanzb
copying Hellanzb/NewzbinDownloader.py -> build/lib/Hellanzb
copying Hellanzb/PostProcessor.py -> build/lib/Hellanzb
copying Hellanzb/PostProcessorUtil.py -> build/lib/Hellanzb
copying Hellanzb/SmartPar.py -> build/lib/Hellanzb
copying Hellanzb/Util.py -> build/lib/Hellanzb
copying Hellanzb/__init__.py -> build/lib/Hellanzb
creating build/lib/Hellanzb/NZBLeecher
copying Hellanzb/NZBLeecher/ArticleDecoder.py -> build/lib/Hellanzb/NZBLeecher
copying Hellanzb/NZBLeecher/DupeHandler.py -> build/lib/Hellanzb/NZBLeecher
copying Hellanzb/NZBLeecher/NZBLeecherUtil.py -> build/lib/Hellanzb/NZBLeecher
copying Hellanzb/NZBLeecher/NZBModel.py -> build/lib/Hellanzb/NZBLeecher
copying Hellanzb/NZBLeecher/NZBParser.py -> build/lib/Hellanzb/NZBLeecher
copying Hellanzb/NZBLeecher/NZBSegmentQueue.py -> build/lib/Hellanzb/NZBLeecher
copying Hellanzb/NZBLeecher/Protocol.py -> build/lib/Hellanzb/NZBLeecher
copying Hellanzb/NZBLeecher/__init__.py -> build/lib/Hellanzb/NZBLeecher
copying Hellanzb/NZBLeecher/nntp.py -> build/lib/Hellanzb/NZBLeecher
creating build/lib/Hellanzb/HellaXMLRPC
copying Hellanzb/HellaXMLRPC/HtPasswdAuth.py -> build/lib/Hellanzb/HellaXMLRPC
copying Hellanzb/HellaXMLRPC/__init__.py -> build/lib/Hellanzb/HellaXMLRPC
copying Hellanzb/HellaXMLRPC/xmlrpc.py -> build/lib/Hellanzb/HellaXMLRPC
creating build/lib/Hellanzb/external
copying Hellanzb/external/__init__.py -> build/lib/Hellanzb/external
creating build/lib/Hellanzb/external/elementtree
copying Hellanzb/external/elementtree/SimpleXMLWriter.py -> 
build/lib/Hellanzb/external/elementtree
copying Hellanzb/external/elementtree/__init__.py -> 
build/lib/Hellanzb/external/elementtree
running build_scripts
creating build/scripts-2.4
copying and adjusting hellanzb.py -> build/scripts-2.4
changing mode of build/scripts-2.4/hellanzb.py from 644 to 755
running install_lib
running install_scripts
copying build/scripts-2.4/hellanzb.py -> /usr/local/bin
changing mode of /usr/local/bin/hellanzb.py to 755
running install_data

When I run the software:

$ hellanzb.py                                                                   
                               

hellanzb v0.13 (config = /usr/local/etc/hellanzb.conf)
(changeme) Opening 3 connections...
hellanzb - Now monitoring queue...
[-] Unhandled Error
Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/Hellanzb/Daemon.py", line 114, 
in initDaemon
    startNZBLeecher()
  File 
"/usr/local/lib/python2.4/site-packages/Hellanzb/NZBLeecher/__init__.py", line 
262, in startNZBLeecher
    reactor.run()
  File 
"/usr/obj/i386/py-twisted-core-2.4.0/fake-i386/usr/local/lib/python2.4/site-packages/twisted/internet/posixbase.py",
 line 218, in run
    
  File 
"/usr/obj/i386/py-twisted-core-2.4.0/fake-i386/usr/local/lib/python2.4/site-packages/twisted/internet/posixbase.py",
 line 226, in mainLoop
    
--- <exception caught here> ---
  File 
"/usr/obj/i386/py-twisted-core-2.4.0/fake-i386/usr/local/lib/python2.4/site-packages/twisted/internet/base.py",
 line 555, in runUntilCurrent
    
  File "/usr/local/lib/python2.4/site-packages/Hellanzb/Daemon.py", line 97, in 
recoverStateAndBegin
    recoverStateFromDisk()
  File "/usr/local/lib/python2.4/site-packages/Hellanzb/NZBQueue.py", line 341, 
in recoverStateFromDisk
    parser = make_parser()
  File 
"/usr/obj/i386/py-xml-0.8.4p1/fake-i386/usr/local/lib/python2.4/site-packages/_xmlplus/sax/sax2exts.py",
 line 37, in make_parser
    
  File 
"/usr/obj/i386/py-xml-0.8.4p1/fake-i386/usr/local/lib/python2.4/site-packages/_xmlplus/sax/saxexts.py",
 line 75, in make_parser
    
exceptions.KeyError: 'xml.sax.drivers2.drv_pyexpat'


And nothing happens from here.

Debug file: (gives two 'run sessions'.)

2007-07-10 20:31:29,601 [-] Log opened.
2007-07-10 20:31:29,603 hellanzb v0.13 (config = /usr/local/etc/hellanzb.conf)
2007-07-10 20:31:29,605 [-] twisted.web.server.Site starting on 8760
2007-07-10 20:31:29,605 [-] Starting factory <twisted.web.server.Site instance 
at 0x8b5bcfec>
2007-07-10 20:31:29,626 Using: Twisted-2.4.0, TwistedWeb-0.6.0
2007-07-10 20:31:29,627 python: 2.4.4 (#1, Mar  6 2007, 16:34:19) 
2007-07-10 20:31:29,627 [GCC 3.3.5 (propolice)]
2007-07-10 20:31:29,627 os: OpenBSD-4.1 (i386)
2007-07-10 20:31:29,628 initFillServers: fillserver support disabled
2007-07-10 20:31:29,628 [-] Starting factory 
<Hellanzb.NZBLeecher.Protocol.NZBLeecherFactory instance at 0x84bb1
d0c>
2007-07-10 20:31:29,629 [-] Starting factory 
<Hellanzb.NZBLeecher.NZBLeecherUtil.HellaThrottlingFactory instance
 at 0x808162cc>
2007-07-10 20:31:29,642 [-] Unhandled Error
Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/Hellanzb/Daemon.py", line 114, 
in initDaemon
    startNZBLeecher()
  File 
"/usr/local/lib/python2.4/site-packages/Hellanzb/NZBLeecher/__init__.py", line 
262, in startNZBLeecher
    reactor.run()
  File 
"/usr/obj/i386/py-twisted-core-2.4.0/fake-i386/usr/local/lib/python2.4/site-packages/twisted/internet/pos
ixbase.py", line 218, in run
    
  File 
"/usr/obj/i386/py-twisted-core-2.4.0/fake-i386/usr/local/lib/python2.4/site-packages/twisted/internet/pos
ixbase.py", line 226, in mainLoop
    
--- <exception caught here> ---
  File 
"/usr/obj/i386/py-twisted-core-2.4.0/fake-i386/usr/local/lib/python2.4/site-packages/twisted/internet/bas
e.py", line 555, in runUntilCurrent
    
  File "/usr/local/lib/python2.4/site-packages/Hellanzb/Daemon.py", line 97, in 
recoverStateAndBegin
    recoverStateFromDisk()
  File "/usr/local/lib/python2.4/site-packages/Hellanzb/NZBQueue.py", line 341, 
in recoverStateFromDisk
    parser = make_parser()
  File 
"/usr/obj/i386/py-xml-0.8.4p1/fake-i386/usr/local/lib/python2.4/site-packages/_xmlplus/sax/sax2exts.py",
 
line 37, in make_parser
    
  File 
"/usr/obj/i386/py-xml-0.8.4p1/fake-i386/usr/local/lib/python2.4/site-packages/_xmlplus/sax/saxexts.py",
 l
ine 75, in make_parser
exceptions.KeyError: 'xml.sax.drivers2.drv_pyexpat'

2007-07-10 20:31:29,690 changeme[0] CONNECTION MADE
2007-07-10 20:31:29,704 changeme[0] MODE READER successful
2007-07-10 20:31:29,705 changeme[0] EMPTY QUEUE
2007-07-10 20:31:29,725 changeme[1] CONNECTION MADE
2007-07-10 20:31:30,001 changeme[1] MODE READER successful
2007-07-10 20:31:30,002 changeme[1] EMPTY QUEUE
2007-07-10 20:31:30,111 changeme[2] CONNECTION MADE
2007-07-10 20:31:30,143 changeme[2] MODE READER successful
2007-07-10 20:31:30,144 changeme[2] EMPTY QUEUE
2007-07-10 20:31:47,811 changeme[0] CONNECTION LOST
2007-07-10 20:31:47,811 [twisted.web.server.Site] (Port 8760 Closed)
2007-07-10 20:31:47,812 [twisted.web.server.Site] Stopping factory 
<twisted.web.server.Site instance at 0x8b5bcf
ec>
2007-07-10 20:31:47,812 changeme[1] CONNECTION LOST
2007-07-10 20:31:47,813 changeme[2] CONNECTION LOST
2007-07-10 20:31:47,814 [ThrottlingProtocol,client] Stopping factory 
<Hellanzb.NZBLeecher.Protocol.NZBLeecherFac
tory instance at 0x84bb1d0c>
2007-07-10 20:31:47,814 [ThrottlingProtocol,client] Stopping factory 
<Hellanzb.NZBLeecher.NZBLeecherUtil.HellaTh
rottlingFactory instance at 0x808162cc>
2007-07-10 20:31:47,815 [-] Main loop terminated.
2007-07-10 20:31:47,816 stdinEchoOn - ON






2007-07-10 20:41:31,649 [-] Log opened.
2007-07-10 20:41:31,651 hellanzb v0.13 (config = /usr/local/etc/hellanzb.conf)
2007-07-10 20:41:31,653 [-] twisted.web.server.Site starting on 8760
2007-07-10 20:41:31,653 [-] Starting factory <twisted.web.server.Site instance 
at 0x82376fec>
2007-07-10 20:41:31,685 Using: Twisted-2.4.0, TwistedWeb-0.6.0
2007-07-10 20:41:31,686 python: 2.4.4 (#1, Mar  6 2007, 16:34:19) 
2007-07-10 20:41:31,686 [GCC 3.3.5 (propolice)]
2007-07-10 20:41:31,686 os: OpenBSD-4.1 (i386)
2007-07-10 20:41:31,687 initFillServers: fillserver support disabled
2007-07-10 20:41:31,687 [-] Starting factory 
<Hellanzb.NZBLeecher.Protocol.NZBLeecherFactory instance at 0x80d98
d0c>
2007-07-10 20:41:31,688 [-] Starting factory 
<Hellanzb.NZBLeecher.NZBLeecherUtil.HellaThrottlingFactory instance
 at 0x87a252cc>
2007-07-10 20:41:31,702 [-] Unhandled Error
Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/Hellanzb/Daemon.py", line 114, 
in initDaemon
    startNZBLeecher()
  File 
"/usr/local/lib/python2.4/site-packages/Hellanzb/NZBLeecher/__init__.py", line 
262, in startNZBLeecher
    reactor.run()
  File 
"/usr/obj/i386/py-twisted-core-2.4.0/fake-i386/usr/local/lib/python2.4/site-packages/twisted/internet/pos
ixbase.py", line 218, in run
    
  File 
"/usr/obj/i386/py-twisted-core-2.4.0/fake-i386/usr/local/lib/python2.4/site-packages/twisted/internet/pos
ixbase.py", line 226, in mainLoop
    
--- <exception caught here> ---
  File 
"/usr/obj/i386/py-twisted-core-2.4.0/fake-i386/usr/local/lib/python2.4/site-packages/twisted/internet/bas
e.py", line 555, in runUntilCurrent
    
  File "/usr/local/lib/python2.4/site-packages/Hellanzb/Daemon.py", line 97, in 
recoverStateAndBegin
    recoverStateFromDisk()
  File "/usr/local/lib/python2.4/site-packages/Hellanzb/NZBQueue.py", line 341, 
in recoverStateFromDisk
    parser = make_parser()
  File 
"/usr/obj/i386/py-xml-0.8.4p1/fake-i386/usr/local/lib/python2.4/site-packages/_xmlplus/sax/sax2exts.py",
 
line 37, in make_parser
    
  File 
"/usr/obj/i386/py-xml-0.8.4p1/fake-i386/usr/local/lib/python2.4/site-packages/_xmlplus/sax/saxexts.py",
 l
ine 75, in make_parser
    
exceptions.KeyError: 'xml.sax.drivers2.drv_pyexpat'

2007-07-10 20:41:31,743 changeme[0] CONNECTION MADE
2007-07-10 20:41:31,758 changeme[0] MODE READER successful
2007-07-10 20:41:31,758 changeme[0] EMPTY QUEUE
2007-07-10 20:41:31,764 changeme[1] CONNECTION MADE
2007-07-10 20:41:31,778 changeme[1] MODE READER successful
2007-07-10 20:41:31,779 changeme[1] EMPTY QUEUE
2007-07-10 20:41:31,783 changeme[2] CONNECTION MADE
2007-07-10 20:41:31,794 changeme[2] MODE READER successful
2007-07-10 20:41:31,794 changeme[2] EMPTY QUEUE
2007-07-10 20:42:01,760 changeme[0] ANTI IDLING connection
2007-07-10 20:42:01,760 changeme[0] fetching HELP
2007-07-10 20:42:01,774 changeme[0] got HELP
2007-07-10 20:42:01,790 changeme[1] ANTI IDLING connection
2007-07-10 20:42:01,790 changeme[1] fetching HELP
2007-07-10 20:42:01,804 changeme[1] got HELP
2007-07-10 20:42:01,805 changeme[2] ANTI IDLING connection
2007-07-10 20:42:01,805 changeme[2] fetching HELP
2007-07-10 20:42:01,819 changeme[2] got HELP

Reply via email to