← Back to team overview

sikuli-driver team mailing list archive

[Bug 1687013] Re: Cannot open xlrd module in Sikuli

 

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

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

Title:
  Cannot open xlrd module in Sikuli

Status in Sikuli:
  Confirmed

Bug description:
  Hi, I am using Sikuli tool in Window 7.
  I am start to use sikuli before two week, I have some work copy  cell string or number from Excel 2013 to paste Other application.
  seen last 2 days i am trying to Import "xldr" in Sikuli. But I cant I read all previous comments and problem on same issue . i am trying
  all ways copy xldr(try version 1.0 .1 and 0.9.3) folder paste in install directory /sikuli x/ libs , also give path using 

  in your script add:
  dir_xlrd = "absolute path to the xlrd directory"
  if not dir_xlrd in sys.path: sys.path.append(dir_xlrd)
  import xlrd
   
  I am install JRE7U84 but still not solve 

  i wright code only
  import xldr

  it show same error

  >>> import xlrd
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "C:\SikuliX\Lib\xlrd\__init__.py", line 397
      if peek == b"PK\x03\x04": # a ZIP file
                 ^
  SyntaxError: no viable alternative at input '"PK\x03\x04"'

  please help It too important for me  I am stuck on that be
  appreciated.......

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


References