← Back to team overview

sikuli-driver team mailing list archive

[Bug 1486922] [NEW] File modified when opening

 

Public bug reported:

I have sikuly IDE 1.0.1 running on MacOSX 10.9

the procedure is the following:
def GetSeq():
    fl_seq=open('/Network/Servers/osxge1.acamarshipping.com/Users/gpreviato/src/AcroEmul/SeqRef.seq','r')    
    str_seq=fl_seq.read()
    fl_seq.close()
    seq=int(str_seq)
    return seq

The file server is a MacOSX server 10.6 exporting the file inf AFP.

Before run the procedure the content of the file is:
100000

after to have run the procedure, vi shows:
1000^@^@^@

this happens after the conter touch '10000'.
Having 10000 in the file, the content is changed in 1000^@^@

Everything was OK up to 9999

I'm trying to understand...

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

Title:
  File modified when opening

Status in Sikuli:
  New

Bug description:
  I have sikuly IDE 1.0.1 running on MacOSX 10.9

  the procedure is the following:
  def GetSeq():
      fl_seq=open('/Network/Servers/osxge1.acamarshipping.com/Users/gpreviato/src/AcroEmul/SeqRef.seq','r')    
      str_seq=fl_seq.read()
      fl_seq.close()
      seq=int(str_seq)
      return seq

  The file server is a MacOSX server 10.6 exporting the file inf AFP.

  Before run the procedure the content of the file is:
  100000

  after to have run the procedure, vi shows:
  1000^@^@^@

  this happens after the conter touch '10000'.
  Having 10000 in the file, the content is changed in 1000^@^@

  Everything was OK up to 9999

  I'm trying to understand...

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


Follow ups