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
  • #279
Closed
Open
Issue created Apr 23, 2014 by Administrator@rootContributor

[Windows] Path is encoded and can't be jumped onto

Created by: ceilfors

The issue is caused by the autojump_utils#encode_local that is called by print_local. When I change the print_local to normal python print function, autojump works in Windows.

Result of autojump.py with print_local (broken) b'C:\j\foo'

Result of autojump.py with print (fixed) C:\j\foo

This issue is happening for tab completion too + other features of autojump.

Debugging information String before encode_local: C:\j\foo After encoded with utf-8: b'C:\j\foo' After encoded with sys.getfilesystemencoding(): b'C:\j\foo' Value of sys.getfilesystemencoding(): mbcs

Environment Windows 7 64-bit

Symptom autojump.txt writing is successful (contains data) Error message: autojump: directory foo not found try autojump --help for more information

Assignee
Assign to
Time tracking