Comments (20)
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 .py
files in your default text editor you have set for Python (maybe that editor is just not doing anything?)
The scripting guide is over here https://github.com/zorgiepoo/Bit-Slicer/wiki/Introduction-to-Scripting
from bit-slicer.
I get the same exact issue
from bit-slicer.
Did you try the above? I cannot do much without any sort of diagnostics/ hints here.
from bit-slicer.
Yes I followed this exact guide https://github.com/zorgiepoo/Bit-Slicer/wiki/Introduction-to-Scripting#your-first-script
from bit-slicer.
The debug logs are empty:
03:20:29: Cleaning up..
03:20:30: Initialization..
03:20:31: Cleaning up..
03:20:31: Initialization..
03:20:51: Initialization..
from bit-slicer.
I'm using 1.7.12 (1152)
from bit-slicer.
Are there any logs for Bit Slicer in the Console app? (you can search for Console using Spotlight).
The Console app is a separate app on your system you can find using Spotlight. Filter for Bit Slicer
and let me know if any errors show up.
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 .py files in your default text editor you have set for Python (maybe that editor is just not doing anything?)
Please try this too.
from bit-slicer.
What macOS version are you running as well?
from bit-slicer.
Changing editor to VSCODE fixed it! Thanks.
from bit-slicer.
Do you have any idea what app is set as the default handler for .py
files on your system? I am curious which app this was not working for.
from bit-slicer.
![Screenshot 2023-08-20 at 03 31 11](https://private-user-images.githubusercontent.com/74624982/261827944-c808cd64-8899-412b-b404-d45ba0ce4bdd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg1NTc3NzQsIm5iZiI6MTcxODU1NzQ3NCwicGF0aCI6Ii83NDYyNDk4Mi8yNjE4Mjc5NDQtYzgwOGNkNjQtODg5OS00MTJiLWI0MDQtZDQ1YmEwY2U0YmRkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE2VDE3MDQzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE1YjIzZGJjNjgyNjE4ZDI1OTEzNDBiMjAwYTg1NjBkNGQxZmY1NzE3OTMzMjkwYjAzMTI5ZGZlZTgwZTMzODMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.KBY_h5IKUsjkcNFtT8-qbHTXg-x7D4R6xex_ibtlYmM)
One of those two (I think they are the same app anyway)
I have like 11 different python installations on my mac. Defualt one should be 3.8.16
from bit-slicer.
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
from bit-slicer.
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.
from bit-slicer.
I use IDLE too.
from bit-slicer.
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
from bit-slicer.
can't edit script with Cursor.
from bit-slicer.
CotEditor too.
from bit-slicer.
I can do it with Cursor.
Open setting and change "Edit Script with".
from bit-slicer.
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.
from bit-slicer.
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)
from bit-slicer.
Related Issues (20)
- Instacrash when searching HOT 11
- Memory cannot be searched because it may be running with elevated privileges. HOT 5
- Threading for a lot of While loops HOT 3
- Bit Slicer suddenly doesn't work for any app HOT 7
- [Feature Request] Can you add a feature that we can see decimal value in memory viewer or debugger. HOT 1
- Group-Search function HOT 3
- "<game name> memory cannot be searched due to system protections." HOT 5
- Support code injection for Apple Silicon HOT 3
- use external python or use pip of internal python HOT 6
- debugger defaults to ARM on x86 executable HOT 7
- Add closable section of variables HOT 1
- Allow use of symbol() function in variable address field HOT 5
- Feature request: Searching for multiples HOT 2
- Addresses not corresponding to addresses in ROM HOT 1
- ~1MB difference in 1.7.12 DMG file sizes HOT 6
- Need more guide of Scripting
- Feature Request: Nearby Search HOT 9
- Feature Request: Searching in Memory Viewer
- 1.8 Alphas HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bit-slicer.