Unable to start tool application

Started by scottbilas, May 03, 2009, 08:21:15 PM

Previous topic - Next topic

scottbilas

I'm not sure what I changed on my end, but I'm suddenly getting this in the output window when I run lua as a tool:

QuoteUnable to start C:\Users\sbilas\Proj\ta\main\c1\tools\bin\lua.exe test.lua

Now, if I go to the folder with test.lua and type in that exact command line above, it works fine. (Quick note: it may be better to add an error code to the "unable to start" to help with diagnosis.)

I ran Process Monitor, filtering on the path for "lua" and noticed something very strange. Please review the screen shot. After finding lua.exe, it tries to access a file using two paths stuck together that make no sense.

The first is c:\users\sbilas\proj, which is the working directory for HippoEDIT.
The second part is c:\users\sbilas\desktop\lua\lua mem optz, which is where I have test.lua.

These paths get stuck together for some reason. Is this the cause of the "unable to start" error? Lua.exe never gets executed, so it seems like HippoEDIT is unable to find the file it's trying to pass in on a command line.

My tool settings are:

Title = Execute Lua
Command = lua.exe
Icon = C:\Users\sbilas\Proj\ta\extern\lua\lua.ico
Arguments = %Document%
Initial directory = %FileDir%
Shortcut = F5
Save before = Current Document
Capture output = true

Is this something I'm doing wrong or a bug? Again, this used to work and I'm not sure what is different now.

alex

Hi Scott,

Yes, I can reproduce this. Problem probably is in space in file name (because of this, path is quoted, and later is not recogniyed as path by HE internal routines). Would try to fix this today to be available with new beta tomorrow.

Thanks a lot for bug report ;)

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]