Ubuntu one won't run in Ubuntu 13.10 [with Norwegian locale/language]

Bug #1244314 reported by per-olav
36
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Ubuntu One Control Panel
Fix Released
Undecided
Unassigned
Ubuntu Translations
Fix Released
Critical
Unassigned

Bug Description

Running a fresh install of Ubuntu 13.10, and Ubuntu One doesn't start at all. When I tried to run it via terminal, I got the following output:

per-olav@data:~$ ubuntuone-control-panel-qt
Traceback (most recent call last):
  File "/usr/bin/ubuntuone-control-panel-qt", line 34, in <module>
    main.main(sys.argv, install_reactor_darwin=True)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/qt/main/__init__.py", line 161, in main
    installer=installer)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/qt/gui.py", line 137, in start
    installer=installer)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/qt/gui.py", line 49, in __init__
    self.ui.setupUi(self)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/qt/ui/mainwindow_ui.py", line 51, in setupUi
    self.control_panel = ControlPanel(self.centralwidget)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/qt/ubuntuonebin.py", line 39, in __init__
    self.ui.setupUi(self)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/qt/ui/controlpanel_ui.py", line 166, in setupUi
    self.wizard = UbuntuOneWizard()
  File "/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/qt/wizard.py", line 179, in __init__
    self.confirm_dialog = AreYouSure(self)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/qt/wizard.py", line 91, in __init__
    ARE_YOU_SURE_HELP.format(support_url=link))
IndexError: tuple index out of range

Revision history for this message
per-olav (pobr1990) wrote :

I tried Ubuntu 14.04 daily, and the same error occur. Before I had Ubuntu 12.04, and it did work there. Could it be something with my laptop (Asus Zenbook UX31)?

Revision history for this message
brummle (amyksv) wrote :

I have the same problem fresh ubuntu 13.10 install , same error message. I use a HP Compaq 6200 Pro

Revision history for this message
Thomas (silentchicken) wrote :

What locale are you all using? Norwegian like me?

Revision history for this message
per-olav (pobr1990) wrote :

Yes, Norwegian here!

Revision history for this message
per-olav (pobr1990) wrote :

Well, that solved it for me. I just changed the language to english, and when I logged in again, Ubuntu One worked!

Revision history for this message
Alexander Karlstad (alexander.karlstad) wrote :

Norwegian as well. This isn't the first time it's happened either, and I think the last time it was because of a bad translation or something. Should probably look that up because it is annoying as hell.

Revision history for this message
brummle (amyksv) wrote :

Same her Norwegian

Thomas (silentchicken)
summary: - Ubuntu one won't run in Ubuntu 13.10
+ Ubuntu one won't run in Ubuntu 13.10 [with Norwegian locale]
summary: - Ubuntu one won't run in Ubuntu 13.10 [with Norwegian locale]
+ Ubuntu one won't run in Ubuntu 13.10 [with Norwegian locale/language]
Revision history for this message
Karlkr (karl-k-forfang) wrote :

+1, Norwegian.

Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :

Work-around without changing language for entire desktop:
$ LANGUAGE=en_US.UTF-8 ubuntuone-control-panel-qt

Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :

There seems to be an error in the Norwegian/bokmål translation which causes variable interpolation of the localized string to fail. The string has a placeholder for support URL, and in the Norwegian translation, the placeholder is simply "{}" instead of "{support_url}".

I suggested a fixed translation for the ubuntuone-control-panel translation template:
https://translations.launchpad.net/ubuntu/saucy/+source/ubuntuone-control-panel/+pots/ubuntuone-control-panel/nb/+translate

(search for "If you need to know more")

Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :

Bug should be assigned to Ubuntu Norwegian Translators.

Changed in ubuntu-translations:
status: New → Triaged
assignee: nobody → Ubuntu Norwegian Translators (ubuntu-l10n-no)
Revision history for this message
Åka Sikrom (akrosikam) wrote :

Thanks for submitting this bug, Per-Olav. It appears I am responsible for the translation error that causes it. I have approved Øyvind's correction as a new translation.

Now, is there any way to get this new translation backported to Saucy and pushed out as a bug fix/update?
Whoever knows, please advise.

Åka Sikrom (akrosikam)
Changed in ubuntuone-control-panel:
status: New → In Progress
Changed in ubuntu-translations:
status: Triaged → In Progress
Changed in ubuntuone-control-panel:
status: In Progress → Confirmed
Revision history for this message
per-olav (pobr1990) wrote :

Thanks everybody for finding and fixing the problem. From this site: https://wiki.ubuntu.com/Bugs/Status

"If a bug is fixed in the current development release, it is Fix Released. If the bug also needs to be fixed in a stable release, use the "Target to release" link to nominate it for that release. "

