intial build, install and run errors

Asked by Todd Allen on 2010-12-20

I ran `bzr branch lp:lottanzb` to get the source.

I installed all required and recommended packages in the README

I ran `python setup.py build` and got the BUILD ERRORS shown below, but as the build continued running and appeared to complete, I went ahead and ran `python setup.py install`. I got the same BUILD ERRORS again, plus the following additional problems shown under INSTALL ERRORS.

None of the errors seemed fatal as I was able to run `./run-lottanzb.sh` and the program started up and ran a few minutes before crashing which is about the same as when I run the executable I installed from the daily build package. I show the output below under RUN ERRORS.

I don't know enough at this point to ask good questions, but I'd appreciate any comments on these errors.

I've also installed Bazaar Explorer, Eclipse and the Pydev plugin for Eclipse. I created a project and pointed it at the lottanzb folder. Tomorrow I'll work on getting the edit/build/debug steps working in Eclipse. From there I want to explore the various crashes I get. Another issue I'd like to look into is that when the top/active item in my download queue stalls out unable to complete due to missing or bad data on the news server(s) I'd like it to label the item STALLED or INCOMPLETE and automatically move on to the next queued item. Currently I have to manually remove stalled items or push them down in the queue.

--- BUILD ERRORS ---
ERROR: Python module base not found
ERROR: Python module wordpress not found
ERROR: Python module methods not found
WARNING: syntax errors in util/wordpress_xmlrpc/methods/categories.py : invalid syntax (categories.py, line 1)
ERROR: Python module wordpress_xmlrpc.base not found
ERROR: Python module wordpress_xmlrpc.mixins not found
ERROR: Python module wordpress_xmlrpc.wordpress not found
WARNING: syntax errors in util/wordpress_xmlrpc/methods/posts.py : invalid syntax (posts.py, line 1)
WARNING: syntax errors in util/wordpress_xmlrpc/base.py : invalid syntax (base.py, line 1)
WARNING: syntax errors in util/wordpress_xmlrpc/methods/options.py : invalid syntax (options.py, line 1)
WARNING: syntax errors in util/wordpress_xmlrpc/methods/demo.py : invalid syntax (demo.py, line 1)
WARNING: syntax errors in util/wordpress_xmlrpc/mixins.py : invalid syntax (mixins.py, line 1)
WARNING: syntax errors in util/wordpress_xmlrpc/wordpress.py : invalid syntax (wordpress.py, line 1)
WARNING: syntax errors in util/wordpress_xmlrpc/methods/users.py : invalid syntax (users.py, line 1)
ERROR: Python module argparse not found
ERROR: Python module wordpress_xmlrpc not found
ERROR: Python module wordpress_xmlrpc.methods.pages not found
WARNING: syntax errors in util/wordpress_xmlrpc/methods/__init__.py : invalid syntax (__init__.py, line 3)

--- INSTALL ERRORS ---
updating MIME types
Unknown media type in type 'all/all'

Unknown media type in type 'all/allfiles'

Unknown media type in type 'uri/mms'

Unknown media type in type 'uri/mmst'

Unknown media type in type 'uri/mmsu'

Unknown media type in type 'uri/pnm'

Unknown media type in type 'uri/rtspt'

Unknown media type in type 'uri/rtspu'

Unknown media type in type 'fonts/package'

Unknown media type in type 'interface/x-winamp-skin'

updating desktop database
Error in file "/usr/share/applications/clamtk.desktop": "vms/exe" is an invalid MIME type ("vms" is an unregistered media type)

--- RUN ERRORS ---
 ./run-lottanzb.sh
23:19:05 lottanzb.core Starting LottaNZB 0.6...
23:19:05 lottanzb.backend Connection to 'localhost:8080' established.
/home/todd/projects/lottanzb/lottanzb/lottanzb/core/__init__.py:95: PangoWarning: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='DejaVu Sans 7.03125', text=''
  gtk.main()
**
Gdk:ERROR:/build/buildd/gtk+2.0-2.20.1/gdk/gdkregion-generic.c:1108:miUnionNonO: assertion failed: (y1 < y2)
Aborted

Question information

Language:
English Edit question
Status:
Solved
For:
LottaNZB Edit question
Assignee:
No assignee Edit question
Solved by:
Todd Allen
Solved:
2010-12-20
Last query:
2010-12-20
Last reply:
2010-12-20
Severin Heiniger (severinh) said : #1

Thanks for all the feedback!

During the development of LottaNZB 0.6, in terms of deployment mechanisms, the primary focus has been on the daily builds, which is why I wasn't aware of the errors displayed during the manual build process. As you pointed out, they can safely be ignored and I just committed a fix that causes them to stop appearing. As for the installation errors, they originate from some third-party application that is invoked during the installation process and don't seem to have any negative effect on LottaNZB.

As far as the crash of LottaNZB is concerned, I also experience it alot and it's the main reason why LottaNZB 0.6 has not been released yet. See bug #692635.

Todd Allen (speedebikes) said : #2

Thanks! I pulled the new revisions and the build errors are gone.