Author Topic: Unable to start tool application  (Read 684 times)

Offline Scott Bilas

  • Jr. Member
  • **
  • Posts: 51
  • Karma: +2/-0
    • View Profile
    • New Fun Blog
Unable to start tool application
« on: May 03, 2009, 07:21:15 pm »
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:

Quote
Unable 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.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1666
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: Unable to start tool application
« Reply #1 on: May 03, 2009, 08:31:20 pm »
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.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
894 Views
Last post December 05, 2008, 02:05:14 pm
by alex
2 Replies
425 Views
Last post March 19, 2009, 02:48:47 pm
by Arthur
0 Replies
384 Views
Last post April 21, 2009, 07:05:48 pm
by Arthur
1 Replies
721 Views
Last post July 26, 2009, 12:13:17 pm
by alex
4 Replies
441 Views
Last post August 12, 2010, 06:18:55 am
by knn