Forums

Error on running PlayonLinux

Auteur Réponses
st3pp3nw0lf Lundi 2 Juin 2008 à 5:27
st3pp3nw0lfAnonymous

Hi

I am getting the following error in my system:

Distro: Ubuntu Hardy AMD64
Software: Wine-1.0rc3, POL-3.0.1, Python-2.5.2
Desktop: Gnome
Error Details:
Traceback (most recent call last):
File "/usr/share/playonlinux/python/mainwindow.py", line 572, in <module>
lng.Lang()
File "/usr/share/playonlinux/python/lib/lng.py", line 13, in __init__
presLan = gettext.translation("pol", Variables.playonlinux_env+"/lang/locale", languages=[locale_[0]])
File "/usr/lib/python2.5/gettext.py", line 484, in translation
raise IOError(ENOENT, 'No translation file found for domain', domain)
IOError: [Errno 2] No translation file found for domain: 'pol'

I have tried installing the gettext package. But, it doesn't seem to work.

Thanks & Regards
snowball2050 Mardi 3 Juin 2008 à 4:12
snowball2050Anonymous

I'm having the same problem. Just installed POL via the ubuntu hardy repository

I'm running x86 but everything else is the same as previous poster (st3pp3nw0lf)

Thanks
i_love_it Mercredi 4 Juin 2008 à 19:37
i_love_itAnonymous

I get the same problem too.

Distro: Ubuntu Hardy 32bit
Software: Wine-1.0rc3, POL-3.0.1, Python-2.5.2
Desktop: Gnome

Error Detail:
Traceback (most recent call last):
File "/usr/share/playonlinux/python/guiv3.py", line 25, in <module>
lib.lng.Lang()
File "/usr/share/playonlinux/python/lib/lng.py", line 13, in __init__
presLan = gettext.translation("pol", Variables.playonlinux_env+"/lang/locale", languages=[locale_[0]])
File "/usr/lib/python2.5/gettext.py", line 484, in translation
raise IOError(ENOENT, 'No translation file found for domain', domain)
IOError: [Errno 2] No translation file found for domain: 'pol'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/apport_python_hook.py", line 78, in apport_excepthook
report_file = open(pr_filename, 'wt')
IOError: [Errno 13] Permission denied: '/var/crash/_usr_share_playonlinux_python_guiv3.py.1000.crash'

Original exception was:
Traceback (most recent call last):
File "/usr/share/playonlinux/python/guiv3.py", line 25, in <module>
lib.lng.Lang()
File "/usr/share/playonlinux/python/lib/lng.py", line 13, in __init__
presLan = gettext.translation("pol", Variables.playonlinux_env+"/lang/locale", languages=[locale_[0]])
File "/usr/lib/python2.5/gettext.py", line 484, in translation
raise IOError(ENOENT, 'No translation file found for domain', domain)
IOError: [Errno 2] No translation file found for domain: 'pol'

And it seems that some French guys are having the same problems here:
http://www.playonmac.com/en/topic-1613-PlayOnLinux_sur_Fedora8__No_translation_file_found_for_domain_pol.html

I can run POL using a completely new user, but can't run it with my current user.
It used to run well with my current user

Edité par i_love_it

st3pp3nw0lf Lundi 9 Juin 2008 à 8:41
st3pp3nw0lfAnonymous

hi

any further progess on this bug? Is it solved?

thanks
st3pp3nw0lf Mardi 10 Juin 2008 à 4:16
st3pp3nw0lfAnonymous

Thanks to Erwan on the French Forums.

Solution:
1) open "sudo vim /usr/share/playonlinux/python/lib/lng.py"
2) edit the line:
locale_ = locale.getdefaultlocale()
replacing it with
locale_ = locale.getpreferredencoding()
3) save and quit

Now playonlinux runs fine.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com