GithubHelp home page GithubHelp logo

Comments (20)

zorgiepoo avatar zorgiepoo commented on June 21, 2024

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.

ttuleyb avatar ttuleyb commented on June 21, 2024

I get the same exact issue

from bit-slicer.

zorgiepoo avatar zorgiepoo commented on June 21, 2024

Did you try the above? I cannot do much without any sort of diagnostics/ hints here.

from bit-slicer.

ttuleyb avatar ttuleyb commented on June 21, 2024

Yes I followed this exact guide https://github.com/zorgiepoo/Bit-Slicer/wiki/Introduction-to-Scripting#your-first-script

from bit-slicer.

ttuleyb avatar ttuleyb commented on June 21, 2024

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.

ttuleyb avatar ttuleyb commented on June 21, 2024

I'm using 1.7.12 (1152)

from bit-slicer.

zorgiepoo avatar zorgiepoo commented on June 21, 2024

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.

zorgiepoo avatar zorgiepoo commented on June 21, 2024

What macOS version are you running as well?

from bit-slicer.

ttuleyb avatar ttuleyb commented on June 21, 2024

Changing editor to VSCODE fixed it! Thanks.

from bit-slicer.

zorgiepoo avatar zorgiepoo commented on June 21, 2024

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.

ttuleyb avatar ttuleyb commented on June 21, 2024
Screenshot 2023-08-20 at 03 31 11

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.

ttuleyb avatar ttuleyb commented on June 21, 2024

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.

zorgiepoo avatar zorgiepoo commented on June 21, 2024

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.

U5KUN avatar U5KUN commented on June 21, 2024

I use IDLE too.

from bit-slicer.

ttuleyb avatar ttuleyb commented on June 21, 2024

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.

U5KUN avatar U5KUN commented on June 21, 2024

can't edit script with Cursor.

from bit-slicer.

U5KUN avatar U5KUN commented on June 21, 2024

CotEditor too.

from bit-slicer.

U5KUN avatar U5KUN commented on June 21, 2024

I can do it with Cursor.
Open setting and change "Edit Script with".

from bit-slicer.

zorgiepoo avatar zorgiepoo commented on June 21, 2024

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.

zorgiepoo avatar zorgiepoo commented on June 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.