← Back to team overview

sikuli-driver team mailing list archive

[Bug 1473920] Re: when i use IDE run my sikuli project file,I meet an error which named“[error] IDE: A non-IOException-problem when trying to save null Error: null”

 

I often have the same problem. This usually happens when indentation is
off or tabs are used instead of spaces. Really annoying, cause it simply
should not affect file save functionality in any way.

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

Title:
  when i use IDE run my sikuli project file,I meet an error which
  named“[error] IDE: A non-IOException-problem when trying to save null
  Error: null”

Status in Sikuli:
  New

Bug description:
  when i use IDE run my sikuli project file,I meet an error which
  named“[error] IDE: A non-IOException-problem when trying to save null
  Error: null”

  my sikuli project name is  Wechat and my file name  is Wechat.
  wechat file are following


  # -*- coding: utf-8 -*-
  from __future__ import with_statement
  from sikuliwrapper import *
  addImagePath(common.cfgImageLibrary)

  class Wechat(BaseLogger):
  	ROBOT_LIBRARY_SCOPE = 'TEST SUITE'

  	def __init__(self):
  		self.appCoordinates = (0, 0, 1024, 768)
  		
  	def startwechat(self):
  		click("wechat_icon.png")
  		wait(5)
  		click("more.png")
  		wait(5)
  		click("switch_account.png")
  		wait(5)
  		click("login_type.png")
  		wait(5)
  		click("account.png")
  		wait(5)
  		Settings.TypeDelay = 1
  		type("2919658499\n")
  		wait(5)
  		click("password.png")
  		wait(5)
  		Settings.TypeDelay=1
  		type("wanshen1\n")
  		wait(5)
  		click("login_button.png")		
      def search_public_number(self)
          click("search_button.png")
          wait(2)
  		Settings.TypeDelay=1
  		type("睿博研发")
          
          
  		
  	def runTest(self):
  		self.startwechat()
  		self.search_public_number()
      
  if __name__ == '__main__':
  	Wechat().runTest() 


  
  best regard 
  thanks

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


References