[request] want to run SikuliX from a stick or external drive (sandboxed)

Bug #1872369 reported by diego wanch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Medium
RaiMan

Bug Description

I'm running the IDE 2.0.3 on windows 10.
Straight double clicking its .jar.

At startup it says that neither Jython nor Jruby are installed, and I click OK to ignore it and use javascript only.

Whenever I try to run my script for the first time, it asks me to save it.
If I choose as folder.sikuli, it appears it was saved, but no .js file is created on the folder.
Script name remains "untitled*", though.

After that, I can click "save" multiple times. It appears to have worked, but, still, no javascript file is created on the folder.
(Every image file included in the script is saved)

I thought maybe it was saved somewhere else, but documentation (http://doc.sikuli.org/devs/system-design.html#the-structure-of-a-sikuli-source-executable-script-sikuli-skl) says the .sikuli folders will have all the images and the source code.

Revision history for this message
diego wanch (dfwdfw) wrote :

When quitting the IDE, a message pops up asking if i want to save all and exit.
Even if I click to save all, it won't save the code, onlye the images.

Revision history for this message
diego wanch (dfwdfw) wrote :

I found the cause.
My PC (not mine, my job workstation) has some security policies that forbid the user to write .sj files on external disks.
So, since I was running the sikuli IDE jar from my pen drive, it probably tried to save a temporary file there, failed for not having permissions, and the IDE did not treat the error.

Not sure if it's worth doing the correction. It is very specific and should affect almost no one.

Revision history for this message
RaiMan (raimund-hocke) wrote :

To allow this is on the list for 2.1.0

Changed in sikuli:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 2.1.0
summary: - IDE won't save source files on .sikuli folder
+ [request] want to run SikuliX from a stick or external drive (sandboxed)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.