[Bug 861930] Re: systemsettings crashed with AttributeError in __init__(): 'module' object has no attribute 'argv'

2011-10-11 Thread Graham Waugh
Fixed for me in language-selector-common version 0.56 released recently.
This was handled in bug #871922, I suggest this bug be closed as a duplicate of 
that one.
Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/861930

Title:
  systemsettings crashed with AttributeError in __init__(): 'module'
  object has no attribute 'argv'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/861930/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 861930] Re: systemsettings crashed with AttributeError in __init__(): 'module' object has no attribute 'argv'

2011-10-11 Thread FriedChicken
*** This bug is a duplicate of bug 871922 ***
https://bugs.launchpad.net/bugs/871922

I can confirm that this is fixed on today's update.

I will mark this bug as duplicate of #871922 as gureamu suggested.

** This bug has been marked a duplicate of bug 871922
   language-selector-kde crashes on startup

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/861930

Title:
  systemsettings crashed with AttributeError in __init__(): 'module'
  object has no attribute 'argv'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/861930/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 861930] Re: systemsettings crashed with AttributeError in __init__(): 'module' object has no attribute 'argv'

2011-10-10 Thread Paul L.
I can confirm that the temporary workaround provided by Graham Waugh in
#4 above works. Before I made the change to the LangCache.py file,
accessing System Settings  Locale  System Languages would result in an
error about a KCModule. Closing System Languages then resulted in a
crash of System Settings.

After making the change to line 41 and rebooting, I got no error and
accessing System Languages asked me if I wanted to download the
languages. I acknowledged, the download took place, and I was then able
to set my default system language to English (United States).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/861930

Title:
  systemsettings crashed with AttributeError in __init__(): 'module'
  object has no attribute 'argv'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/861930/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 861930] Re: systemsettings crashed with AttributeError in __init__(): 'module' object has no attribute 'argv'

2011-10-10 Thread Paul L.
Addendum:

Kubuntu 11.10 64-bit
KDE 4.7.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/861930

Title:
  systemsettings crashed with AttributeError in __init__(): 'module'
  object has no attribute 'argv'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/861930/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 861930] Re: systemsettings crashed with AttributeError in __init__(): 'module' object has no attribute 'argv'

2011-10-08 Thread Graham Waugh
** Branch linked: lp:language-selector

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/861930

Title:
  systemsettings crashed with AttributeError in __init__(): 'module'
  object has no attribute 'argv'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/861930/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 861930] Re: systemsettings crashed with AttributeError in __init__(): 'module' object has no attribute 'argv'

2011-10-08 Thread Graham Waugh
I linked this bug to the language-selector code on launchpad.
Revision 525 in language-selector (specifically the change to LangCache.py) 
causes this breakage in Kubuntu.
Changing line 41 of /usr/share/pyshared/LanguageSelector/LangCache.py from...
 if 'gnome-' not in sys.argv[0]:
to...
 if 'gnome-' not in 'foobar': #sys.argv[0]:
fixes the problem as a temporary workaround on Kubuntu, but will no doubt cause 
problems for Ubuntu with gnome.

Hope that helps someone.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/861930

Title:
  systemsettings crashed with AttributeError in __init__(): 'module'
  object has no attribute 'argv'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/861930/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 861930] Re: systemsettings crashed with AttributeError in __init__(): 'module' object has no attribute 'argv'

2011-10-05 Thread ankspo71
Kubuntu 11.10 beta 2, KDE 4.7.1
Running 'systemsettings' in the terminal, then going to 'systemsettings  
Locale  System Languages'  triggers a crash in systemsettings. The crash 
reporting service led me to this page.

Terminal's outout:
james@KDE:~$ systemsettings
james@KDE:~$ systemsettings(6835)/python (plugin): Error while running factory 
function for Python plugin:  language-selector/language-selector.py 
Traceback (most recent call last):
  File string, line 18, in kpythonpluginfactory_bridge
  File /usr/share/kde4/apps/language-selector/language-selector.py, line 9, 
in CreatePlugin
return QtLanguageSelector(/usr/share/language-selector/, component_data, 
widget_parent)
  File 
/usr/lib/python2.7/dist-packages/LanguageSelector/qt/QtLanguageSelector.py, 
line 51, in __init__
self.init()
  File 
/usr/lib/python2.7/dist-packages/LanguageSelector/qt/QtLanguageSelector.py, 
line 75, in init
self.updateLanguagesList()
  File 
/usr/lib/python2.7/dist-packages/LanguageSelector/qt/QtLanguageSelector.py, 
line 187, in updateLanguagesList
languageList = self._cache.getLanguageInformation()
  File /usr/lib/python2.7/dist-packages/LanguageSelector/LangCache.py, line 
376, in getLanguageInformation
li = LanguageInformation(self, code, lang)
  File /usr/lib/python2.7/dist-packages/LanguageSelector/LangCache.py, line 
41, in __init__
if 'gnome-' not in sys.argv[0]:
AttributeError: 'module' object has no attribute 'argv'
systemsettings(6835)/python (plugin): Failed to import module 
systemsettings(6835)/kcontrol KCModuleLoader::loadModule: This module has no 
valid entry symbol at all. The reason could be that it's still using 
K_EXPORT_COMPONENT_FACTORY with a custom X-KDE-FactoryName which is not 
supported anymore 



** Attachment added: systemsettings error messages
   
https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/861930/+attachment/2516072/+files/snapshot2.gif

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/861930

Title:
  systemsettings crashed with AttributeError in __init__(): 'module'
  object has no attribute 'argv'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/861930/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 861930] Re: systemsettings crashed with AttributeError in __init__(): 'module' object has no attribute 'argv'

2011-10-01 Thread Harald Sitter
** Visibility changed to: Public

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/861930

Title:
  systemsettings crashed with AttributeError in __init__(): 'module'
  object has no attribute 'argv'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/861930/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs