robotframework / RIDE

Test data editor for Robot Framework
Apache License 2.0
958 stars 378 forks source link

Cannot create a new suite of tests in a file in Robot Framework IDE #112

Closed yanne closed 9 years ago

yanne commented 9 years ago

Originally submitted to Google Code by c.martin.taylor on 22 Jan 2009

To reproduce this error:

  1. Run RIDE from a directory with existing RF tests e.g. python -m robotide .
  2. Try to create a new suite as a file Observe the error dialog as in the attached screenshot file.
yanne commented 9 years ago

Originally submitted to Google Code by @pekkaklarck on 22 Jan 2009

Could you give some more information about the environment (OS, program versions) and about the error? The attachment mentioned in the description seems to be missing.

yanne commented 9 years ago

Originally submitted to Google Code by c.martin.taylor on 22 Jan 2009

Sorry, I forgot to add this attachment. The OS is WinXP and I'm running RIDE 0.11 with RF 2.0.4.

yanne commented 9 years ago

Originally submitted to Google Code by @pekkaklarck on 22 Jan 2009

This looks pretty weird. Something seems to go wrong when verifying dialog values. I'm on OSX currently and since RIDE doesn't work on this platform I cannot test this myself. Janne, can you still check this out before 0.12?

yanne commented 9 years ago

Originally submitted to Google Code by @yanne on 22 Jan 2009

This works in trunk, at least in Linux. I'll try it out in windows later, but I suspect it has been fixed when we refactored the source path handling in model. Anyway, as a workaround, you can start Robot IDE on level up in the directory tree, ie. python -m robotide my_tests, and everything should work.

yanne commented 9 years ago

Originally submitted to Google Code by @yanne on 23 Jan 2009

As suspected, this was already corrected and will be included in 0.12. Tested also in Windows, works properly

yanne commented 9 years ago

Originally submitted to Google Code by c.martin.taylor on 23 Jan 2009

This doesn't work if I start RIDE one level up if, as I always do, I start RIDE with python -m robotide . Its the "." that seems to cause the problem. If I start it from one level up with: python -m robotide MyTests then it works fine. Please test starting RIDE with "." on Linux and/or Mac to see if they do have this specific bug.

yanne commented 9 years ago

Originally submitted to Google Code by @pekkaklarck on 23 Jan 2009

Martin, did you try using the latest release or did you install from trunk? This ought to be fixed in trunk so please let us know if you can still reproduce it with that version. Let us know if you cannot install from trunk and we can try to create you special "release candidate" before of the 0.12 release that Janne is trying to release today.

yanne commented 9 years ago

Originally submitted to Google Code by @yanne on 23 Jan 2009

Alas, too late for that.

Please try with http://robotframework-ride.googlecode.com/files/robotide-0.12.win32.exe Should be fixed there.