I wanted to try BloGTK to write my WordPress blog posts, as suggested by the Apps for WordPress.com page.
I installed it on my Ubuntu 10.04 machine from the Software Center, then launched it from the Applications -> Internet menu, but it didn’t start. I could only see on the task bar that a window titled “Starting BloGTK” appears but nothing was displayed. I then tried to run it from the terminal, and this is what happened:
$ blogtk Traceback (most recent call last): File "/usr/bin/blogtk", line 14, in <module> import gtkhtml2 ImportError: No module named gtkhtml2
It seems that a python module is missing: I then tried to install it manually, but these are the results:
$ sudo apt-get install python-gtkhtml2 Reading package lists... Done Building dependency tree Reading state information... Done Package python-gtkhtml2 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package python-gtkhtml2 has no installation candidate
I then discovered that BloGTK has a PPA on Launchpad with a newer installation available, so I tried installing it from there:
$ sudo apt-get remove blogtk $ sudo apt-add-repository ppa:jayreding/ppa $ sudo apt-get update $ sudo apt-get install blogtk
I then started the newly installed program (now called blogtk2) and it opened correctly.
Chad Fluegge
2010/12/31
Great instructions!
However, those of us running maverick need to add the repos manually…
deb http://ppa.launchpad.net/jayreding/ppa/ubuntu lucid main
deb-src http://ppa.launchpad.net/jayreding/ppa/ubuntu lucid main
adding the ppa via cli will set the repo up as a maverick repo, which will not work.
togakangaroo
2011/01/02
Thanks for this, and also thanks Chad for the followup. Quick question. I was able to figure out that those two lines need to be edit to the /etc/apt/sources.list file – but doing apt-get update now results in a NO_PUBKEY error when it pings launchpad.net
Balau
2011/01/02
The command
sudo apt-add-repository ppa:jayreding/ppa
does not only add the lines to the sources list file, but also imports the authentication key. I didn’t try it, but from the Launchpad help:togakangaroo
2011/01/02
Hmm thanks for the reply apt-add-repository seemed to work but only after adding those two lines manually. Running apt-get update reported several 404 errors from launchpad.net but when I ran apt-get install it seems to have installed from the correct location and blogtk2 starts.
Thank god for virtualbox snapshots for letting me try this stuff 50 different ways.
tiago neiva
2011/07/14
Just some clarifications: sudo apt-add-repository ppa:jayreding/ppa is the correct way, but you do not have your ppa configured to other distributions (10.10 e 11.04). So a work around is to manually edit the repo list and replace maverick or natty for lucid.
then update and install.
Jeffrey
2012/01/30
not working for 11.10 tried all of your ideas
Balau
2012/01/30
Yeah, it seems the developing has been discontinued since 2010.