[Bug 605128] Re: gnome-language-selector crashed with OSError in find_string_and_replace()
This issue was resolved through the solution to bug 645774. ** Changed in: language-selector (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/605128 Title: gnome-language-selector crashed with OSError in find_string_and_replace() -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 605128] Re: gnome-language-selector crashed with OSError in find_string_and_replace()
Same problem here. Here you are the console output: ja...@katu ~ $ sudo gnome-language-selector [sudo] password for janus: /usr/lib/python2.6/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py:788: GtkWarning: gtk_cell_view_set_cell_data: assertion `cell_view-priv-displayed_row != NULL' failed cell = combo.get_child().get_cell_renderers()[0] en Traceback (most recent call last): File /usr/lib/python2.6/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py, line 78, in wrapper res = f(*args, **kwargs) File /usr/lib/python2.6/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py, line 1062, in on_treeview_locales_drag_end self.writeUserLanguage(envLanguage) File /usr/lib/python2.6/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py, line 781, in writeUserLanguage self.writeUserLanguageSetting(userLanguage=languageString) File /usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py, line 201, in writeUserLanguageSetting find_string_and_replace(findString, setString, conffiles) File /usr/lib/python2.6/dist-packages/LanguageSelector/utils.py, line 36, in find_string_and_replace os.rename(out.name, fname) OSError: [Errno 18] Lien croisé de périphéque invalide Traceback (most recent call last): File /usr/lib/python2.6/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py, line 78, in wrapper res = f(*args, **kwargs) File /usr/lib/python2.6/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py, line 90, in wrapper res = f(*args, **kwargs) File /usr/lib/python2.6/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py, line 1107, in on_combobox_locale_chooser_changed self.writeUserDefaultLang() File /usr/lib/python2.6/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py, line 761, in writeUserDefaultLang self.writeUserLangSetting(userLang=code) File /usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py, line 193, in writeUserLangSetting find_string_and_replace(findString, setString, conffiles) File /usr/lib/python2.6/dist-packages/LanguageSelector/utils.py, line 36, in find_string_and_replace os.rename(out.name, fname) OSError: [Errno 18] Lien croisé de périphéque invalide The french Lien croisé de périphéque invalide means crossed link from invalid device -- gnome-language-selector crashed with OSError in find_string_and_replace() https://bugs.launchpad.net/bugs/605128 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 605128] Re: gnome-language-selector crashed with OSError in find_string_and_replace()
** Changed in: language-selector (Ubuntu) Assignee: (unassigned) = SkillNet (schimorinkato) -- gnome-language-selector crashed with OSError in find_string_and_replace() https://bugs.launchpad.net/bugs/605128 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 605128] Re: gnome-language-selector crashed with OSError in find_string_and_replace()
+1 Not related to btrfs or complete/incomplete set of language packages installed. -- gnome-language-selector crashed with OSError in find_string_and_replace() https://bugs.launchpad.net/bugs/605128 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 605128] Re: gnome-language-selector crashed with OSError in find_string_and_replace()
I am also using ext4. I chose Norwegian (bokmål) as my default language during install, and the install process went along just fine in norwegian, but after the system was installed it went back to english and the language-selector crashes after you've selected another language and entered sudo password to install it. -- gnome-language-selector crashed with OSError in find_string_and_replace() https://bugs.launchpad.net/bugs/605128 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 605128] Re: gnome-language-selector crashed with OSError in find_string_and_replace()
Some more info about the bug: Before it happened, I went to the language support in the administration menu. I've asked to install missing language packages. After I confirm to install nothing happened (although I required to fill root password). After all that I selected Hebrew as default language in the language selector. -- gnome-language-selector crashed with OSError in find_string_and_replace() https://bugs.launchpad.net/bugs/605128 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 605128] Re: gnome-language-selector crashed with OSError in find_string_and_replace()
The missed language packages I've required to install: thunderbird- locale-en-us thunderbird-locale-en-gb kde-l10n-engb openoffice.org-help- en-gb openoffice.org-l10n-en-gb language-pack-kde-en openoffice.org- help-en-us openoffice.org-l10n-en-za openoffice.org-hyphenation openoffice.org-hyphenation-en-us openoffice.org-thesaurus-en-au openoffice.org-thesaurus-en-us kde-l10n-he language-pack-kde-he openoffice.org-l10n-he thunderbird-locale-he -- gnome-language-selector crashed with OSError in find_string_and_replace() https://bugs.launchpad.net/bugs/605128 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 605128] Re: gnome-language-selector crashed with OSError in find_string_and_replace()
I installed manually the packages but the bug still exists without any changes affected by this installation. -- gnome-language-selector crashed with OSError in find_string_and_replace() https://bugs.launchpad.net/bugs/605128 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 605128] Re: gnome-language-selector crashed with OSError in find_string_and_replace()
I think this affects enough people, including myself, that we can mark this confirmed. thank you, duanedesign ** Changed in: language-selector (Ubuntu) Status: New = Confirmed -- gnome-language-selector crashed with OSError in find_string_and_replace() https://bugs.launchpad.net/bugs/605128 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 605128] Re: gnome-language-selector crashed with OSError in find_string_and_replace()
FYI, this may be related to the fact that / is a btrfs filesystem. I'm experiencing this bug with EXT4 -- gnome-language-selector crashed with OSError in find_string_and_replace() https://bugs.launchpad.net/bugs/605128 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 605128] Re: gnome-language-selector crashed with OSError in find_string_and_replace()
I have this bug as well. What happens is in utils.py, an os.rename call is made which tries to overwrite a temporarily modified home profile that is in /tmp over the actual .profile in your home directory. It fails with Invalid cross-device link. Did an strace on it all and saw a rename system call die with -1 EXDEV (Invalid cross-device link). The rename system call does not work across file-systems, and it failed. There are numerous ways to fix this, and I don't know all the details about what this package needs and why it might not to use shutil.move. Nonetheless, the current way obviously does not work for a lot of people, including myself. As I just want this to work on my system I have created a patch, and now it is working for me. The package maintainer can use my patch or do something else if they know more what is needed for a broader audience. It is working now for me though with my patch. ** Patch added: Hacked patch prevents crash https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/605128/+attachment/1510009/+files/utils.py.diff -- gnome-language-selector crashed with OSError in find_string_and_replace() https://bugs.launchpad.net/bugs/605128 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 605128] Re: gnome-language-selector crashed with OSError in find_string_and_replace()
** Tags added: patch -- gnome-language-selector crashed with OSError in find_string_and_replace() https://bugs.launchpad.net/bugs/605128 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 605128] Re: gnome-language-selector crashed with OSError in find_string_and_replace()
Just changing the version of English produced the crash. -- gnome-language-selector crashed with OSError in find_string_and_replace() https://bugs.launchpad.net/bugs/605128 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 605128] Re: gnome-language-selector crashed with OSError in find_string_and_replace()
** Visibility changed to: Public -- gnome-language-selector crashed with OSError in find_string_and_replace() https://bugs.launchpad.net/bugs/605128 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs