Giter Site home page Giter Site logo

Comments (5)

kparal avatar kparal commented on June 27, 2024

Reported here in Bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1278031

from dnf-plugin-system-upgrade.

kparal avatar kparal commented on June 27, 2024

Another traceback related to Chinese locale:

Nov 04 21:04:21 ERROR 加载插件失败:system_upgrade
Nov 04 21:04:21 SUBDEBUG
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/dnf/plugin.py”, line 124, in import_modules
module = importlib.import_module(name)
File “/usr/lib64/python2.7/importlib/init.py”, line 37, in import_module
import(name)
File “/usr/lib/python2.7/site-packages/dnf-plugins/system_upgrade.py”, line 363, in
class SystemUpgradeCommand(dnf.cli.Command):
File “/usr/lib/python2.7/site-packages/dnf-plugins/system_upgrade.py”, line 369, in SystemUpgradeCommand
_(“OPTIONS”), _(“VERSION”))
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe9 in position 0: ordinal not in range(128)

The user says:

I comment off the line 368 and 368 in /usr/lib/python2.7/site-packages/dnf-plugins/system_upgrade.py
,then the problem is solved and my os updates to fedora 23 successfully

https://fedoramagazine.org/upgrading-from-fedora-22-to-fedora-23/#comment-449918

from dnf-plugin-system-upgrade.

yol avatar yol commented on June 27, 2024

Also affects ja_JP.utf8 and de_DE.utf8, so possibly all languages which use more than 7-bit ASCII characters.

from dnf-plugin-system-upgrade.

wgwoods avatar wgwoods commented on June 27, 2024

It looks like (at least part of) this is a problem in upstream DNF - see rpm-software-management/dnf#375 for more info.

PR #34 technically fixes the problem but since dnf.i18n.ucd* are being deprecated I'm inclined to try to find a solution that doesn't rely on that.

from dnf-plugin-system-upgrade.

xasx avatar xasx commented on June 27, 2024

It is also here
https://bugzilla.redhat.com/show_bug.cgi?id=1277895

from dnf-plugin-system-upgrade.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.