← Back to team overview

sikuli-driver team mailing list archive

[Bug 1447636] Re: 1.1 IDE can't save scripts

 

Hm, no, actually, it persists through versions. The problem seems to
arise from init/classes as none of my simple scripts ever displayed that
behavior. As a test, you can try to save this text (it's a modified
robot framework integration example):

I tried to see if tehre is a consistent point at which it starts to fail
saving by adding/removing chunks of text but it seems to be somewhat
inconsistent


from __future__ import with_statement
from sikuli import *
from sikuli.Sikuli import *
addImagePath("pdi.sikuli")
class PDI(object):
	
	def __init__(self):
		self.appCoordinates = (0, 0, 1920, 1080)
	
	def startApp(self):
		calcApp = App("PDI")
		if not calcApp.window():
				App.open("K:\\Deploy\\Arm\\release\\ARMPDI.exe"); 
				wait(8)
		calcApp.focus(); 
		wait(1)
 
	def verifyApp(self):
		# check application
		if exists():
			print("PASS: Calculator window appeared")
		else:
			print("FAIL: No calculator window")
			raise("FAIL: No calculator window")

    def loginApp(self):
        type(Key.ENTER)

		
	def runTest(self):
		self.startApp()
		self.verifyApp()
	
 
if __name__ == "__main__":
	calc = Calculator()
	calc.runTest()

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

Title:
  1.1 IDE can't save scripts

Status in Sikuli:
  New

Bug description:
  Windows 7 64 bit, latest sikuli 1.1 jar file. when trying to save
  scripts I get:

  [error] IDE: A non-IOException-problem when trying to save null Error:
  null

  What's interesting it does seem to save .py file, but hmtl is empty

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


References