command-not-found version: 0.3 Python version: 3.11.6 final 0 No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 23.10 Release: 23.10 Codename: mantic

Bug #2065518 reported by Abylay Slamzhanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
command-not-found
New
Undecided
Unassigned

Bug Description

next expected at least 1 argument, got 0
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/CommandNotFound/util.py", line 23, in crash_guard
    callback()
  File "/usr/lib/command-not-found", line 90, in main
    cnf = CommandNotFound.CommandNotFound(options.data_dir)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 76, in __init__
    self.sources_list = self._getSourcesList()
                        ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 138, in _getSourcesList
    from aptsources.sourceslist import SourcesList
  File "/usr/lib/python3/dist-packages/aptsources/sourceslist.py", line 35, in <module>
    from typing import (
  File "/usr/lib/python3.11/typing.py", line 14, in <module>
    print(next())
          ^^^^^^

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.