So, if the fix is updated in the translation (as far as I understand it) this bug report has to be marked as "fix released" and "target to release". Then someone will check on it to be included in 13.10. But this is just how I understand it, and I'm no expert!

Revision history for this message
David Planella (dpm) wrote :

Thanks for bringing this up, we'll try to schedule a language pack update for next week

Changed in ubuntu-translations:
importance: Undecided → Critical
Revision history for this message
Åka Sikrom (akrosikam) wrote :

I have asked around a bit, and it appears our fix might be pushed out to 13.10-users. If we are lucky, it will happen within a couple of weeks. See 9:00-11:38 in the chatlogs here for reference: http://irclogs.ubuntu.com/2013/12/13/%23ubuntu-translators.txt

Thus, I am setting the status to "fix released" for ubuntu-translations (the translation itself), and "in progress" for ubuntuone-control-panel (the patch should be on its way). I will keep an eye on this and change the latter to "fix released" as well, if/once I can confirm that the patch has been released via the official repositories. If I take too long to provide an update, please feel free to bother me and/or do it yourself as well.

Again, thanks for reporting this bug. Definitely made me aware of how critically important it is that I keep my hands off the placeholders :)

Changed in ubuntu-translations:
status: In Progress → Fix Released
Changed in ubuntuone-control-panel:
status: Confirmed → In Progress
Revision history for this message
Åka Sikrom (akrosikam) wrote :

Hi all,

The fixed translation has now been released through the official Ubuntu repositories as part of a general language pack update (thanks to David Planella and quite possibly a few others as well). Thus, I am marking this as "Fix Released".

To make sure the update/patch gets installed on a (vanilla) 13.10 Saucy-system, simply run Update Manager (norsk: Oppdateringsverktøy), press Check (norsk: Sjekk), and once the check has finished press Install Updates (norsk: Installer oppdateringer). You can also run the command "sudo apt-get upgrade" in a terminal instead of using the graphical Update Manager. Regardless of which method you choose, a package called "language-pack-nb" should upgrade itself and fix this bug without further due. If not, please try to log out and then back in again.

TL/DR: Please notify me if you are still experiencing problems after updating/upgrading your language-pack-nb package.

Changed in ubuntuone-control-panel:
status: In Progress → Fix Released
Revision history for this message
per-olav (pobr1990) wrote :

Thanks for your help on this, Åka. I installed the updated language package in 14.04 now, and it worked. On 13.10 it didn't show up when I ran the update-manager, so I haven't tried it there. Again, thank you for fixing this, I guess it will show up in 13.10 in the near future.

Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :

Will the updated language package become available in 13.10 ?

Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :

Or, to rephrase: the updated language pack is not available in Ubuntu 13.10.

From just recently updated package cache:
# LANGUAGE=C apt-cache policy language-pack-nb
language-pack-nb:
  Installed: 1:13.10+20131012
  Candidate: 1:13.10+20131012
  Version table:
 *** 1:13.10+20131012 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status

So yes, fix is released, but only for 14.04 apparently.

Revision history for this message
Åka Sikrom (akrosikam) wrote :

You are right. It still has not updated in Saucy.
I am reverting this to "Fix committed", as that seems to be correct. Unfortunately, it appears there are no more planned language pack updates for Saucy, but I will check with a couple of people who know their way around Ubuntu development (more than me, anyway) to see if we can get it done for ubuntuone-control-panel anyway.

Thanks for notifying.

Revision history for this message
Åka Sikrom (akrosikam) wrote :

UPDATE: whoops. Seems I am unable to edit this bug's status for ubuntuone-control-panel.

per-olav (pobr1990)
Changed in ubuntuone-control-panel:
status: Fix Released → Fix Committed
Revision history for this message
per-olav (pobr1990) wrote :

Thanks for your efforts, Åka :-)

Revision history for this message
Thomas (silentchicken) wrote :

Still doesn't work after almost half a year... Tsk tsk :)

Revision history for this message
Åka Sikrom (akrosikam) wrote :

Our fix was comitted and released for Ubuntu 14.04. As I did not get a positive response from the language package builders within the beginning of July, I gave up on getting this backported to 13.10 considering that support for 13.10 ended on July 17th.

For this reason, I am also removing my team's subscription to this bug. If you experience similar issues with currently supported releases, please either file a new bug or - if you experience this exact same issue - notify me or another person from the Ubuntu Norwegian Translators team. Thanks.

Changed in ubuntu-translations:
assignee: Ubuntu Norwegian Translators (ubuntu-l10n-no) → nobody
Åka Sikrom (akrosikam)
Changed in ubuntuone-control-panel:
status: Fix Committed → Confirmed
status: Confirmed → Fix Released
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.