Bugs


17
Jun 09

Installing Virtualbox on Ubuntu… error message

Whilst trying to install Virtualbox (full version) on Ubuntu Jaunty, the following error cropped up (installing using apt-get install virtualbox-2.2)

* modprobe vboxnetflt failed. Please use 'dmesg' to find out why

This can easily be solved with the following commands:

sudo /etc/init.d/vboxdrv setup

Then reinstall Virtualbox to make sure that everything is working properly now:

sudo apt-get install --reinstall virtualbox-2.2

That should produce no error messages now.


30
May 09

Gwibber Error 400 No Twitter Updates

After recently updating Gwibber to the latest daily version, I noticed that I was regularly getting the below error and that nothing was showing up in my Twitter timeline:

HTTPError: HTTP Error 400: Bad Request

The Traceback is as below:

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/__init__.py", line 50, in get_data
    for message in method(client):
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/twitter.py", line 207, in responses
    for data in self.get_direct_messages():
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/twitter.py", line 182, in get_direct_messages
    "https://twitter.com/direct_messages.json"))
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/twitter.py", line 158, in connect
    url, data, headers = {"Authorization": self.get_auth()})).read()
  File "/usr/lib/python2.6/urllib2.py", line 124, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.6/urllib2.py", line 389, in open
    response = meth(req, response)
  File "/usr/lib/python2.6/urllib2.py", line 502, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.6/urllib2.py", line 427, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.6/urllib2.py", line 361, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.6/urllib2.py", line 510, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 400: Bad Request

At first I thought that this was a problem with Gwibber, however, after a bit of research, it turns out that this is a problem at Twitters end. Basically, Twitter recently changed their API and now limits the number of update requests you can make per hour using Gwibber. If you have your Gwibber client set to update too regularly (i.e. every minute or so) then it will run out of update permissions before the hour is over and you will get lots of error messages. It is therefore recommended to set the update frequency to something a bit higher (5 minutes should be fine) and hopefully you shouldn’t see the error any more.

If you want to know how many more Twitter update requests you have remaining (for the current hour), there is a simple curl command that you can enter in a terminal that will prompt you for a password and then provide the info you need.

$ user@jonoxps:~$ curl -u yourusernamehere http://twitter.com/account/rate_limit_status.json
$ Enter host password for user 'yourusernamehere':
$ {"reset_time_in_seconds":1243702342,"remaining_hits":0,"hourly_limit":100,"reset_time":"Sat May 30 16:52:22 +0000 2009"}

Sure enough, as soon as the clock turned 16:52:22, my hourly_limit went back up to 100 and Gwibber started working again!

Hopefully that should clear things up for a few of you, there is more information about the bug on Launchpad.


17
Dec 08

Ubuntu: No icons visible on the desktop!

After some tidying up of my Ubuntu desktop, I noticed that all the icons on the desktop were missing after a reboot… they had just disappeared completely leaving some blank wallpaper!

Thankfully, I googled around and found a very simple solution to this problem. It appears that in all my hastiness to clear up and delete files, I also deleted the Documents folder from my home directory. Whilst I didn’t keep anything in this folder and didn’t use it at all, apparently it is necessary for Nautilus to display icons on the desktop.

To set your desktop back on the rails, simply do the following command (first make sure that you have indeed deleted your Documents folder and that it is not something else that is causing this problem for you):

mkdir ~/Documents

You should not need root privileges to execute the above command.

Hope that worked for you too – now just log out and back in again and your desktop should once again be full of clutter!