← Back to team overview

sikuli-driver team mailing list archive

[Bug 1317061] Re: Globals not found 10.9.2 Sikuli 1.0.1

 

Sure you have setup a version 1.0.1?

Looks like the 1.1.0-Beta1, which you should not use - has problems.

So please do a valid 1.0.1 installation starting again with an empty
setup folder.

If you have Sikuli ready in the Application folder, just start it, to be
sure it works.

Then in a terminal issue the command
/Applications/SikuliX-IDE.app/Contents/runIDE -d 3 -c

and try to load your failing script.

Since everything is logged in the terminal window, you might get more
infos on the problem reason.

If the IDE does not start up, then go to your personal Library folder
and delete EVERYTHING in folder Preferences starting with org.sikuli

The problem you mentioned in your original post:
In some script <Update_folders> there seems to be an <import Global>, that has some code on level 0, that is executed while it is imported.
This has on line 40 a statement
shutil.copytree(curDefaultGlobalModule, curGlobalModule)

and shutil.copytree in turn complains, that the file:
/testserver/Sikuli/Tokyo/Update_folders.sikuli/Global/Global_default.sikuli

is not available at this time.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1317061

Title:
  Globals not found 10.9.2 Sikuli 1.0.1

Status in Sikuli:
  New

Bug description:
  when trying to run my scripts that where developed on Rc3 and run
  flawlessly on that, i get some globals issue i cannot figure out!.

  [error] script [ Update_folders ] stopped with error in line 11
  [error] OSError ( !!WHILE IMPORTING!! [Errno 2] No such file or directory: '/testserver/Sikuli/Tokyo/Update_folders.sikuli/Global/Global_default.sikuli' )
  [error] --- Traceback --- error source first
  line: module ( function ) statement 
  114: shutil ( copytree ) OSError: !!WHILE IMPORTING!! [Errno 2] No such file or directory: '/testserver/Sikuli/Tokyo/Update_folders.sikuli/Global/Global_default.sikuli'
  40: Global ( <module> ) shutil.copytree(curDefaultGlobalModule, curGlobalModule)
  [error] --- Traceback --- end --------------

  if i try to open the Global/Global_default.sikuli', sikuli
  crashes!....

  this works on Rc3 930!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1317061/+subscriptions


References