sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #32689
[Bug 1460616] Re: Error saving files in IDE
BTW: with actual version of SikuliX 1.1.0 running scripts from IDE:
# -*- coding: utf-8 -*- # not needed, is standard
import sys # already imported
from sikuli import * # only needed in imported scripts, not in a main
from sikuli.Sikuli import * # wrong, do not use this anymore
sys.path.append(projectPath)
def testMessageEdit():
assert()
message21 = TableCell()
FilterTable.clickMessage(message21)
wait(2)
if __name__ == "__main__":
testMessageEdit()
… this looks like some Excel sheet processing: why not use the xlxx_suite (bundled with version 1.1.0):
xlrd
xlwt
xlutils
… more info in the Python module index.
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1460616
Title:
Error saving files in IDE
Status in Sikuli:
New
Bug description:
I have finally been able to make a minimal test case for when IDE
fails to save the file:
# -*- coding: utf-8 -*-
import sys
from sikuli import *
from sikuli.Sikuli import *
sys.path.append(projectPath)
def testMessageEdit():
assert()
message21 = TableCell()
FilterTable.clickMessage(message21)
wait(2)
if __name__ == "__main__":
testMessageEdit()
Try entering the code above in a new file and save. It will report:
[error] IDE: A non-IOException-problem when trying to save null Error: null
This happens way too often and usually in files not as obvious as this
one. It is so bad that I mostly have to work in notepad++ and only run
scripts from IDE.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1460616/+subscriptions
References