← Back to team overview

sikuli-driver team mailing list archive

[Bug 705203] Re: Sikuli IDE vs. NetBeans: Windows: filenames need double backslash

 

This is really a question

** Changed in: sikuli
       Status: Invalid => New

** Changed in: sikuli
       Status: New => Invalid

** Converted to question:
   https://answers.launchpad.net/sikuli/+question/142166

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

Title:
  Sikuli IDE vs. NetBeans: Windows: filenames need double backslash

Status in Sikuli:
  Invalid

Bug description:
  The following code executes perfectly in the Netbeans editor using Sikuli 10.2 yet when executed in the Sikuli 10 IDE 
  "NameError: name 'filename' is not defined'

  Error returned on W7x32

  import glob
  import os
  import subprocess
  import ConfigParser
  import string
  import commands

  config = ConfigParser.RawConfigParser()

  config.read('C:\\SikuliTest\\UserB.ini')

  global WebPath
  WebPath =('Z:\\ZZZautomation\\Web\\')

  BuildPath = ("Z:\BUILDS\Daily_BUILDS\QA_MainBranch_Install\*.install")
  BuildNumber =  glob.glob("Z:\BUILDS\Daily_BUILDS\QA_MainBranch_Install\*.install")
  for filename in BuildNumber:
        SmokeTestInfo = "SmokeTest_Build " + filename[45:50] + " Iteration 44"+".htm"
  global Number
  Number = filename[45:50]





References