I realise running sudo is a bad idea. However, I was seeing what would get it running again/at all.
That being said, I cannot actually start it without doing that first. I just get these messages endlessly until I run sudo:
$ polly
Polly 0.93.11 (pre-alpha 3.11)
Copyright (C) 2011 Marcelo Hashimoto
cache path: /home/User/.cache/polly
config path: /home/User/.config/polly
data home: /home/User/.local/share/polly
initializing.../usr/local/lib/python2.7/dist-packages/polly/gui/theme.py:91: GtkWarning: Theme directory of theme Azenis Icons (Blue) has no size field
self.window.realize()
Traceback (most recent call last):
File "/usr/local/bin/polly", line 303, in <module>
account_manager = gui.twitter.account.Manager(NAME, config_path, config_path_lock, setting_factory, proxy_controller, font_scheme, identifier_factory, status_bar)
File "/usr/local/lib/python2.7/dist-packages/polly/gui/twitter/account.py", line 486, in __init__
subtoken_secret = keyring.get_password(self.name, subtoken)
File "/usr/lib/python2.7/dist-packages/keyring/core.py", line 39, in get_password
return _keyring_backend.get_password(service_name, username)
File "/usr/lib/python2.7/dist-packages/keyring/backends/SecretService.py", line 53, in get_password
collection = self.get_default_collection()
File "/usr/lib/python2.7/dist-packages/keyring/backends/SecretService.py", line 45, in get_default_collection
collection.unlock()
File "/usr/lib/python2.7/dist-packages/secretstorage/collection.py", line 71, in unlock
return exec_prompt_glib(self.bus, prompt)[0]
File "/usr/lib/python2.7/dist-packages/secretstorage/util.py", line 121, in exec_prompt_glib
from gi.repository import GLib
File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 32, in <module>
raise ImportError('When using gi.repository you must not import static '
ImportError: When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject".
I had tested something else a day or two ago, and I found out if it is started with permissions I can keep restarting the program normally like there isn't a problem. It seems to be only after I connect an account that it starts bugging out with those (above) errors.
I realise running sudo is a bad idea. However, I was seeing what would get it running again/at all.
That being said, I cannot actually start it without doing that first. I just get these messages endlessly until I run sudo:
$ polly .cache/ polly .config/ polly .local/ share/polly ../usr/ local/lib/ python2. 7/dist- packages/ polly/gui/ theme.py: 91: GtkWarning: Theme directory of theme Azenis Icons (Blue) has no size field
Polly 0.93.11 (pre-alpha 3.11)
Copyright (C) 2011 Marcelo Hashimoto
cache path: /home/User/
config path: /home/User/
data home: /home/User/
initializing.
self. window. realize( )
Traceback (most recent call last): bin/polly" , line 303, in <module> account. Manager( NAME, config_path, config_path_lock, setting_factory, proxy_controller, font_scheme, identifier_factory, status_bar) lib/python2. 7/dist- packages/ polly/gui/ twitter/ account. py", line 486, in __init__ get_password( self.name, subtoken) python2. 7/dist- packages/ keyring/ core.py" , line 39, in get_password backend. get_password( service_ name, username) python2. 7/dist- packages/ keyring/ backends/ SecretService. py", line 53, in get_password default_ collection( ) python2. 7/dist- packages/ keyring/ backends/ SecretService. py", line 45, in get_default_ collection unlock( ) python2. 7/dist- packages/ secretstorage/ collection. py", line 71, in unlock glib(self. bus, prompt)[0] python2. 7/dist- packages/ secretstorage/ util.py" , line 121, in exec_prompt_glib python2. 7/dist- packages/ gi/__init_ _.py", line 32, in <module>
File "/usr/local/
account_manager = gui.twitter.
File "/usr/local/
subtoken_secret = keyring.
File "/usr/lib/
return _keyring_
File "/usr/lib/
collection = self.get_
File "/usr/lib/
collection.
File "/usr/lib/
return exec_prompt_
File "/usr/lib/
from gi.repository import GLib
File "/usr/lib/
raise ImportError('When using gi.repository you must not import static '
ImportError: When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject".
I had tested something else a day or two ago, and I found out if it is started with permissions I can keep restarting the program normally like there isn't a problem. It seems to be only after I connect an account that it starts bugging out with those (above) errors.