Fedora's unicode RPM dependencies
Bug #337798 reported by
Anders F Björklund
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Smart Package Manager |
Fix Released
|
Undecided
|
Unassigned | ||
smart (Fedora) |
Fix Released
|
High
|
Bug Description
rpm-4.6.0-7 allows unicode in provides and other dependencies, which causes "str". vs "unicode" issues in Smart / buildPackage().
TypeError: argument 1 must be str, not unicode
Related branches
lp:~afb/smart/staging
(Merged)
Changed in smart: | |
milestone: | none → 1.3 |
Changed in smart: | |
status: | Unknown → Confirmed |
Changed in smart: | |
status: | Confirmed → In Progress |
Changed in smart (Fedora): | |
status: | In Progress → Fix Committed |
Changed in smart (Fedora): | |
status: | Fix Committed → Fix Released |
tags: | added: fedora |
Changed in smart: | |
milestone: | 1.3 → 1.2.1 |
Changed in smart: | |
status: | New → Fix Committed |
Changed in smart: | |
status: | Fix Committed → Fix Released |
Changed in smart (Fedora): | |
importance: | Unknown → High |
To post a comment you must log in.
Description of problem:
'smart update' and 'smart --gui' abort with stack trace after adding
"bleeding edge" repositories.
Version-Release number of selected component (if applicable):
# smart --version
smart 1.1.1
How reproducible:
currently happens with every attempt to update, but it may depend on the repositories the user has loaded and the contents of those repositories
Steps to Reproduce:
1. - add updates-testing or development-source repository to smart
2. smart update
3. - observe exception
Actual results: sys.argv[ 1:]) opts.command, opts.argv) python2. 5/site- packages/ smart/interface .py", line 53, in run main(self. _ctrl, opts) python2. 5/site- packages/ smart/commands/ update. py", line 77, in main reloadChannels( ) python2. 5/site- packages/ smart/backends/ rpm/metadata. py", line 294, in load
Traceback (most recent call last):
File "/usr/bin/smart", line 195, in <module>
main(
File "/usr/bin/smart", line 168, in main
exitcode = iface.run(
File "/usr/lib64/
result = _command.
File "/usr/lib64/
ctrl.
File "control.py", line 387, in reloadChannels
File "/usr/lib64/
prvargs, reqargs, upgargs, cnfargs)
TypeError: argument 1 must be str, not unicode
Expected results:
smart update completes without error
Additional info: /bugs.launchpad .net/smart/ +bug/337798
probably same issue as reported here:
https:/