Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.1.4: empty google2ubuntu-manager window #50

Open
hotice opened this issue Mar 3, 2014 · 6 comments
Open

1.1.4: empty google2ubuntu-manager window #50

hotice opened this issue Mar 3, 2014 · 6 comments

Comments

@hotice
Copy link

hotice commented Mar 3, 2014

I've upgraded to version 1.1.4 in Ubuntu 14.04 and the googl2ubuntu-manager window is empty: the commands / hot-words are not displayed:

google2ubuntu-bug

Here's the terminal output displayed when running google2ubuntu-manager.py:

Error while reading config file
<type 'exceptions.AttributeError'>
("'NoneType' object has no attribute 'text'",)
'NoneType' object has no attribute 'text'
/usr/share/google2ubuntu/librairy/MainWindow.py:46: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  label_main = Gtk.Label("main")
/usr/share/google2ubuntu/librairy/SetupWindow.py:27: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  label1=Gtk.Label(_('Select your language'))
/usr/share/google2ubuntu/librairy/SetupWindow.py:31: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  label2=Gtk.Label(_('Set the recording time (seconds)'))
/usr/share/google2ubuntu/librairy/SetupWindow.py:34: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  label3=Gtk.Label(_("Set the music player's play command"))
/usr/share/google2ubuntu/librairy/SetupWindow.py:37: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  label4=Gtk.Label(_("Set the music player's pause command"))
/usr/share/google2ubuntu/librairy/SetupWindow.py:40: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  label5=Gtk.Label(_('Hotword mode'))
/usr/share/google2ubuntu/librairy/SetupWindow.py:43: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  label6=Gtk.Label(_('Set the noise threshold'))
/usr/share/google2ubuntu/librairy/SetupWindow.py:46: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  label7 = Gtk.Label(_('Set the hotword'))
/usr/share/google2ubuntu/librairy/MainWindow.py:48: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  label_config = Gtk.Label("config")
@benoitfragit
Copy link
Owner

For the first error:

Error while reading config file
<type 'exceptions.AttributeError'>
("'NoneType' object has no attribute 'text'",)
'NoneType' object has no attribute 'text'

You just have to remove the old ~/.config/google2ubuntu/google2ubuntu.xml
and you can also remove ~/.config/google2ubuntu/modules because the way we
store module has changed

thank you to report this

2014-03-03 12:20 GMT+01:00 Andrew notifications@github.com:

I've upgraded to version 1.1.4 (from PPA) recently in Ubuntu 14.04 and the
googl2ubuntu-manager window is empty: the commands / hot-words are not
displayed:

[image: google2ubuntu-bug]https://f.cloud.github.com/assets/325449/2308827/9481f89e-a2c5-11e3-8f10-0ce830e0828f.png

Here's the terminal output displayed when running google2ubuntu-manager.py:

Error while reading config file
<type 'exceptions.AttributeError'>
("'NoneType' object has no attribute 'text'",)
'NoneType' object has no attribute 'text'
/usr/share/google2ubuntu/librairy/MainWindow.py:46: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
label_main = Gtk.Label("main")
/usr/share/google2ubuntu/librairy/SetupWindow.py:27: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
label1=Gtk.Label(('Select your language'))
/usr/share/google2ubuntu/librairy/SetupWindow.py:31: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
label2=Gtk.Label(
('Set the recording time (seconds)'))
/usr/share/google2ubuntu/librairy/SetupWindow.py:34: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
label3=Gtk.Label(("Set the music player's play command"))
/usr/share/google2ubuntu/librairy/SetupWindow.py:37: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
label4=Gtk.Label(
("Set the music player's pause command"))
/usr/share/google2ubuntu/librairy/SetupWindow.py:40: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
label5=Gtk.Label(('Hotword mode'))
/usr/share/google2ubuntu/librairy/SetupWindow.py:43: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
label6=Gtk.Label(
('Set the noise threshold'))
/usr/share/google2ubuntu/librairy/SetupWindow.py:46: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
label7 = Gtk.Label(_('Set the hotword'))
/usr/share/google2ubuntu/librairy/MainWindow.py:48: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
label_config = Gtk.Label("config")

