fmoralesc / pastie

a simple *nix clipboard manager with application-indicator support
45 stars 7 forks source link

Pastie 0.6.5 does not start #25

Closed hotice closed 13 years ago

hotice commented 13 years ago

After upgrading to Pastie 0.6.5, it doesn't start anymore. So far I've tested it on Ubuntu 10.04.

Pastie version: 0.6.5-1ubuntu1~ppa

Terminal output:

andrei@andrei-desktop:~$ pastie Traceback (most recent call last): File "/usr/bin/pastie", line 55, in clipboard_protector = protector.ClipboardProtector() File "/usr/lib/pymodules/python2.6/pastielib/protector.py", line 84, in init self.prev_sel_dialog_key = prefs.get_sel_dialog_key() File "/usr/lib/pymodules/python2.6/pastielib/preferences.py", line 65, in get_sel_dialog_key return get_pref('sel_dialog_key') File "/usr/lib/pymodules/python2.6/pastielib/preferences.py", line 18, in get_pref if value.type.value_nick == 'int': AttributeError: 'NoneType' object has no attribute 'type'

hotice commented 13 years ago

Well this is weird. I got the above error 4-5 times. Now, after about 5 hours without doing anything, Pastie starts correctly. This is weird...

fmoralesc commented 13 years ago

It was because the gconf schema wasn't properly installed. I'll try to fix this asap.

hotice commented 13 years ago

I don't get it why now it works... :/

fmoralesc commented 13 years ago

Did you close ond open your session? The gconf database must have reloaded somehow.

hotice commented 13 years ago

I did not. I did upgrade a few other packages like Rhythmbox. It probably has something to do with that...

fmoralesc commented 13 years ago

That's helpful. Pastie's postinstall script must be not doing something it should (it's admittedly a hack, because I couldn't figure out how to make it handle gconf automatically using setuptools).

atomfrede commented 13 years ago

Same problem here. After logout and login again it works fine. But I think pastie was the only update I did (99% sure :)

fmoralesc commented 13 years ago

OK. I've updated pastie to 0.6.7. The problem should be fixed now. Closing.