← Back to team overview

sikuli-driver team mailing list archive

[Bug 1460616] Re: [1.1.0] Error saving file in IDE in special situation (copy&paste code snippet)

 

** Summary changed:

- Error saving files in IDE
+ [1.1.0] Error saving file in IDE in special situation (copy&paste code snippet)

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

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

** Changed in: sikuli
    Milestone: None => 1.1.1

** Description changed:

+ **** the special situation 
+ from comment #14 and #15
+ 
+ This happened when I ran without saving a snipped of test code in New
+ ->Untitled tab. Then copied those code to existing saved tab. When I
+ tried to save the existing saved tabbed with snipped of Untitled tab
+ this happened for me.
+ 
+ --------------------------------------------------------------------
+ 
  I have finally been able to make a minimal test case for when IDE fails
  to save the file:
- 
  
  # -*- coding: utf-8 -*-
  import sys
  from sikuli import *
  from sikuli.Sikuli import *
  sys.path.append(projectPath)
  
  def testMessageEdit():
-     assert()
+     assert()
  
-                message21 = TableCell()
-         FilterTable.clickMessage(message21)
-         wait(2)
+                message21 = TableCell()
+         FilterTable.clickMessage(message21)
+         wait(2)
  
  if __name__ == "__main__":
-     testMessageEdit()
- 
+     testMessageEdit()
  
  Try entering the code above in a new file and save. It will report:
  [error] IDE: A non-IOException-problem when trying to save null Error: null
  
  This happens way too often and usually in files not as obvious as this
  one. It is so bad that I mostly have to work in notepad++ and only run
  scripts from IDE.

** Changed in: sikuli
   Importance: Undecided => High

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

Title:
  [1.1.0] Error saving file in IDE in special situation (copy&paste code
  snippet)

Status in Sikuli:
  In Progress

Bug description:
  **** the special situation 
  from comment #14 and #15

  This happened when I ran without saving a snipped of test code in New
  ->Untitled tab. Then copied those code to existing saved tab. When I
  tried to save the existing saved tabbed with snipped of Untitled tab
  this happened for me.

  --------------------------------------------------------------------

  I have finally been able to make a minimal test case for when IDE
  fails to save the file:

  # -*- coding: utf-8 -*-
  import sys
  from sikuli import *
  from sikuli.Sikuli import *
  sys.path.append(projectPath)

  def testMessageEdit():
      assert()

                 message21 = TableCell()
          FilterTable.clickMessage(message21)
          wait(2)

  if __name__ == "__main__":
      testMessageEdit()

  Try entering the code above in a new file and save. It will report:
  [error] IDE: A non-IOException-problem when trying to save null Error: null

  This happens way too often and usually in files not as obvious as this
  one. It is so bad that I mostly have to work in notepad++ and only run
  scripts from IDE.

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


References