Reply to this email directly or view it on GitHubhttps://github.com//issues/50
.

@hotice
Copy link
Author

hotice commented Mar 3, 2014

Indeed, removing ~/.config/google2ubuntu/google2ubuntu.xml and ~/.config/google2ubuntu/modules fixes this. So google2ubuntu should remove those folders automatically so it doesn't break the app for everybody who's upgrading from an older version...

@benoitfragit
Copy link
Owner

for the rest "deprecated constructor" I haven't got this error, because I
don't have the same version of GTK and PyGobject but I will try to fix it
by modifying constructor

2014-03-03 18:25 GMT+01:00 benoit franquet benoitfranquet@gmail.com:

For the first error:

Error while reading config file
<type 'exceptions.AttributeError'>
("'NoneType' object has no attribute 'text'",)
'NoneType' object has no attribute 'text'

You just have to remove the old ~/.config/google2ubuntu/google2ubuntu.xml
and you can also remove ~/.config/google2ubuntu/modules because the way
we store module has changed

thank you to report this

2014-03-03 12:20 GMT+01:00 Andrew notifications@github.com:

I've upgraded to version 1.1.4 (from PPA) recently in Ubuntu 14.04 and the

googl2ubuntu-manager window is empty: the commands / hot-words are not
displayed:

[image: google2ubuntu-bug]https://f.cloud.github.com/assets/325449/2308827/9481f89e-a2c5-11e3-8f10-0ce830e0828f.png

Here's the terminal output displayed when running
google2ubuntu-manager.py:

Error while reading config file
<type 'exceptions.AttributeError'>
("'NoneType' object has no attribute 'text'",)
'NoneType' object has no attribute 'text'
/usr/share/google2ubuntu/librairy/MainWindow.py:46: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
label_main = Gtk.Label("main")
/usr/share/google2ubuntu/librairy/SetupWindow.py:27: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
label1=Gtk.Label(('Select your language'))
/usr/share/google2ubuntu/librairy/SetupWindow.py:31: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
label2=Gtk.Label(
('Set the recording time (seconds)'))
/usr/share/google2ubuntu/librairy/SetupWindow.py:34: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
label3=Gtk.Label(("Set the music player's play command"))
/usr/share/google2ubuntu/librairy/SetupWindow.py:37: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
label4=Gtk.Label(
("Set the music player's pause command"))
/usr/share/google2ubuntu/librairy/SetupWindow.py:40: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
label5=Gtk.Label(('Hotword mode'))
/usr/share/google2ubuntu/librairy/SetupWindow.py:43: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
label6=Gtk.Label(
('Set the noise threshold'))
/usr/share/google2ubuntu/librairy/SetupWindow.py:46: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
label7 = Gtk.Label(_('Set the hotword'))
/usr/share/google2ubuntu/librairy/MainWindow.py:48: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for label or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
label_config = Gtk.Label("config")

Reply to this email directly or view it on GitHubhttps://github.com//issues/50
.

@benoitfragit
Copy link
Owner

Yes, I will put a version file ine the ~/.config/google2ubuntu folder to
see if version has changed then automaticcaly remove
~/.config/google2ubuntu/ folder

2014-03-03 18:30 GMT+01:00 Andrew notifications@github.com:

Indeed, removing ~/.config/google2ubuntu/google2ubuntu.xml and
~/.config/google2ubuntu/modules fixes this. So google2ubuntu should remove
those folders automatically so it doesn't break the app for everybody who's
upgrading from an older version...

Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-36534881
.

@uudruid74
Copy link

I'm having the same issue with "Unable To Translate", using a fresh install of the latest Ubuntu. Any ideas on where to begin?

Thanks

@VMF214
Copy link

VMF214 commented Jun 4, 2014

samething for me. installing on unbuntu 14.04 with PPA, use on french
Unable to translate message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants