Problems when installed as a `.sublime-package` file
See original GitHub issueI saw this at https://github.com/wbond/package_control_channel/pull/6294 and was interested to try it. Unfortunately, there seems to be a few problems at the moment. (I like the descriptiveness of your PR on the PC channel btw 😃)
Summary
When Requester is installed via Package Control, trying to use the Requester: Show Tutorial
item in the Command Palette throws lots of errors in the ST console instead of showing the tutorial.
Expected behavior
The functionality described in the readme would work, for example, the tutorial.
Actual behavior
Nothing happens (except the traceback) when trying to run the tutorial.
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 797, in run_
return self.run()
File "other_commands in C:\Users\Keith\AppData\Roaming\Sublime Text 3\Installed Packages\Requester.sublime-package", line 42, in run
File "./python3.3/shutil.py", line 109, in copyfile
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Keith\\AppData\\Roaming\\Sublime Text 3\\Packages\\Requester\\docs\\_tutorial.md'
Steps to reproduce
- Open ST
- Open Command Palette
- Type
PC: AR
- Select
Package Control: Add Repository
- Paste in
https://github.com/kylebebak/Requester
and press <kbd>Enter</kbd> - Open Command Palette
- Select
Package Control: Install Package
- Type
Requester
- Open Command Palette
- Type
rtut
and selectRequester: Show Tutorial
- Notice nothing happens. Open the ST console and see the traceback
Tips
Maybe add a .no-sublime-package
file to fix this problem, or ideally, find a way to make it work in a package 😃
Environment
- Operating system and version: Windows 7 x64
- Sublime Text Build: 3131
- Package Control version: 3.2.1
- Requester version: 1.2.0
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Troubleshooting - Package Control
There are no packages available for installation · Select the View > Show Console menu entry · Look for any lines starting with...
Read more >Install package not working - Technical Support - Sublime Forum
when i open the package control and input install package, the console s log tell me 'Package Control: Error downloading channel.
Read more >Problem to install Package Control on Sublime Text 3
It means your "packages control" is installed already. Now you can open your command plate (ctrl+shift+p) and type "Packages control:Install ...
Read more >Error after installing via Package Control #46 - GitHub
The error seems to happen when I interact with Package Control (add/remove packages). Syntax highlighting still works, so it's not a big deal....
Read more >plugins - SublimeText 3 and ConvertCase package beginner ...
1 Answer 1 · Click the Preferences > Browse Packages… menu · Browse up a folder and then into the Installed Packages/ folder...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@keith-hall
Hey Keith,
It would definitely be a good idea to mention it, tomorrow I’m going to push a release with some nice changes and close this issue:
Package Control: Satisfy Dependencies
, and a pop suggesting that user do this if one of theseAttributeError
s is raised becauserequests
isn’t being imported properlyI would be very grateful if you wanted to improve syntax highlighting, the HTTP headers, or anything else that could use some work =)
@keith-hall
I uploaded release 1.3.0 which includes the features in my previous comment.
There is information in the README, the tutorial, and the install message advising users to run
Package Control: Satisfy Dependencies
if nothing is working.Also, the default Markdown syntax is used as a fallback if MardownEditing syntax isn’t found. Neither of these syntaxes causes an error popup to appear if it’s not present.
I’m going to close this issue, and let AlexKvazos the package is ready. Thanks a lot!