← Back to team overview

sikuli-driver team mailing list archive

[Bug 853744] Re: If the image placed inside a folder has numeric file name, its not taking it as valid file name

 

** Changed in: sikuli
       Status: New => In Progress

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => x1.0

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

Title:
  If the image placed inside a folder has numeric file name, its not
  taking it as valid file name

Status in Sikuli:
  In Progress

Bug description:
  hi,
  images=("C:\images\1.png","C:\images\2.png")
  icon = ["Setting","Schedule","Vacation","Weather"]
  for img in images:
      
      if exists(img,0): print "exists"
      else: print "not found"

  For this piece of code, its not finding the match even if it available on the screen.
  it printing "not found"
  and am getting a error message, as following.
  [error] C:\images.png looks like a file, but can't be found on the disk. Assume it's text.

  But when change that filename as "icon1.png" and "icon2.png", it works
  fine.

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


References