Active Topics

 



Notices


Reply
Thread Tools
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#1
Hi all,

Here is my first attempt to package hellanzb & par2 utilities :

Download packages here :

http://bigbob.fun.free.fr/par2_0.4-7-0maemo1_armel.deb
http://bigbob.fun.free.fr/hellanzb_0...maemo1_all.deb

Activate all repositories following this tutorial : http://thenokiablog.com/2009/10/27/m...-applications/

Then, as usual, as root, install with :

Code:
cd where_you_put_packages
apt-get install -y python-twisted-core python-twisted-web python-pyopenssl unrar && dpkg -i par2_0.4-7-0maemo1_armel.deb hellanzb_0.13-3-0maemo1_all.deb
After successful installation, just edit this option in '/etc/hellanzb.conf' :

Code:
# Where the fully processed archives go
Hellanzb.DEST_DIR = os.path.expanduser('~') + '/MyDocs/Downloads/'
And change it for the directory where you want to get your stuff ...

Here is the obligatory screenshots :

Done Downloading the latest Ubuntu 10.10 desktop :



At least it is reliable (md5sum verification) :



Hope you like it ...

A++

Last edited by colin.stephane; 2010-11-01 at 13:10.
 

The Following 6 Users Say Thank You to colin.stephane For This Useful Post:
Posts: 5 | Thanked: 0 times | Joined on Nov 2010
#2
Bonjour,

Would like to try this program. Getting the error when I run hellanzb however. I think its a python 2.5 problem. Using 1.3 fw.


hellanzb
Traceback (most recent call last):
File "/usr/bin/hellanzb", line 14, in <module>
from Hellanzb.Core import main
File "/usr/lib/pymodules/python2.5/Hellanzb/Core.py", line 18, in <module>
from Hellanzb.Daemon import initDaemon, postProcess
File "/usr/lib/pymodules/python2.5/Hellanzb/Daemon.py", line 15, in <module>
from Hellanzb.NZBQueue import dequeueNZBs, recoverStateFromDisk, parseNZB, \
File "/usr/lib/pymodules/python2.5/Hellanzb/NZBQueue.py", line 16, in <module>
from Hellanzb.external.elementtree.SimpleXMLWriter import XMLWriter
ImportError: No module named external.elementtree.SimpleXMLWriter


Any ideas?
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#3
Originally Posted by cianof View Post
Bonjour,

Would like to try this program. Getting the error when I run hellanzb however. I think its a python 2.5 problem. Using 1.3 fw.


hellanzb
Traceback (most recent call last):
File "/usr/bin/hellanzb", line 14, in <module>
from Hellanzb.Core import main
File "/usr/lib/pymodules/python2.5/Hellanzb/Core.py", line 18, in <module>
from Hellanzb.Daemon import initDaemon, postProcess
File "/usr/lib/pymodules/python2.5/Hellanzb/Daemon.py", line 15, in <module>
from Hellanzb.NZBQueue import dequeueNZBs, recoverStateFromDisk, parseNZB, \
File "/usr/lib/pymodules/python2.5/Hellanzb/NZBQueue.py", line 16, in <module>
from Hellanzb.external.elementtree.SimpleXMLWriter import XMLWriter
ImportError: No module named external.elementtree.SimpleXMLWriter


Any ideas?
Hi,

Can you please put here the output of :

Code:
dpkg -l "*python*" | grep ii
A++
 
