Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console Error, searches for helpdb folder under the .package path. #75

Open
nekoniaow opened this issue Sep 17, 2024 · 1 comment
Open

Comments

@nekoniaow
Copy link

With the current version of KickAssemblerC64 and Sublime Build 4180,
KickAssemblerC64 generates an error in the console when Sublime initializes.

It looks like the KickassTooltip.py script tries to list the content of the helpdb folder, however it seems to generate that file's path by combining the path of the compiled/compressed package then asking the OS to list its content, which obviously cannot work.

Here is the callstack as present in the Sublime Console:

Traceback (most recent call last):
  File "/Users/****/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py", line 528, in on_api_ready
    plc()
  File "/Users/****/Library/Application Support/Sublime Text 3/Installed Packages/Kick Assembler (C64).sublime-package/KickassTooltips.py", line 171, in plugin_loaded
    tooltip.load()
  File "/Users/****/Library/Application Support/Sublime Text 3/Installed Packages/Kick Assembler (C64).sublime-package/KickassTooltips.py", line 74, in load
    self._load_definition()
  File "/Users/****/Library/Application Support/Sublime Text 3/Installed Packages/Kick Assembler (C64).sublime-package/KickassTooltips.py", line 85, in _load_definition
    for fname in os.listdir(dirname):
FileNotFoundError: [Errno 2] No such file or directory: '/Users/****/Library/Application Support/Sublime Text 3/Packages/Kick Assembler (C64)/helpdb'

As you can see, it searches in /Users/****/Library/Application Support/Sublime Text 3/Packages/Kick Assembler (C64)/helpdb which isn't a file system path.

@nekoniaow
Copy link
Author

I forgot to mention that this is on macOS (obviously).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant