[Bug 280697] editors/fileobj fails to start due to a curses error
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 280697] editors/fileobj fails to start due to a curses error"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 280697] editors/fileobj fails to start due to a curses error"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 280697] editors/fileobj fails to start due to a curses error"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 280697] editors/fileobj fails to start due to a curses error"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 280697] editors/fileobj fails to start due to a curses error"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 Aug 2024 19:40:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280697
Bug ID: 280697
Summary: editors/fileobj fails to start due to a curses error
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: np@FreeBSD.org
I'm not able to run fileobj on a recent 14.1-STABLE system.
$ uname -a
FreeBSD dwarf 14.1-STABLE FreeBSD 14.1-STABLE #17
stable/14-n268102-6b1f530935c: Fri Jul 12 09:41:20 PDT 2024
root@dwarf:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
$ pkg info -I fileobj
fileobj-0.8.6_1 Portable hex editor with vi like interface
$ fileobj
Traceback (most recent call last):
File "/usr/local/bin/fileobj", line 29, in <module>
import fileobj.core
File "/usr/local/lib/python3.11/site-packages/fileobj/core.py", line 30, in
<module>
from . import allocator
File "/usr/local/lib/python3.11/site-packages/fileobj/allocator.py", line 24,
in <module>
from . import fileobj
File "/usr/local/lib/python3.11/site-packages/fileobj/fileobj.py", line 34,
in <module>
from . import screen
File "/usr/local/lib/python3.11/site-packages/fileobj/screen.py", line 33, in
<module>
from . import ncurses as _screen
File "/usr/local/lib/python3.11/site-packages/fileobj/ncurses.py", line 29,
in <module>
from . import kbd
File "/usr/local/lib/python3.11/site-packages/fileobj/kbd.py", line 47, in
<module>
_KEY_RESIZE = curses.KEY_RESIZE
^^^^^^^^^^^^^^^^^
AttributeError: module 'curses' has no attribute 'KEY_RESIZE'. Did you mean:
'KEY_RESUME'?
It looks like the curses in the python port is missing the KEY_RESIZE
attribute. Other KEY_ attributes are available though.
$ pkg info -Ix ^python
python-3.11_3,2 "meta-port" for the default version of Python
interpreter
python3-3_4 Meta-port for the Python interpreter 3.x
python311-3.11.9_1 Interpreted object-oriented programming language
$ python
Python 3.11.9 (main, Jul 9 2024, 16:57:46) [Clang 18.1.5
(https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15 on freebsd14
Type "help", "copyright", "credits" or "license" for more information.
>>> import curses
>>> curses.KEY_RESIZE
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'curses' has no attribute 'KEY_RESIZE'. Did you mean:
'KEY_RESUME'?
>>> curses.KEY_F1
265
>>>
--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Maintainer informed via mail
--
You are receiving this mail because:
You are the assignee for the bug.