Posts: 5 | Thanked: 0 times | Joined on Nov 2010
#4
ii hildon-desktop-python-loader 0.1.0-1maemo3 Hildon Desktop Python Plugin Loader
ii python 2.5.2-3maemo3 An interactive high-level object-oriented la
ii python-cairo 1.4.12-1.2maemo1 Python bindings for the Cairo vector graphic
ii python-central 0.6.11.1maemo2 register and build utility for Python packag
ii python-conic 0.1-6 Python bindings for Internet Connectivity li
ii python-dbus 0.83.0-1maemo3 simple interprocess messaging system (Python
ii python-dropbox-client 1.0.0-1 Official Dropbox API client for Python. Pack
ii python-elementtree 1.2.6-14 Light-weight toolkit for XML processing
ii python-feedparser 4.1-13maemo0 Universal Feed Parser for Python
ii python-gconf 2.26.1-1maemo1 Python bindings for the GConf configuration
ii python-gobject 2.16.1-1maemo1 Python bindings for the GObject library
ii python-gst0.10 0.10.14-2maemo5 generic media-playing framework (Python bind
ii python-gtk2 2.12.1-6maemo10 Python bindings for the GTK+ widget set
ii python-hildon 0.9.0-1maemo15 Python bindings for Hildon Framework.
ii python-hildondesktop 0.1.0-1maemo3 Python bindings for libhildondesktop
ii python-minimal 2.5.2-3maemo3 A minimal subset of the Python language (def
ii python-mygpoclient 1.4-1 Client library for the gpodder.net web servi
ii python-notify 0.1.1-2maemo1 Python bindings for libnotify
ii python-numeric 24.2-9maemo4 Numerical (matrix-oriented) Mathematics for
ii python-oauth 1.0.1-1 Library for OAuth version 1.0a
ii python-openssl 0.7-2maemo2 Python wrapper around the OpenSSL library
ii python-osso 0.4-0maemo2 Python bindings for libosso library
ii python-pkg-resources 0.6c9-1maemo2 Package Discovery and Resource Access using
ii python-poster 0.6.0-1 Streaming HTTP uploads and multipart/form-da
ii python-pyopenssl 0.7-2maemo2 transitional dummy package
ii python-simplejson 2.0.9-1maemo1 Simple, fast, extensible JSON encoder/decode
ii python-support 1.0.2maemo1 automated rebuilding support for Python modu
ii python-twisted-bin 8.2.0-3 Event-based framework for internet applicati
ii python-twisted-core 8.2.0-3 Event-based framework for internet applicati
ii python-twisted-web 8.2.0-2 An HTTP protocol implementation together wit
ii python-zope.interface 3.5.2-1maemo1 Zope 3 Interface Infrastructure
ii python2.5 2.5.4-1maemo5 An interactive high-level object-oriented la
ii python2.5-minimal 2.5.4-1maemo5 A minimal subset of the Python language (ver
ii python2.5-qt4-common 4.7.5-maemo1 Shared files for PyQt4
ii python2.5-qt4-core 4.7.5-maemo1 Python bindings for Qt4 Core components.
ii python2.5-qt4-dbus 4.7.5-maemo1 Python bindings for Qt dbus mainloop.
ii python2.5-qt4-gui 4.7.5-maemo1 Python bindings for Qt4 Core components.
ii python2.5-qt4-maemo5 4.7.5-maemo1 Python bindings for Qt4 Core components.
ii python2.5-sip4 4.11-maemo0 Python/C++ bindings generator runtime librar
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#5
Originally Posted by cianof View Post
ii hildon-desktop-python-loader 0.1.0-1maemo3 Hildon Desktop Python Plugin Loader
ii python 2.5.2-3maemo3 An interactive high-level object-oriented la
ii python-cairo 1.4.12-1.2maemo1 Python bindings for the Cairo vector graphic
ii python-central 0.6.11.1maemo2 register and build utility for Python packag
ii python-conic 0.1-6 Python bindings for Internet Connectivity li
ii python-dbus 0.83.0-1maemo3 simple interprocess messaging system (Python
ii python-dropbox-client 1.0.0-1 Official Dropbox API client for Python. Pack
ii python-elementtree 1.2.6-14 Light-weight toolkit for XML processing
ii python-feedparser 4.1-13maemo0 Universal Feed Parser for Python
ii python-gconf 2.26.1-1maemo1 Python bindings for the GConf configuration
ii python-gobject 2.16.1-1maemo1 Python bindings for the GObject library
ii python-gst0.10 0.10.14-2maemo5 generic media-playing framework (Python bind
ii python-gtk2 2.12.1-6maemo10 Python bindings for the GTK+ widget set
ii python-hildon 0.9.0-1maemo15 Python bindings for Hildon Framework.
ii python-hildondesktop 0.1.0-1maemo3 Python bindings for libhildondesktop
ii python-minimal 2.5.2-3maemo3 A minimal subset of the Python language (def
ii python-mygpoclient 1.4-1 Client library for the gpodder.net web servi
ii python-notify 0.1.1-2maemo1 Python bindings for libnotify
ii python-numeric 24.2-9maemo4 Numerical (matrix-oriented) Mathematics for
ii python-oauth 1.0.1-1 Library for OAuth version 1.0a
ii python-openssl 0.7-2maemo2 Python wrapper around the OpenSSL library
ii python-osso 0.4-0maemo2 Python bindings for libosso library
ii python-pkg-resources 0.6c9-1maemo2 Package Discovery and Resource Access using
ii python-poster 0.6.0-1 Streaming HTTP uploads and multipart/form-da
ii python-pyopenssl 0.7-2maemo2 transitional dummy package
ii python-simplejson 2.0.9-1maemo1 Simple, fast, extensible JSON encoder/decode
ii python-support 1.0.2maemo1 automated rebuilding support for Python modu
ii python-twisted-bin 8.2.0-3 Event-based framework for internet applicati
ii python-twisted-core 8.2.0-3 Event-based framework for internet applicati
ii python-twisted-web 8.2.0-2 An HTTP protocol implementation together wit
ii python-zope.interface 3.5.2-1maemo1 Zope 3 Interface Infrastructure
ii python2.5 2.5.4-1maemo5 An interactive high-level object-oriented la
ii python2.5-minimal 2.5.4-1maemo5 A minimal subset of the Python language (ver
ii python2.5-qt4-common 4.7.5-maemo1 Shared files for PyQt4
ii python2.5-qt4-core 4.7.5-maemo1 Python bindings for Qt4 Core components.
ii python2.5-qt4-dbus 4.7.5-maemo1 Python bindings for Qt dbus mainloop.
ii python2.5-qt4-gui 4.7.5-maemo1 Python bindings for Qt4 Core components.
ii python2.5-qt4-maemo5 4.7.5-maemo1 Python bindings for Qt4 Core components.
ii python2.5-sip4 4.11-maemo0 Python/C++ bindings generator runtime librar
Here is my side installed python stuff :

Code:
-bash-2.05b# dpkg -l "*python*" | grep ii
ii  gnome-python                                        2.18.0-2maemo6                             Python bindings for GConf and GnomeVFS
ii  hildon-desktop-python-loader                        0.1.0-1maemo3                              Hildon Desktop Python Plugin Loader
ii  python                                              2.5.2-3maemo4                              An interactive high-level object-oriented la
ii  python-all                                          2.5.2-3maemo4                              Package depending on all supported Python ru
ii  python-cairo                                        1.4.12-1.2maemo2                           Python bindings for the Cairo vector graphic
ii  python-central                                      0.6.11.1maemo2                             register and build utility for Python packag
ii  python-conic                                        0.1-6                                      Python bindings for Internet Connectivity li
ii  python-dbus                                         0.83.0-1maemo3                             simple interprocess messaging system (Python
ii  python-evolution                                    0.0.4-maemo2                               Python bindings for Evolution Data Server.
ii  python-gconf                                        2.26.1-1maemo1                             Python bindings for the GConf configuration 
ii  python-gobject                                      2.16.1-1maemo2                             Python bindings for the GObject library
ii  python-gtk2                                         2.12.1-6maemo10                            Python bindings for the GTK+ widget set
ii  python-hildon                                       0.9.0-1maemo18                             Python bindings for Hildon Framework.
ii  python-hildondesktop                                0.1.0-1maemo3                              Python bindings for libhildondesktop
ii  python-imaging                                      1.1.6-3maemo2                              Python Imaging Library
ii  python-kiwi                                         1.9.22-1                                   a graphical framework to construct simple UI
ii  python-minimal                                      2.5.2-3maemo4                              A minimal subset of the Python language (def
ii  python-notify                                       0.1.1-2maemo1                              Python bindings for libnotify
ii  python-numeric                                      24.2-9maemo4                               Numerical (matrix-oriented) Mathematics for 
ii  python-openssl                                      0.7-2maemo2                                Python wrapper around the OpenSSL library
ii  python-osso                                         0.4-0maemo5                                Python bindings for libosso library
ii  python-pkg-resources                                0.6c9-1maemo2                              Package Discovery and Resource Access using 
ii  python-pyopenssl                                    0.7-2maemo2                                transitional dummy package
ii  python-support                                      1.0.6maemo1                                automated rebuilding support for Python modu
ii  python-templayer                                    1.5.1-1                                    layered template library for Python
ii  python-twisted-bin                                  8.2.0-3                                    Event-based framework for internet applicati
ii  python-twisted-core                                 8.2.0-3                                    Event-based framework for internet applicati
ii  python-twisted-web                                  8.2.0-2                                    An HTTP protocol implementation together wit
ii  python-urwid                                        0.9.9.1-1                                  curses-based UI/widget library for Python
ii  python-xml                                          0.8.4-10.1maemo4                           XML tools for Python
ii  python-zope.interface                               3.5.2-1maemo1                              Zope 3 Interface Infrastructure
ii  python2.5                                           2.5.4-1maemo6                              An interactive high-level object-oriented la
ii  python2.5-minimal                                   2.5.4-1maemo6                              A minimal subset of the Python language (ver
ii  python2.5-qt4-common                                4.7.5-maemo1                               Shared files for PyQt4
ii  python2.5-qt4-core                                  4.7.5-maemo1                               Python bindings for Qt4 Core components.
ii  python2.5-qt4-dbus                                  4.7.5-maemo1                               Python bindings for Qt dbus mainloop.
ii  python2.5-qt4-gui                                   4.7.5-maemo1                               Python bindings for Qt4 Core components.
ii  python2.5-qt4-maemo5                                4.7.5-maemo1                               Python bindings for Qt4 Core components.
ii  python2.5-sip4                                      4.11-maemo0                                Python/C++ bindings generator runtime librar
-bash-2.05b#
Strangely on your side you have 'python-elementtree' installed where on my side, I do not have it ...

Googling on the subject I found :

That depends on which version of Python you are running. Starting
with 2.5, ElementTree was moved into the standard library, as part of
the xml package.
So, I'm tempted to say you need to try that :

Code:
apt-get remove --purge python-elementtree && apt-get install python-xml
A++
 
Posts: 5 | Thanked: 0 times | Joined on Nov 2010
#6
Traceback (most recent call last):
File "/usr/bin/hellanzb", line 14, in <module>
from Hellanzb.Core import main
File "/usr/lib/pymodules/python2.5/Hellanzb/Core.py", line 18, in <module>
from Hellanzb.Daemon import initDaemon, postProcess
File "/usr/lib/pymodules/python2.5/Hellanzb/Daemon.py", line 15, in <module>
from Hellanzb.NZBQueue import dequeueNZBs, recoverStateFromDisk, parseNZB, \
File "/usr/lib/pymodules/python2.5/Hellanzb/NZBQueue.py", line 16, in <module>
from Hellanzb.external.elementtree.SimpleXMLWriter import XMLWriter
ImportError: No module named external.elementtree.SimpleXMLWriter

That's what I'm getting now after:

apt-get remove --purge python-elementtree && apt-get install python-xml

and reboot.

I installed python-elementtree earlier hoping it might fix the problems.

Googling.. it seems there are some changes in python 2.5 to elementtree and I think SimpleXMLWrite has been removed.
It is on my device though in the hellanzb lib folder, but its not importing for some reason.
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#7
Originally Posted by cianof View Post
Traceback (most recent call last):
File "/usr/bin/hellanzb", line 14, in <module>
from Hellanzb.Core import main
File "/usr/lib/pymodules/python2.5/Hellanzb/Core.py", line 18, in <module>
from Hellanzb.Daemon import initDaemon, postProcess
File "/usr/lib/pymodules/python2.5/Hellanzb/Daemon.py", line 15, in <module>
from Hellanzb.NZBQueue import dequeueNZBs, recoverStateFromDisk, parseNZB, \
File "/usr/lib/pymodules/python2.5/Hellanzb/NZBQueue.py", line 16, in <module>
from Hellanzb.external.elementtree.SimpleXMLWriter import XMLWriter
ImportError: No module named external.elementtree.SimpleXMLWriter

That's what I'm getting now after:

apt-get remove --purge python-elementtree && apt-get install python-xml

and reboot.

I installed python-elementtree earlier hoping it might fix the problems.

Googling.. it seems there are some changes in python 2.5 to elementtree and I think SimpleXMLWrite has been removed.
It is on my device though in the hellanzb lib folder, but its not importing for some reason.
Ok,

So I think you need to compare my result of packages installed and yours, and track the problem like that ...

A++
 
Posts: 5 | Thanked: 0 times | Joined on Nov 2010
#8
Installed all the stuff from your list:

apt-get install gnome-python hildon-desktop-python-loader python python-all python-cairo python-conic python-central python-dbus python-evolution python-gconf python-gobject python-gtk2 python-hildon python-hildondesktop python-imaging python-kiwi python-minimal python-notify python-numeric python-openssl python-osso python-pkg-resources python-pyopenssl python-support python-twisted-bin python-twisted-core python-twisted-web python-xml python-zope.interface python2.5 python2.5-minimal python2.5-qt4-common python2.5-qt4-core python2.5-qt4-dbus python2.5-qt4-gui python2.5-qt4-maemo5 python2.5-sip4

No idea which package(s) did the job.......but it works now!

Many thanks for your help.
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#9
Originally Posted by cianof View Post
Installed all the stuff from your list:

apt-get install gnome-python hildon-desktop-python-loader python python-all python-cairo python-conic python-central python-dbus python-evolution python-gconf python-gobject python-gtk2 python-hildon python-hildondesktop python-imaging python-kiwi python-minimal python-notify python-numeric python-openssl python-osso python-pkg-resources python-pyopenssl python-support python-twisted-bin python-twisted-core python-twisted-web python-xml python-zope.interface python2.5 python2.5-minimal python2.5-qt4-common python2.5-qt4-core python2.5-qt4-dbus python2.5-qt4-gui python2.5-qt4-maemo5 python2.5-sip4

No idea which package(s) did the job.......but it works now!

Many thanks for your help.
That's the right fix obviously you can now remove 'python-elementtree' package ...

A++
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:48.