sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #19777
[Bug 1210474] Re: [1.0] Problems importing xml.dom.minidom in script running mode
** Changed in: sikuli
Status: In Progress => Won't Fix
** Changed in: sikuli
Importance: Medium => Undecided
** Changed in: sikuli
Assignee: RaiMan (raimund-hocke) => (unassigned)
** Changed in: sikuli
Milestone: 1.1.0 => None
** Description changed:
--- problem ----
a Sikuli script xml.sikuli found on sys.path "hides" the Python module
+
+ users should obey the rule:
+ A Sikuli script, that can be found on sys.path at runtime, should not be named like a Python module, that is to be imported in the same script run.
-----------------------------------------------------------------------
with a simple script like
from xml.dom import minidom
I get the following error
File "/Users/colej/Documents/xml.sikuli/xml.py", line 1, in <module>
from xml.dom import minidom
ImportError: No module named dom !!WHILE IMPORTING!!
I did not find any method, to get minidom imported to use the
minidom.parse... options.
** Summary changed:
- [1.0] Problems importing xml.dom.minidom in script running mode
+ [1.0] some_name.sikuli hides a Python module some_name at import and gives weird errors
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1210474
Title:
[1.0] some_name.sikuli hides a Python module some_name at import and
gives weird errors
Status in Sikuli:
Won't Fix
Bug description:
--- problem ----
a Sikuli script xml.sikuli found on sys.path "hides" the Python module
users should obey the rule:
A Sikuli script, that can be found on sys.path at runtime, should not be named like a Python module, that is to be imported in the same script run.
-----------------------------------------------------------------------
with a simple script like
from xml.dom import minidom
I get the following error
File "/Users/colej/Documents/xml.sikuli/xml.py", line 1, in <module>
from xml.dom import minidom
ImportError: No module named dom !!WHILE IMPORTING!!
I did not find any method, to get minidom imported to use the
minidom.parse... options.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1210474/+subscriptions
References