bloggandomene

elbryan's blog

Mutt and Google Contacts

Posted by elbryan Sat, 17 Apr 2010 10:10:00 GMT

I've recently begun using Mutt to read my mail.
One thing I'm used to do is to keep all my contacts synchronized online with Google Contacts.

After a (small) research, I've run into goobook , a small python program that relies on gdata to perform queries onto Google Contact service.

Continue reading...

Posted in , | no comments |



Metacity loses windows position

Posted by elbryan Thu, 21 Jan 2010 00:41:00 GMT

I finally found the end of skein! It's about 3 days that I'm googling and asking gentoo people trying to solve this annyoing problem I have. In practise, the applications that I minimize into the traybar, once restored, completely loses the postition that I gave to them.

I've so damn noticed that today when I played with Gwibber. It starts placed on the left, I place it on the right, then I minimize it into the traybar, I restore the apps after few seconds and it reappears on the left. With Compiz that didn't happen!

The solution? One frigging line command:

gconftool-2 --set -t boolean /apps/metacity/general/disable_workarounds false

It's quite funny the description of the key "Disable misfeatures that are required by old or broken applications". I think that there must be so many old and broken application nowadays..


Posted in , | Tags , , , | no comments |



Synchronize contacts: some advices

Posted by elbryan Tue, 19 Jan 2010 23:13:00 GMT

How much time did you spend about digging, testing email clients?

Once you think you've found your favorite unbeatible client comes the part where you import the contacts in your address book.

Well, in my previous post I've pointed out your attention to the "formats battle" between clients. This time I just want to indicate you a Thunderbird 3 extension that I've really enjoyed so much.

Time ago, I've decided to give Google Contacts a try. It's a really simple and clean service that hosts your Address Book.

Today I've tried to make Thunderbird cooperating with Google Accounts in order to have my Address Book synced. I did it!

The extension is called Zindus. It provides a clean GUI where you should put your credentials in. That's it.

Warning: I can't remember exactly how Zindus behaved at its first launch so I strongly suggest you to backup your Address Book before "just running it" since you might lose some contact.


Posted in , | Tags , , | no comments |



Migrating Address Book from Evolution to Thunderbird

Posted by elbryan Fri, 15 Jan 2010 12:22:00 GMT

Please, be aware of that this advice isn't strictly related to Evolution - Thunderbird migration. It's a common way to convert VCF files into LDIF/CSV.

Since I'm willing to try Thunderbird 3, I've noticed that it doesn't allow me to directly import VCF files into its address book. This is quite lame since the only format Evolution exports into is VCF and I've no luck with drag & drop and right-click menus.

Luckly I've hit a website that provides what I really need. This Online vCard Converter site performs a real-time online conversion, providing a simple and installation-free way to convert your VCF files.

Furthermore, it allows you to download the script and use it by yourself on your own machine.


Enjoy it!


Posted in | no comments |



Deluge 1.1.9 and zlib crash

Posted by elbryan Fri, 04 Dec 2009 09:58:00 GMT

Today I've rebooted my home-server and I discovered that deluged crashed at boot.

[ERROR   ] 11:43:01 main:207 can't decompress data; zlib not available
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/deluge/main.py", line 204, in start_daemon
    Daemon(options, args)
  File "/usr/lib/python2.6/site-packages/deluge/core/daemon.py", line 56, in __init__
    self.core = Core(options.port).run()
  File "/usr/lib/python2.6/site-packages/deluge/core/core.py", line 239, in run
    component.start()
  File "/usr/lib/python2.6/site-packages/deluge/component.py", line 198, in start
    _ComponentRegistry.start()
  File "/usr/lib/python2.6/site-packages/deluge/component.py", line 118, in start
    self.start_component(component)
  File "/usr/lib/python2.6/site-packages/deluge/component.py", line 125, in start_component
    self.start_component(depend)
  File "/usr/lib/python2.6/site-packages/deluge/component.py", line 125, in start_component
    self.start_component(depend)
  File "/usr/lib/python2.6/site-packages/deluge/component.py", line 130, in start_component
    self.components[name].start()
  File "/usr/lib/python2.6/site-packages/deluge/core/pluginmanager.py", line 69, in start
    self.enable_plugins()
  File "/usr/lib/python2.6/site-packages/deluge/pluginmanagerbase.py", line 84, in enable_plugins
    self.enable_plugin(name)
  File "/usr/lib/python2.6/site-packages/deluge/pluginmanagerbase.py", line 126, in enable_plugin
    egg.activate()
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2149, in activate
    self.insert_on(path)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2252, in insert_on
    self.check_version_conflict()
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2291, in check_version_conflict
    for modname in self._get_metadata('top_level.txt'):
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2143, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1144, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1136, in get_metadata
    return self._get(self._fn(self.egg_info,name))
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1201, in _get
    return self.loader.get_data(path)
ZipImportError: can't decompress data; zlib not available
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
  File "/usr/lib/python2.6/site-packages/deluge/core/preferencesmanager.py", line 451, in run
  File "/usr/lib/python2.6/urllib.py", line 1228, in quote_plus
  File "/usr/lib/python2.6/urllib.py", line 1217, in quote
<type 'exceptions.TypeError'>: 'NoneType' object is not callable
Unhandled exception in thread started by 
Error in sys.excepthook:

 

There's an easy workaround to solve this issue, that consists in editing /usr/bin/deluged as follows:

--- deluged.old 2009-12-04 12:44:38.000000000 +0100
+++ /usr/bin/deluged 2009-12-04 12:00:52.000000000 +0100
@@ -2,6 +2,7 @@
# EASY-INSTALL-ENTRY-SCRIPT: 'deluge==1.1.9','console_scripts','deluged' __requires__ = 'deluge==1.1.9' import sys
+import zlib
from pkg_resources import load_entry_point sys.exit(

 

I asked the guys upstream and I've been told that it's currently already fixed in the new 1.2.0 rc4. Since this problem seems not to be reproducible on every system, this is still a dirty (working) fix.


Posted in , | Tags | no comments |