Re: Can't run 0publish-gui on Ubuntu

Thomas Leonard <[email protected]>
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <CAG4opy8eJWrZAAy2=2xc3RNBDfpWAf6-wq8KVF3b5gQvCV783g@mail.gmail.com>
On 27 February 2015 at 17:34, Gustavo Narea
<[email protected]> wrote:
> Hello,
>
> I have Python and GTK libraries installed via APT, and I installed
> 0publish-gui using the following command:
>     0install add 0publish-gui
> http://0install.net/2007/interfaces/0publish-gui.xml
>
>
> But when I try to run 0publish-gui, I get the following error:
> ============
> $ 0launch http://0install.net/2007/interfaces/0publish-gui.xml
> Traceback (most recent call last):
>   File
> "/home/gustavo/.cache/0install.net/implementations/sha256new_DAN5QUVXBAISQGMY7SLLXSB65Y3IN2POYIKNBUU4YNQVOMSVLPWA/0publish-gui",
> line 10, in <module>
>     from main import FeedEditor, choose_feed
>   File
> "/home/gustavo/.cache/0install.net/implementations/sha256new_DAN5QUVXBAISQGMY7SLLXSB65Y3IN2POYIKNBUU4YNQVOMSVLPWA/main.py",
> line 7, in <module>
>     import gtk.glade
> ImportError: No module named glade
> /home/gustavo/.cache/0install.net/implementations/sha256=ccefa7b1873926de15430341b912466929fbff8116b6d0ad67c4df6d0c06243e/ROX-Lib2/python/rox/debug.py:45:
> GtkWarning: Theme file for default has no directories
>
>   box.show()
> ================
>
> Thoughts?

Glade used to be installed by default, and was a dependency of
0install itself, so 0publish-gui didn't bother listing it as a
dependency. You can work around it by installing python-glade2
manually with apt-get.

We should probably make a feed for it... though I'm using 0template to
publish things these days:

  http://0install.net/0template.html


-- 
Dr Thomas Leonard        http://0install.net/
GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.