Imports fail due to unavailable locale

Bug #1894128 reported by Robie Basak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git-ubuntu
Triaged
Undecided
Unassigned

Bug Description

$ git ubuntu import -v -d hello hello
09/03/2020 16:45:06 - DEBUG:Executing: git config gitubuntu.lpuser
Traceback (most recent call last):
  File "/snap/git-ubuntu/x1/bin/git-ubuntu", line 11, in <module>
    load_entry_point('gitubuntu==1.0rc1', 'console_scripts', 'git-ubuntu')()
  File "/snap/git-ubuntu/x1/lib/python3.6/site-packages/gitubuntu/__main__.py", line 279, in main
    sys.exit(args.func(args))
  File "/snap/git-ubuntu/x1/lib/python3.6/site-packages/gitubuntu/importer.py", line 2384, in cli_main
    changelog_date_override_file=args.changelog_date_override_file,
  File "/snap/git-ubuntu/x1/lib/python3.6/site-packages/gitubuntu/importer.py", line 492, in main
    locale.setlocale(locale.LC_ALL, 'C.UTF-8')
  File "/snap/git-ubuntu/x1/usr/lib/python3.6/locale.py", line 598, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting

$ snap info git-ubuntu
...
installed: 1.0-rc1+git52.649af7b (x1) 117MB classic

$ cat /etc/cloud/build.info
build_name: server
serial: 20200701

This affects commit 649af7b on master.

Tags: snap

Related branches

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.