-
Notifications
You must be signed in to change notification settings - Fork 75
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
Scripts fail to edit/open in IDLE #89
Comments
You should be able to double click on the "#Edit Me" value, but it's not working for you for some reason. Are there any logs for Bit Slicer in the Console app? (you can search for Console using Spotlight). Also you can try to go into Bit Slicer's Settings/Preferences (in the Bit Slicer menu in the menubar). Go to Scripts tab, and try modifying the default script editor. Maybe that will help. By default it should try to open the The scripting guide is over here https://github.com/zorgiepoo/Bit-Slicer/wiki/Introduction-to-Scripting |
I get the same exact issue |
Did you try the above? I cannot do much without any sort of diagnostics/ hints here. |
Yes I followed this exact guide https://github.com/zorgiepoo/Bit-Slicer/wiki/Introduction-to-Scripting#your-first-script |
The debug logs are empty:
|
I'm using 1.7.12 (1152) |
The Console app is a separate app on your system you can find using Spotlight. Filter for
Please try this too. |
What macOS version are you running as well? |
Changing editor to VSCODE fixed it! Thanks. |
Do you have any idea what app is set as the default handler for |
It might be a good idea to pick literally any other editor (not textedit) because if people have them installed they usually prefer them anyways |
Looking at the icon, the problem here seems to be IDLE not TextEdit. I will have to try installing IDLE or a custom python installation myself to see if I can reproduce. |
I use IDLE too. |
It could be a good idea to warn to user to pick a different ide if edit is disabled on a script for whatever reason |
can't edit script with Cursor. |
CotEditor too. |
I can do it with Cursor. |
I can only reproduce the issue with IDLE. IDLE doesn't seem to like opening files through it using NSWorkspace. And we don't get any sort of failure on our end because the app actually does open but shortly terminates. This app has a very hacky way of getting itself launched. Nothing I can do here maybe short of filing a bug to them. |
Actually issue seemed to be how some python related env variables were getting passed down interfering with IDLE's configuration. Fix is made in d783566 (for macOS 10.15+ at least) |
I can't edit script value.
2023-08-14.15.34.55.mov
The text was updated successfully, but these errors were encountered: