Open hotice opened 10 years ago
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 labelmain = 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/benoitfragit/google2ubuntu/issues/50 .
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...
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 labelmain = 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/benoitfragit/google2ubuntu/issues/50 .
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/benoitfragit/google2ubuntu/issues/50#issuecomment-36534881 .
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
samething for me. installing on unbuntu 14.04 with PPA, use on french Unable to translate message
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:
Here's the terminal output displayed when running google2ubuntu-manager.py: