Subdownloader: LookupError: unknown encoding: utf_8_valencia

Bug #553827 reported by Pau Iranzo
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SubDownloader
In Progress
Undecided
Alessandro Losavio
kaa-base (Ubuntu)
In Progress
Undecided
Alessandro Losavio

Bug Description

My system locale is at this moment ca_ES@valencia and Subdownloader crash on startup because it doesn't recognize the locale. Actually, this is a variation of the ca_ES locale. The messages when I try to start it up are these:

pau@xps-karmic64:~$ subdownloader
Traceback (most recent call last):
  File "/usr/bin/subdownloader", line 42, in <module>
    import gui.main
  File "/usr/share/subdownloader/gui/__init__.py", line 9, in <module>
    from modules import APP_TITLE, APP_VERSION, SHAREWARE, SDService, subtitlefile, videofile
  File "/usr/share/subdownloader/modules/SDService.py", line 12, in <module>
    import modules.videofile as videofile
  File "/usr/share/subdownloader/modules/videofile.py", line 15, in <module>
    import metadata
  File "/usr/share/subdownloader/modules/metadata.py", line 8, in <module>
    import kaa.metadata as metadata
  File "/usr/lib/python2.6/dist-packages/kaa/__init__.py", line 29, in <module>
    import logger
  File "/usr/lib/python2.6/dist-packages/kaa/logger.py", line 36, in <module>
    from strutils import unicode_to_str
  File "/usr/lib/python2.6/dist-packages/kaa/strutils.py", line 38, in <module>
    ''.encode(ENCODING)
LookupError: unknown encoding: utf_8_valencia

summary: - Subdowloader crush at startup because "unknown encoding"
+ Subdowloader: LookupError: unknown encoding: utf_8_valencia
Changed in subdownloader:
status: New → Triaged
Changed in subdownloader:
milestone: none → 2.0.17-1
Revision history for this message
Alessandro Losavio (alo21) wrote : Re: Subdowloader: LookupError: unknown encoding: utf_8_valencia

Does this bug still persist?

Revision history for this message
Pau Iranzo (paugnu) wrote : Re: [Bug 553827] Re: Subdowloader: LookupError: unknown encoding: utf_8_valencia

Hi!

Need to ckeck. I'll let you know
El 30/10/2012 19:15, "Alessandro Losavio" <email address hidden> va
escriure:

> Does this bug still persist?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/553827
>
> Title:
> Subdowloader: LookupError: unknown encoding: utf_8_valencia
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/subdownloader/+bug/553827/+subscriptions
>

Revision history for this message
Pau Iranzo (paugnu) wrote : Re: Subdowloader: LookupError: unknown encoding: utf_8_valencia

Hi,

The bug still persist with the version 2.0.17. The error seems to be the same:

pau@pau-UX31E:~$ Traceback (most recent call last):
  File "/usr/bin/subdownloader", line 42, in <module>
    import gui.main
  File "/usr/share/subdownloader/gui/__init__.py", line 9, in <module>
    from modules import APP_TITLE, APP_VERSION, SHAREWARE, SDService, subtitlefile, videofile
  File "/usr/share/subdownloader/modules/SDService.py", line 15, in <module>
    import modules.videofile as videofile
  File "/usr/share/subdownloader/modules/videofile.py", line 15, in <module>
    import metadata
  File "/usr/share/subdownloader/modules/metadata.py", line 8, in <module>
    import kaa.metadata as metadata
  File "/usr/lib/python2.7/dist-packages/kaa/__init__.py", line 14, in <module>
    from kaa.base import *
  File "/usr/lib/python2.7/dist-packages/kaa/base/__init__.py", line 36, in <module>
    from . import logger
  File "/usr/lib/python2.7/dist-packages/kaa/base/logger.py", line 44, in <module>
    from .strutils import py3_str as logger_str_convert
  File "/usr/lib/python2.7/dist-packages/kaa/base/strutils.py", line 41, in <module>
    ''.encode(ENCODING)
LookupError: unknown encoding: utf_8_valencia

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kaa-metadata (Ubuntu):
status: New → Confirmed
Changed in subdownloader:
assignee: nobody → Alessandro Losavio (alo21)
status: Triaged → In Progress
Revision history for this message
Alessandro Losavio (alo21) wrote :

I check and realized that the bug touch kaa-metadata in general, and not subdownloader its self.

Changed in kaa-metadata (Ubuntu):
assignee: nobody → Alessandro Losavio (alo21)
status: Confirmed → In Progress
Max Bowsher (maxb)
summary: - Subdowloader: LookupError: unknown encoding: utf_8_valencia
+ Subdownloader: LookupError: unknown encoding: utf_8_valencia
affects: kaa-metadata (Ubuntu) → kaa-base (Ubuntu)
Changed in subdownloader:
milestone: 2.0.17-1 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.