1. Install error
- Posted by Rich <ra at zantra.dk> Nov 29, 2004
- 590 views
- Last edited Nov 30, 2004
I just installed the Euphoria v2.5 Alpha in Win 2000, but got an error message during installation. The installation completed though after I pressed Enter as suggested. Here's the error report: C:\DOCUME~1\Rado\LOCALS~1\Temp\is-TDSHH.tmp\makecon.exw:4 in function seek() bad file number (-1) fn = -1 pos = 220 ... called from C:\DOCUME~1\Rado\LOCALS~1\Temp\is-TDSHH.tmp\makecon.exw:29 Global & Local Variables C:\DOCUME~1\Rado\LOCALS~1\Temp\is-TDSHH.tmp\makecon.exw: cl = { {67'C',58':',92'\',68'D',79'O',67'C',85'U',77'M',69'E',126'~', 49'1',92'\',82'R',97'a',100'd',111'o',92'\',76'L',79'O',67'C',65'A',76'L', 83'S',126'~',49'1',92'\',84'T',101'e',109'm',112'p',92'\',105'i',115's', 45'-',84'T',68'D',83'S',72'H',72'H',46'.',116't',109'm',112'p',92'\',101'e', 120'x',119'w',46'.',101'e',120'x',101'e'}, {67'C',58':',92'\',68'D',79'O',67'C',85'U',77'M',69'E',126'~', 49'1',92'\',82'R',97'a',100'd',111'o',92'\',76'L',79'O',67'C',65'A',76'L', 83'S',126'~',49'1',92'\',84'T',101'e',109'm',112'p',92'\',105'i',115's', 45'-',84'T',68'D',83'S',72'H',72'H',46'.',116't',109'm',112'p',92'\',109'm', 97'a',107'k',101'e',99'c',111'o',110'n',46'.',101'e',120'x',119'w'}, {67'C',58':',92'\',112'p',114'r',111'o',103'g',114'r',97'a',109'm'}, {102'f',105'i',108'l',101'e',115's',92'\',69'E',85'U',80'P',72'H', 79'O',82'R',73'I',65'A'} } Rich
2. Re: Install error
- Posted by Greg Haberek <ghaberek at gmail.com> Nov 29, 2004
- 525 views
- Last edited Nov 30, 2004
1. You are running the install app from a temporary directory, try downloading it to C:\ first, then running it. 2. What directory are you installing Euphoria into? All that mumbo-jumbo at the end actually says C:\Program Files\EUPHORIA and the space in the path name is causing an error. Typically we install to just C:\EUPHORIA. Try that direcory instead. ~Greg On Mon, 29 Nov 2004 14:02:09 -0800, Rich <guest at rapideuphoria.com> wrote: > > posted by: Rich <ra at zantra.dk> > > I just installed the Euphoria v2.5 Alpha in Win 2000, but got an error message > during installation. The installation completed though after I pressed Enter as > suggested. > > Here's the error report: > > C:\DOCUME~1\Rado\LOCALS~1\Temp\is-TDSHH.tmp\makecon.exw:4 in function seek() > bad file number (-1) > fn = -1 > pos = 220 > > ... called from C:\DOCUME~1\Rado\LOCALS~1\Temp\is-TDSHH.tmp\makecon.exw:29 > > Global & Local Variables > > C:\DOCUME~1\Rado\LOCALS~1\Temp\is-TDSHH.tmp\makecon.exw: > cl = { > {67'C',58':',92'\',68'D',79'O',67'C',85'U',77'M',69'E',126'~', > 49'1',92'\',82'R',97'a',100'd',111'o',92'\',76'L',79'O',67'C',65'A',76'L', > 83'S',126'~',49'1',92'\',84'T',101'e',109'm',112'p',92'\',105'i',115's', > 45'-',84'T',68'D',83'S',72'H',72'H',46'.',116't',109'm',112'p',92'\',101'e', > 120'x',119'w',46'.',101'e',120'x',101'e'}, > {67'C',58':',92'\',68'D',79'O',67'C',85'U',77'M',69'E',126'~', > 49'1',92'\',82'R',97'a',100'd',111'o',92'\',76'L',79'O',67'C',65'A',76'L', > 83'S',126'~',49'1',92'\',84'T',101'e',109'm',112'p',92'\',105'i',115's', > 45'-',84'T',68'D',83'S',72'H',72'H',46'.',116't',109'm',112'p',92'\',109'm', > 97'a',107'k',101'e',99'c',111'o',110'n',46'.',101'e',120'x',119'w'}, > {67'C',58':',92'\',112'p',114'r',111'o',103'g',114'r',97'a',109'm'}, > {102'f',105'i',108'l',101'e',115's',92'\',69'E',85'U',80'P',72'H', > 79'O',82'R',73'I',65'A'} > } > > Rich > > > >
3. Re: Install error
- Posted by Rich <ra at zantra.dk> Nov 30, 2004
- 526 views
Greg Haberek wrote: > 2. What directory are you installing Euphoria into? All that > mumbo-jumbo at the end actually says C:\Program Files\EUPHORIA and the > space in the path name is causing an error. Typically we install to > just C:\EUPHORIA. Try that direcory instead. OK, I'll try that. Or might C:\progra~1 work instead? (it does with some other programs that don't like that space). I prefer not to install anything directly in C:\, if I can avoid it. I assume this is only the case with Euphoria itself, not with the programs you create with it? Rich
4. Re: Install error
- Posted by Robert Craig <rds at RapidEuphoria.com> Nov 30, 2004
- 523 views
Rich wrote: > Greg Haberek wrote: > > > 2. What directory are you installing Euphoria into? All that > > mumbo-jumbo at the end actually says C:\Program Files\EUPHORIA and the > > space in the path name is causing an error. Typically we install to > > just C:\EUPHORIA. Try that direcory instead. > > OK, I'll try that. Or might C:\progra~1 work instead? (it does with some other > programs > that don't like that space). I prefer not to install anything directly in C:\, > if I > can avoid it. > > I assume this is only the case with Euphoria itself, not with the programs you > create > with it? Thanks Rich and Greg for letting me know about this. In 2.5 alpha I added a new command in the INNO installer script to run: exw makecon installpath Unfortunately, I should have put double quotes around the install path, so a path with a blank in it wouldn't look like two separate words on the command line. I'll fix that for the beta. Windows/Linux/FreeBSD Euphoria fully supports long filenames and paths containing blanks. DOS Euphoria also supports long filenames in most cases. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com
5. Re: Install error
- Posted by Greg Haberek <ghaberek at gmail.com> Nov 30, 2004
- 526 views
> OK, I'll try that. Or might C:\progra~1 work instead? (it does with some other > programs that don't like that space). I prefer not to install anything directly > in C:\, if I can avoid it. I would realy urge you to simply use C:\EUPHORIA. I always think of the "Program Files" directory as a place for Programs, not a Programming language. Borland installs to C:\Borland. Euphoria installs to C:\EUPHORIA, etc.. > I assume this is only the case with Euphoria itself, not with the programs you > create with it? You're kinda contradicting yourself there. Any problem that Euphoria may have, would trickle down into your app, wouldn't it? Here's another example:
sequence cmd cmd = command_line() -- ex myapp.ex Program Files -- cmd[1] = "C:\EUPHORIA\BIN\EX.EXE" -- cmd[2] = "myapp.ex" -- cmd[3] = "Program" -- cmd[4] = "Files" -- ex myapp.ex "Program Files" -- cmd[1] = "C:\EUPHORIA\BIN\EX.EXE" -- cmd[2] = "myapp.ex" -- cmd[3] = "Program Files"
As you can see, space acts a a delimiter when it is not in quotes. So this may cause an issue in your apps if you don't watch for it. I always to something like this:
sequence file_to_run -- file_to_run = whatever... if find( ' ', file_to_run ) then -- does file_to_run contain a space? file_to_run = '"' & file_to_run & '"' -- wrap it in quotes end if -- run the file system( "ex " & file_to_run, 2 )
~Greg
6. Re: Install error
- Posted by Rich <ra at zantra.dk> Nov 30, 2004
- 522 views
Robert Craig wrote: > Thanks Rich and Greg for letting me know about this. > In 2.5 alpha I added a new command in the INNO installer script > to run: > exw makecon installpath > Unfortunately, I should have put double quotes around > the install path, so a path with a blank in it > wouldn't look like two separate words on the command line. > I'll fix that for the beta. > OK, I assume that means that you'll be able to install euphoria anywhere you like when this is fixed? Rich
7. Re: Install error
- Posted by Rich <ra at zantra.dk> Nov 30, 2004
- 586 views
Greg Haberek wrote: > > > OK, I'll try that. Or might C:\progra~1 work instead? (it does with some > > other programs that > don't like that space). I prefer not to install anything directly in C:\, if I > can avoid it.</font></i> > > I would realy urge you to simply use C:\EUPHORIA. I always think of > the "Program Files" directory as a place for Programs, not a > Programming language. Borland installs to C:\Borland. Euphoria > installs to C:\EUPHORIA, etc.. Well I prefer having everything that can run under "program files" if possible. Each to his own, I guess. > > I assume this is only the case with Euphoria itself, not with the programs > > you create with it? > > You're kinda contradicting yourself there. Any problem that Euphoria > may have, would trickle down into your app, wouldn't it? > Not necessarily, that depends on what level the problem exist on. In this case it might simply be a problem with the installer that's used for Euphoria, for example (which could be written in another language). > Here's another example: > }}} <eucode> > > sequence cmd > cmd = command_line() > > -- ex myapp.ex Program Files > -- cmd[1] = "C:\EUPHORIA\BIN\EX.EXE" > -- cmd[2] = "myapp.ex" > -- cmd[3] = "Program" > -- cmd[4] = "Files" > > -- ex myapp.ex "Program Files" > -- cmd[1] = "C:\EUPHORIA\BIN\EX.EXE" > -- cmd[2] = "myapp.ex" > -- cmd[3] = "Program Files" > > </eucode> {{{ > > As you can see, space acts a a delimiter when it is not in quotes. So > this may cause an issue in your apps if you don't watch for it. I > always to something like this: > > }}} <eucode> > sequence file_to_run > > -- file_to_run = whatever... > > if find( ' ', file_to_run ) then -- does file_to_run contain a space? > file_to_run = '"' & file_to_run & '"' -- wrap it in quotes > end if > > -- run the file > system( "ex " & file_to_run, 2 ) > > </eucode> {{{ OK, I'm not enough into the language yet to fully understand what you're saying here, though I think I get the idea. I'll take a look at it later. :) Thanks! Rich
8. Re: Install error
- Posted by Rich <ra at zantra.dk> Nov 30, 2004
- 533 views
Rich wrote: > > > OK, I'll try that. Or might C:\progra~1 work instead? (it does with some other > programs > that don't like that space). I prefer not to install anything directly in C:\, > if I > can avoid it. Well to answer my own question: First, Euphoria seemed to install anyway under C:\Program files\Euphoria, despite the error message. But I decided to try a reinstall anyway, using C:\progra~1\Euphoria, to see how that worked out. As expected, no error message this time. So it seems that you can use this method until the beta is out. Rich
9. Re: Install error
- Posted by Robert Craig <rds at RapidEuphoria.com> Nov 30, 2004
- 532 views
Rich wrote: > > Robert Craig wrote: > > > Thanks Rich and Greg for letting me know about this. > > In 2.5 alpha I added a new command in the INNO installer script > > to run: > > exw makecon installpath > > Unfortunately, I should have put double quotes around > > the install path, so a path with a blank in it > > wouldn't look like two separate words on the command line. > > I'll fix that for the beta. > > > > OK, I assume that means that you'll be able to install euphoria anywhere you > like when > this is fixed? I'll see. As I recall there was a slight problem with DOS Euphoria if you installed using a path with a blank in it. I'll test that again before the next release. I imagine C:\progra~1\Euphoria would be ok with DOS. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com
10. Re: Install error
- Posted by "Kat" <gertie at visionsix.com> Nov 30, 2004
- 534 views
- Last edited Dec 01, 2004
On 30 Nov 2004, at 10:54, Robert Craig wrote: > > > posted by: Robert Craig <rds at RapidEuphoria.com> > > Rich wrote: > > > > Robert Craig wrote: > > > > > Thanks Rich and Greg for letting me know about this. > > > In 2.5 alpha I added a new command in the INNO installer script > > > to run: > > > exw makecon installpath > > > Unfortunately, I should have put double quotes around > > > the install path, so a path with a blank in it > > > wouldn't look like two separate words on the command line. > > > I'll fix that for the beta. > > > > > > > OK, I assume that means that you'll be able to install euphoria anywhere you > > like when this is fixed? > > I'll see. As I recall there was a slight problem with DOS Euphoria > if you installed using a path with a blank in it. I'll test that > again before the next release. I imagine C:\progra~1\Euphoria > would be ok with DOS. I have never installed any program on C: willingly. The only thing that belongs on C: is the OS, imo. Kat
11. Re: Install error
- Posted by Rich <ra at zantra.dk> Nov 30, 2004
- 521 views
- Last edited Dec 01, 2004
Kat wrote: > I have never installed any program on C: willingly. The only thing that > belongs > on C: is the OS, imo. I can only agree on that. Rich