Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#34953 - [bpython] bpython-urwid incompatible with Python 3
Attached to Project:
Community Packages
Opened by Alain Kalker (ackalker) - Thursday, 25 April 2013, 16:13 GMT
Last edited by Balló György (City-busz) - Friday, 13 December 2013, 16:14 GMT
Opened by Alain Kalker (ackalker) - Thursday, 25 April 2013, 16:13 GMT
Last edited by Balló György (City-busz) - Friday, 13 December 2013, 16:14 GMT
|
DetailsDescription:
Running bpython-urwid gives an error which to me indicates that it isn't compatible with Python 3. Please consider removing python-urwid support from the package (as was done with pygtk support in bpython2). Additional info: * package version(s) bpython 0.12-2 python-urwid 1.1.1-1 * config and/or log files etc. Steps to reproduce: $ bpython-urwid Traceback (most recent call last): File "/usr/bin/bpython-urwid", line 9, in <module> load_entry_point('bpython==0.12', 'console_scripts', 'bpython-urwid')() File "/usr/lib/python3.3/site-packages/bpython/urwid.py", line 1302, in main myrepl.main_loop.screen.run_wrapper(run_with_screen_before_mainloop) File "/usr/lib/python3.3/site-packages/urwid/raw_display.py", line 242, in run_wrapper return fn() File "/usr/lib/python3.3/site-packages/bpython/urwid.py", line 1253, in run_with_screen_before_mainloop myrepl.main_loop.run() File "/usr/lib/python3.3/site-packages/urwid/main_loop.py", line 270, in run self._run() File "/usr/lib/python3.3/site-packages/urwid/main_loop.py", line 337, in _run self.event_loop.run() File "/usr/lib/python3.3/site-packages/urwid/main_loop.py", line 708, in run self._loop() File "/usr/lib/python3.3/site-packages/urwid/main_loop.py", line 783, in _loop alarm_callback() File "/usr/lib/python3.3/site-packages/urwid/main_loop.py", line 156, in cb callback(self, user_data) File "/usr/lib/python3.3/site-packages/bpython/urwid.py", line 1292, in start myrepl.start() File "/usr/lib/python3.3/site-packages/bpython/urwid.py", line 935, in start self.prompt(False) File "/usr/lib/python3.3/site-packages/bpython/urwid.py", line 969, in prompt caption = ('prompt', self.ps1.decode('ascii')) AttributeError: 'str' object has no attribute 'decode' |
This task depends upon

Oops, I found that str.decode() support was removed starting with Python 3.2, so this is not a generic "2to3" problem, and should be dealt with upstream.

Problem exists also in bpython-hg from the AUR. Reporting upstream.

https://bitbucket.org/bobf/bpython/issue/243/bpython-urwid-fails-with-python-331

I'll patch the issue when upstream has provided a patch.

Thanks for looking into this :)

Upstream has fixed/resolved this one now (2013-11-04).

It has not been fixed yet. Anyway, it's an upstream bug, so we can't do anything.