Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
poezio
poezio
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 178
    • Issues 178
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 8
    • Merge Requests 8
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • poezio
  • poeziopoezio
  • Issues
  • #3556

Closed
Open
Opened Oct 03, 2021 by Kim Alvefur@Zash

Exception in `/bookmarks`

Run command /bookmarks

See in error.log

2021-10-03 13:53:52,096 ERROR:base_events:Exception in callback Core.on_input_readable()
handle: <Handle Core.on_input_readable()>
Traceback (most recent call last):
  File "/usr/lib/python3.9/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/home/zash/src/poezio/poezio/core/core.py", line 672, in on_input_readable
    self.do_command(replace_line_breaks(char), False)
  File "/home/zash/src/poezio/poezio/core/core.py", line 829, in do_command
    self.tabs.current_tab.on_input(key, raw)
  File "/home/zash/src/poezio/poezio/tabs/rostertab.py", line 874, in on_input
    res = self.input.do_command(key, raw=raw)
  File "/home/zash/src/poezio/poezio/windows/inputs.py", line 751, in do_command
    res = Input.do_command(self, key, reset=reset, raw=raw)
  File "/home/zash/src/poezio/poezio/windows/inputs.py", line 457, in do_command
    res = self.key_func[key]()
  File "/home/zash/src/poezio/poezio/windows/inputs.py", line 776, in success
    res = self.on_success(self.get_text())
  File "/home/zash/src/poezio/poezio/tabs/rostertab.py", line 918, in execute_slash_command
    self.execute_command(txt)
  File "/home/zash/src/poezio/poezio/tabs/basetabs.py", line 356, in execute_command
    func(arg)
  File "/home/zash/src/poezio/poezio/decorators.py", line 41, in wrap
    result = func(*args, **kwargs)
  File "/home/zash/src/poezio/poezio/core/commands.py", line 581, in bookmarks
    tab = tabs.BookmarksTab(self.core, self.core.bookmarks)
  File "/home/zash/src/poezio/poezio/tabs/bookmarkstab.py", line 38, in __init__
    self.bookmarks_win = windows.BookmarksWin(self.bookmarks)
  File "/home/zash/src/poezio/poezio/windows/bookmark_forms.py", line 175, in __init__
    BookmarkJIDInput(bookmark),
  File "/home/zash/src/poezio/poezio/windows/bookmark_forms.py", line 41, in __init__
    jid.resource = field.nick or ''
  File "/home/zash/src/poezio/poezio-venv/src/slixmpp/slixmpp/jid.py", line 390, in resource
    self._resource = _validate_resource(value)
  File "/home/zash/src/poezio/poezio-venv/src/slixmpp/slixmpp/jid.py", line 170, in _validate_resource
    raise InvalidJID('Resource must not be 0 bytes')
slixmpp.jid.InvalidJID: Resource must not be 0 bytes

Apparently I have one(!) bookmark in the XEP-0048 bookmarks store without a <nick>Zash</nick>

poezio built from git with ./update.sh on Debian 11

Edited Oct 03, 2021 by Kim Alvefur
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: poezio/poezio#3556