1. eu 4.0 alpha - locale crash

Hi

Working on langwar, eliminated a lot of the resloving probs (stuffing includes, and pubilc includes left right and centre), and cjanging some types to integers and objects, and then got this

C:\EUPHORIA\include\std/error.e:50 in procedure crash()  
locale.e requires Windows, Linux, FreeBSD or OS X  
    fmt = {108'l',111'o',99'c',97'a',108'l',101'e',46'.',101'e',32' ',114'r', 
101'e',113'q',117'u',105'i',114'r',101'e',115's',32' ',87'W',105'i',110'n', 
100'd',111'o',119'w',115's',44',',32' ',76'L',105'i',110'n',117'u',120'x', 
44',',32' ',70'F',114'r',101'e',101'e',66'B',83'S',68'D',32' ',111'o',114'r', 
32' ',79'O',83'S',32' ',88'X'} 
    data = {} 
    msg = {108'l',111'o',99'c',97'a',108'l',101'e',46'.',101'e',32' ',114'r', 
101'e',113'q',117'u',105'i',114'r',101'e',115's',32' ',87'W',105'i',110'n', 
100'd',111'o',119'w',115's',44',',32' ',76'L',105'i',110'n',117'u',120'x', 
44',',32' ',70'F',114'r',101'e',101'e',66'B',83'S',68'D',32' ',111'o',114'r', 
32' ',79'O',83'S',32' ',88'X'} 
 
... called from C:\EUPHORIA\include\std/locale.e:222  
 
 
Global & Local Variables 
 
 C:\EUPHORIA\include\std/types.e: 
    Defined_Sets = { 
                     {98'b',99'c',100'd',102'f',103'g',104'h',106'j',107'k', 
108'l',109'm',110'n',112'p',113'q',114'r',115's',116't',118'v',119'w',120'x', 
121'y',122'z',66'B',67'C',68'D',70'F',71'G',72'H',74'J',75'K',76'L',77'M', 
78'N',80'P',81'Q',82'R',83'S',84'T',86'V',87'W',88'X',89'Y',90'Z'}, 
                     {97'a',101'e',105'i',111'o',117'u',65'A',69'E',73'I', 
79'O',85'U'}, 
                     { 
                       {48'0',57'9'}, 
                       {65'A',70'F'}, 
                       {97'a',102'f'} 
                     }, 
                     {32' ',9,10,13,11,160}, 
                     { 
                       {32' ',47'/'}, 
                       {58':',63'?'}, 
                       {91'[',96'`'}, 
                       {123'{',126'~'} 
                     }, 
                     { 
                       {32' ',126'~'} 
                     }, 
                     { 
                       {97'a',122'z'} 
                     }, 
                     { 
                       {65'A',90'Z'} 
                     }, 
                     { 
                       {48'0',57'9'}, 
                       {97'a',122'z'}, 
                       {65'A',90'Z'} 
                     }, 
                     { 
                       {97'a',122'z'}, 
                       {65'A',90'Z'} 
                     }, 
                     { 
                       {0,127''} 
                     }, 
                     { 
                       {0,31}, 
                       {127'',127''} 
                     }, 
                     { 
                       {48'0',57'9'} 
                     }, 
                     { 
                       {33'!',126'~'} 
                     }, 
                     { 
                       {0,255} 
                     }, 
                     {95'_'} 
                   } 
 
 C:\EUPHORIA\include\std/memory.e: 
    check_calls = 1 
 
 C:\EUPHORIA\include\std/filesys.e: 
    delete_file_id = 1 
    dir_id = 0 
    dirname_id = 2 
    InitCurDir = {67'C',58':',92'\',69'E',85'U',80'P',72'H',79'O',82'R',73'I', 
65'A',92'\',68'D',69'E',77'M',79'O',92'\',76'L',65'A',78'N',71'G',87'W', 
65'A',82'R',92'\'} 
    file_counters = {} 
 
 

There is more if you want it.

Looking at locale.e, seems to be problem with ifdef operating system decision. I am using a bog standard dos window, with lw.ex. Doesn't happen with exw or exwc though.

Chris

new topic     » topic index » view message » categorize

2. Re: eu 4.0 alpha - locale crash

ChrisB said...

Hi

Working on langwar, eliminated a lot of the resloving probs (stuffing includes, and pubilc includes left right and centre), and cjanging some types to integers and objects, and then got this

C:\EUPHORIA\include\std/error.e:50 in procedure crash()  
locale.e requires Windows, Linux, FreeBSD or OS X  

Why are you using locale.e?

new topic     » goto parent     » topic index » view message » categorize

3. Re: eu 4.0 alpha - locale crash

Hi

I'm not, at least not specificaly, langwar is - must be some include of an include somewhere. I've added to quite a few files (within the langwar project) 'include std.e' - just include everything - so could be an issue here.

Still investigating, as I said there's no issue with exw or exwc, just ex.

Chris

new topic     » goto parent     » topic index » view message » categorize

4. Re: eu 4.0 alpha - locale crash

ChrisB said...

Hi

I'm not, at least not specificaly, langwar is - must be some include of an include somewhere. I've added to quite a few files (within the langwar project) 'include std.e' - just include everything - so could be an issue here.

Aha! There was a problem with std.e which I just fixed up. It was including locale.e when using the DOS Euphoria, but it shouldn't have.

Replace the line ...

public include std/locale.e 

with ...

ifdef !DOS32 then 
    public include std/locale.e 
end ifdef 
new topic     » goto parent     » topic index » view message » categorize

5. Re: eu 4.0 alpha - locale crash

Ta

Chris

(Ps, nice to see a Eureka moment every now and again smile )

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu