[CSIDE] The ChoiceScript IDE

Okay sorry from the late reply.
So I cleaned up my cookies/cache and I also tried incognito mode and neither worked.
Chromebooks don’t have the f-keys so I’ll type out exactly what error message I’m getting.

Couldn’t load scene ‘startup’ The file doesn’t exist
Project: Practice
11/9/2021
Time:19:07

I tried this on my desktop windows computer and it works perfect but I would love to work on my story on my laptop so I can work outside of my home. I have an ipad, would the browser version work better on that?

CTRL+“Show Windows” is your screenshot tool on a chromebook. Add SHIFT to use click and drag for a partial screenshot.

1 Like

Try: https://www.reddit.com/r/chromeos/comments/av0ul7/how_do_you_open_chrome_developer_tools_on_a/?utm_source=amp&utm_medium=&utm_content=comments_view_all

To get the console open.

Not being able to load startup info isn’t very helpful on its own. CSIDE should work absolutely fine in a Chromebook. It won’t work very well on an iPad, as the editor and other features don’t properly support touch screens.

Unfortunately I don’t own a Chromebook so we’re having to guess/bumble through this a little bit.

If anyone else uses CSIDE without issue on a
Chromebook, your input would be very much appreciated.

2 Likes

I don’t know if this is the information you want but please check it out. I have NO clue what any of this means :sweat_smile:

Summary

all.min.js:19181 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
_readFile @ all.min.js:19181
Error with Permissions-Policy header: Unrecognized feature: ‘interest-cohort’.
Error with Permissions-Policy header: Unrecognized feature: ‘interest-cohort’.
util.js:109 Error: Couldn’t load scene ‘startup’
The file doesn’t exist.
at Scene.loadSceneFast (scene.js:270)
at Scene.execute (scene.js:521)
at safeCall (util.js:95)
at restoreGame (util.js:778)
at safeCall (util.js:97)
at clearScreen (ui.js:561)
at util.js:731
at safeCall (util.js:97)
at util.js:122
at safeCall (util.js:97)
safeCall @ util.js:109
restoreGame @ util.js:778
safeCall @ util.js:97
clearScreen @ ui.js:561
(anonymous) @ util.js:731
safeCall @ util.js:97
(anonymous) @ util.js:122
safeCall @ util.js:97
(anonymous) @ util.js:122
(anonymous) @ persist.js:483
util.js:110 Message: Couldn’t load scene ‘startup’
The file doesn’t exist.
safeCall @ util.js:110
restoreGame @ util.js:778
safeCall @ util.js:97
clearScreen @ ui.js:561
(anonymous) @ util.js:731
safeCall @ util.js:97
(anonymous) @ util.js:122
safeCall @ util.js:97
(anonymous) @ util.js:122
(anonymous) @ persist.js:483
util.js:111 Stack: Error: Couldn’t load scene ‘startup’
The file doesn’t exist.
at Scene.loadSceneFast (https://choicescriptide.github.io/web/node_modules/cside-choicescript/web/scene.js:270:26)
at Scene.execute (https://choicescriptide.github.io/web/node_modules/cside-choicescript/web/scene.js:521:16)
at safeCall (https://choicescriptide.github.io/web/node_modules/cside-choicescript/web/util.js:95:20)
at restoreGame (https://choicescriptide.github.io/web/node_modules/cside-choicescript/web/util.js:778:5)
at safeCall (https://choicescriptide.github.io/web/node_modules/cside-choicescript/web/util.js:97:20)
at clearScreen (https://choicescriptide.github.io/web/node_modules/cside-choicescript/web/ui.js:561:7)
at https://choicescriptide.github.io/web/node_modules/cside-choicescript/web/util.js:731:7
at safeCall (https://choicescriptide.github.io/web/node_modules/cside-choicescript/web/util.js:97:20)
at https://choicescriptide.github.io/web/node_modules/cside-choicescript/web/util.js:122:5
at safeCall (https://choicescriptide.github.io/web/node_modules/cside-choicescript/web/util.js:97:20)
safeCall @ util.js:111
restoreGame @ util.js:778
safeCall @ util.js:97
clearScreen @ ui.js:561
(anonymous) @ util.js:731
safeCall @ util.js:97
(anonymous) @ util.js:122
safeCall @ util.js:97
(anonymous) @ util.js:122
(anonymous) @ persist.js:483
run_index.html:1 Access to XMLHttpRequest at ‘https://www.choiceofgames.com/api/product-data.php?products=’ from origin ‘https://choicescriptide.github.io’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
www.choiceofgames.com/api/product-data.php?products=:1 Failed to load resource: net::ERR_FAILED

1 Like

Yep, that’s very helpful, thank you!
I’ll get back to you soon.

1 Like

Hi, I’ve recently decided to have fun with the coding system and try at it with a WIP; but I get this big red message whenever I open the app. It doesn’t stop me from doing anything at all but I assume it might poke its head later down the line and actually cause some harm to my work. Any help would be appreciated, thanks :slight_smile:

Screenshot

@LainyLu
In your case I do believe that startup.txt simply does not exist. Have you double-checked the Dropbox folder? You can get the project path by hovering over the project header (where the run button is etc.), it will appear in a tooltip.

I can’t otherwise replicate the issue on my end, I’m afraid.


@Judarkus I’ve PM’d you.

3 Likes

So I think I figured it out because it popped up. So my Dropbox exceeded its limits so I think I didn’t have enough storage for startup.txt maybe? Anyway, I cleaned out my Dropbox completely and reuploaded CSIDE and created a new project and it was then startup.txt appeared!!

Thank you so much for your help though, I hope this solution can help others too ^^!!!

2 Likes

That sounds very probable! Glad it’s working again :slight_smile:

1 Like

Are there any plans on being able to connect to github through the ide? I’m not sure how feasible this is, just curious.

How do you mean? I have no current plans to do anything, but happy to take suggestions.

I don’t know the best way to explain it. But for example, there’s a code editor app I use on my phone that is connected to one of my GitHub repos. So the repo is essentially represented as a folder on the app, and I can access all the files there.

So if I edit a text file “example.txt” in the master branch, and then save it on the code editor app; it automatically commits and pushes the changes to the repo. And it also continuously is updated when the repo is changed by through other means. So if I decide to edit the same “example.txt” file within my repo on my PC, the changes will also be shown on my code editor app. It’s essentially all in-sync. If you want, I can show you the exact code editor app on the Google Play Store

Sure, you can PM me a link. I’d sooner suggest people use git “manually” though, or Dropbox etc.

1 Like

I know how to use git commands on the CLI, I just thought it would be easier and conventient if there was a system like I referenced before. Essentially, some type of storage manager that isn’t just locally.

It’s not that much of a convenience compared to the effort of implementing it on the IDE. It’s really no effort at all to use the CLI and to be honest even as someone who uses git on a daily basis, auto-commit-and-push is not something most of us are looking for. Most people prefere to have more control of how and when their code gets committed. If you really want it, you can easily set Google drive desktop to backup your game folder, or setup git hooks to auto-commit and push at every save.

I wouldn’t know how hard it is to implement, but I’d imagine it’d be a feature that is not entirely unwarranted. This wouldn’t be the only IDE or Code Editor to have a system like this.

I understand your subjective view on not being any effort to constantly commit/push and pull, but I’d imagine that convenience is still a valid factor. This system I’m referring to is not a new concept.

I don’t want to use Google drive, and I could setup hooks (haven’t used them yet, don’t know how to implement with push and pull). But, as I stated, it’s just out of convenience. If it’s truly a wasteful effort to implement the feature (I got the idea from the Code Editor app I use, and VSCode), then I apologize for my lack of consideration.

Suggestions are always welcome. It’s something for the idea bank or wishlist at the very least. Unfortunately, it would indeed be quite the undertaking, and since I’m a sole developer and only (I believe) a minority would benefit from it, it probably isn’t something I’ll be pursuing anytime soon.

Please don’t let that discourage you from providing further suggestions and feedback though. It is both considered and appreciated.

5 Likes

I understand, I have no experience with software development so I wasn’t able to grasp the amount of effort it would take to achieve this. Yeah, seeing as it’s just me wanting the system, it wouldn’t be reasonable to implement it. Regardless, I appreciate your responses and encouragement of more suggestions. Thank you for your time

2 Likes

Silly question, but where is the download for v1.3.0? I’ve been trying to find it forever, but I have no idea where it is :'D

Just download v1.0.0 and it should automatically update… Feel free to PM if you have any problems :slight_smile: