Zero Install

a decentralised cross-distribution software installation system

Trouble-shooting

ImportError: No module named pygtk
You need to install the python-gtk2 package (the name may vary on different distributions; python-gnome2 is another possibility.
ImportError: cannot import name cli
You've probably just upgraded your system from Python 2.3 to Python 2.4 (or similar). Simply install the injector again to fix it.

If the injector isn't doing what you expect, run it with logging turned up using either -v (verbose) or -vv (very verbose!). Use -c to prevent it switching to GUI mode too. Eg:

$ 0launch -vvc http://rox.sourceforge.net/2005/interfaces/Edit
INFO:root:Running 0launch 0.37 ['http://rox.sourceforge.net/2005/interfaces/Edit']; Python 2.5.2 (r252:60911, Oct  5 2008, 19:29:17) 
[GCC 4.3.2]
DEBUG:root:Initialising new interface object for http://rox.sourceforge.net/2005/interfaces/Edit
DEBUG:root:Loading cached information for <Interface http://rox.sourceforge.net/2005/interfaces/Edit>
  from /home/me/.cache/0install.net/interfaces/http%3a%2f%2frox.sourceforge.net%2f2005%2finterfaces%2fEdit
DEBUG:root:Supported systems: '{None: 2, 'Linux': 1}'
DEBUG:root:Supported processors: '{None: 5, 'x86_64': 0, 'i586': 2, 'i486': 3, 'i686': 1, 'i386': 4}'
DEBUG:root:Solve! root = http://rox.sourceforge.net/2005/interfaces/Edit
DEBUG:root:get_best_implementation(<Interface http://rox.sourceforge.net/2005/interfaces/Edit>), with feeds: []
DEBUG:root:Processing feed http://rox.sourceforge.net/2005/interfaces/Edit
DEBUG:root:Will use implementation sha1=329e6c0191f65ef2996b49837d04c4cfe6934758 (version 2.0)
DEBUG:root:Considering dependency <Dependency on http://rox.sourceforge.net/2005/interfaces/ROX-Lib;
  bindings: [<environ PYTHONPATH prepend ROX-Lib2/python>][]>
DEBUG:root:Initialising new interface object for http://rox.sourceforge.net/2005/interfaces/ROX-Lib
DEBUG:root:Loading cached information for <Interface http://rox.sourceforge.net/2005/interfaces/ROX-Lib>
  from /home/me/.cache/0install.net/interfaces/http%3a%2f%2frox.sourceforge.net%2f2005%2finterfaces%2fROX-Lib
DEBUG:root:get_best_implementation(<Interface http://rox.sourceforge.net/2005/interfaces/ROX-Lib>), with feeds: []
DEBUG:root:Processing feed http://rox.sourceforge.net/2005/interfaces/ROX-Lib
DEBUG:root:Will use implementation sha1new=9c116df3689d60df58925a7c634064ac2394f696 (version 2.0.5)
DEBUG:root:Staleness for <Feed http://rox.sourceforge.net/2005/interfaces/ROX-Lib> is 0.01 hours
DEBUG:root:Staleness for <Feed http://rox.sourceforge.net/2005/interfaces/Edit> is 0.01 hours
INFO:root:PYTHONPATH=/home/me/.cache/0install.net/implementations/sha1new=9c116df3689d60df58925a7c634064ac2394f696/ROX-Lib2/python
INFO:root:Executing: /home/me/.cache/0install.net/implementations/sha1=329e6c0191f65ef2996b49837d04c4cfe6934758/Edit/AppRun

Here are some known problems, and their solutions:

If you get other download errors, try fetching the failing URL using wget, e.g.:

$ 0launch http://...
Error downloading 'http://osdn.dl.sourceforge.net/sourceforge/zero-install/injector-gui-0.16.tgz':
HTTP Error 403: Forbidden: header 'Content-Type' value denied
$ wget http://...

If wget also fails, try opening the URL in your web browser. If one of these works, but 0launch doesn't, it may be that you are using an HTTP proxy. Your web browser is configured to use it, but your http_proxy environment variable is not set. Check your browser configuration and ensure that http_proxy is set correctly, e.g.:

$ export http_proxy=http://myproxy.server:444
$ 0launch http://...

If you still have problems, please write to the mailing list, and send the output of the commands above.