← Back to team overview

sikuli-driver team mailing list archive

[Bug 1473920] [NEW] 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”

 

Public bug reported:

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

** 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/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


Follow ups