1. Re: Error in IDE

Thomas Jansen wrote:
> 
> Judith Evans wrote:
> > 
> > Judith Evans wrote:
> > > 
> > > Thomas Jansen wrote:
> > > > 
> > > > Judith Evans wrote:
> > > > > 
> > > > > Thomas Jansen wrote:
> > > > > > 
> > > > > > 
> > > > > > When i click on ide.exw i get an error.
> > > > > > Here is a snippet from EX.ERR 
> > > > > > 
> > > > > > C:\Ide\IDE.exw:115 in function displayErrorMessage() 
> > > > > > not enough values to print in printf() 
> > > > > >     number = 147
> > > > > >     param = {}
> > > > > >     ok = <no value>
> > > > > > 
> > > > > > ... called from C:\Ide\includes\ide_proj.ew:7310 in procedure
> > > > > > readProject()
> > > > > >     id = 33'!'
> > > > > >     fName = {}
> > > > > >     file = <no value>
> > > > > >     file1 = <no value>
> > > > > >     ignore = <no value>
> > > > > >     index = <no value>
> > > > > >     countControls = 0
> > > > > >     needProc = <no value>
> > > > > > 
> > > 
> > > If the file you are attempting to open has .prj at the end then you
> > > shouldn't be getting
> > > this error message.
> > > If you have checked "read last opened or saved project" and there is not
> > > last project
> > > perhaps you can
> > > also get this error.
> > > 
> > > In IDE_proj.ew search for 147. Change that statement from
> > > ok=displayErrorMessage(147,{})
> > > to
> > > ok=displayErrorMessage(147,{projectFileTypeTest}).
> > > 
> > > Does it still fail?
> > > ~judith
> > >
> > 
> > Oops, that should be:
> > ok=displayErrorMessage(147,{projectFileType})
> > 
> Well it did not crash but i get this messagebox about error 147 .
> Why can't i just click on IDE.EXW and start without a projekt file.
> I also saved default.prj, and checked save last used it did not work either.
> Tj.
>

I always start IDE by clicking IDE.exw so I do not know what is going wrong for
you; maybe you have something different with the exw filetype association?
Here is what I have for filetype exw:
"C:Euphoria\bin\exw.exw" "%1"

For you to get error message 147 right after clicking IDE.exw, there must be a
third param in command_line that IDE 'thinks' is a project file name. You might
want to put in a message_box in IDE.exw in the activate_Controls routine and
after
        params = command_line()
        if length(params) > 2 then
and see what is in params[3].
~judith

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu