Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A autojump
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 158
    • Issues 158
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 54
    • Merge requests 54
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • William Ting
  • autojump
  • Issues
  • #274
Closed
Open
Issue created Apr 08, 2014 by Administrator@rootContributor

Needles must be a list error

Created by: amelio-vazquez-reina

I installed autojump from master, and I am working with the latest version of Zsh (5.0.5). I added:

[[ -s /path/to/autojump/etc/profile.d/autojump.zsh ]] && source /path/to/autojump/etc/profile.d/autojump.zsh

to my .zshrc, and everything works fine except for when I do:

j something_4 to select from one of the options available (there are 10 entries with the word something in it). When I do so, I get:

Traceback (most recent call last):
  File "/path/to/autojump", line 411, in <module>
    sys.exit(main(parse_arguments()))
  File "/path/to/autojump", line 400, in main
    find_matches(entries, tab_needle)))
  File "/path/to/autojump", line 165, in find_matches
    assert isinstance(needles, list), "Needles must be a list."
AssertionError: Needles must be a list.
autojump: directory 'something__4' not found
Try `autojump --help` for more information.

Why?

Assignee
Assign to
Time tracking