← Back to team overview

sikuli-driver team mailing list archive

[Bug 799223] [NEW] during import search dir of importing script first

 

Public bug reported:

Factored out from the very long bug #799067.

The standard import in a Sikuli script does not search for an imported
.sikuli in the directory containing the main script. Need to mention
that normal Python does look up in this dir first. For Sikuli there is a
documented workaround - http://sikuli.org/docx/globals.html - but it is
not intuitive for Python users mainly because it doesn't explain why
this change of behavior is required.

RaiMan adds:
It is the users responsibility to avoid naming conflicts
between .py-modules and .sikuli-folders. This behavior should be
consistent for any supported type of running a Sikuli script.

** Affects: sikuli
     Importance: Undecided
         Status: New

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

Title:
  during import search dir of importing script first

Status in Sikuli:
  New

Bug description:
  Factored out from the very long bug #799067.

  The standard import in a Sikuli script does not search for an imported
  .sikuli in the directory containing the main script. Need to mention
  that normal Python does look up in this dir first. For Sikuli there is
  a documented workaround - http://sikuli.org/docx/globals.html - but it
  is not intuitive for Python users mainly because it doesn't explain
  why this change of behavior is required.

  RaiMan adds:
  It is the users responsibility to avoid naming conflicts
  between .py-modules and .sikuli-folders. This behavior should be
  consistent for any supported type of running a Sikuli script.

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


Follow ups

References