Skip to forum
Notifications
Clear all

[Closed] 0.53 error

16 Posts
6 Users
0 Reactions
2,859 Views
marcinos
Joined: 25.03.2007

21:48:05.75 -- Logfile cleared: C:\Documents and Settings\Koksik\Ustawienia lokalne\Dane aplikacji\PokerStrategy\Elephant\log.txt
21:48:05.81 -- , line 0: System.ArgumentOutOfRangeException: Długość nie może być mniejsza od zera.
Nazwa parametru: length
w System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
w PBN.IO.Parsers.IniFile.a(List`1 A_0, String A_1, Encoding A_2)
w PBN.Application.LocaleManager.a()
w PBN.Application.LocaleManager.set_CurrentLocale(String value)
w PokerStrategyElephant.a.a()

previous version work fine I uninstal it and instal new 0.53 and have this error when I start elephant. What I mus do ?


15 replies
galam
Joined: 06.03.2005

There seems to be a problem with the polish locale so i would recommend you to switch to the english version in the meanwhile


marcinos
Joined: 25.03.2007

OS: Microsoft Windows NT 5.1.2600 Dodatek Service Pack 2
.NET Runtime: 2.0.50727.832
RAM: 1GB
Processors: 2
CPU: x86 Family 15 Model 107 Stepping 2: 0/32/2, 2210
x86 Family 15 Model 107 Stepping 2: 0/32/2, 2210

Software version: 0.53

(10) Log: 13:59:07.93 -- Logfile set: C:\Documents and Settings\Koksik\Ustawienia lokalne\Dane aplikacji\PokerStrategy\Elephant\log.txt
(10) Log: 13:59:08.06 -- Logfile cleared: C:\Documents and Settings\Koksik\Ustawienia lokalne\Dane aplikacji\PokerStrategy\Elephant\log.txt
(10) Log: 13:59:09.31 -- , line 0: System.ArgumentOutOfRangeException: Długość nie może być mniejsza od zera.
Nazwa parametru: length
w System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
w PBN.IO.Parsers.IniFile.a(List`1 A_0, String A_1, Encoding A_2)
w PBN.Application.LocaleManager.a()
w PBN.Application.LocaleManager.set_CurrentLocale(String value)
w PokerStrategyElephant.a.a()
(10) , line 0: System.ArgumentOutOfRangeException: Długość nie może być mniejsza od zera.
Nazwa parametru: length
w System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
w PBN.IO.Parsers.IniFile.a(List`1 A_0, String A_1, Encoding A_2)
w PBN.Application.LocaleManager.a()
w PBN.Application.LocaleManager.set_CurrentLocale(String value)
w PokerStrategyElephant.a.a()


Krasu
Joined: 10.01.2008

Originally posted by galam
There seems to be a problem with the polish locale so i would recommend you to switch to the english version in the meanwhile

Switch what ?


Yoghi
Joined: 10.09.2007

I think he means that you should put your language in Elephant on english and not polish.


Krasu
Joined: 10.01.2008

Elephant not support polish language.


PeTeRN86
Joined: 19.03.2008

I have the same problem, since 0.52. Firstly i don`t think Elephant supports polish language, secondly how could we even change it, if Elephant doesn`t start at all? If The problem is connected with language, then IMHO it`s the OS language. Is there a chance to fix this?


galam
Joined: 06.03.2005

To change that by hand please locate the user.config file within the elephant dir. For me its something like: C:\Dokumente und Einstellungen\sebi\Lokale Einstellungen\Anwendungsdaten\PokerStrategyElephant\PokerStrategy_Elephant.ex_Url...\0.53.

There you find lines like this

<setting name="Language" serializeAs="String">
<value>pl</value>
</setting>

Please change this to

<setting name="Language" serializeAs="String">
<value>en</value>
</setting>
Does that work?


PeTeRN86
Joined: 19.03.2008

I have this file only for versions that did work (0.49, 0.50), none for 0.52 & 0.53. In those value is set to "en". Thank you for trying, some other suggestions? ;]


galam
Joined: 06.03.2005

Please try reinstalling the Elephant software from scratch. This file should be there.


PeTeRN86
Joined: 19.03.2008

Still nothing, only the log file. (I`ve deleted all the files from previous versions before installing 0.53) I haven`t reinstall posgreSQL, do you think it`s necessary?


galam
Joined: 06.03.2005

Nope. Does Elephant works now? Please make sure you are in the correct dir. There are some pretty similar.


PeTeRN86
Joined: 19.03.2008

Nothing`s changed. After installing 0.53, running it and reading debug message:

....
(10) Log: 20:13:28.28 -- , line 0: System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at PBN.IO.Parsers.IniFile.a(List`1 A_0, String A_1, Encoding A_2)
at PBN.Application.LocaleManager.a()
at PBN.Application.LocaleManager.set_CurrentLocale(String value)
at PokerStrategyElephant.a.a()
(10) , line 0: System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at PBN.IO.Parsers.IniFile.a(List`1 A_0, String A_1, Encoding A_2)
at PBN.Application.LocaleManager.a()
at PBN.Application.LocaleManager.set_CurrentLocale(String value)
at PokerStrategyElephant.a.a()

i have only

.....Ustawienia lokalne\Dane aplikacji\PokerStrategy\Elephant\
log.txt
log_old.txt

And nothing else. I`m sure.


jmaric7
Joined: 22.02.2008

funny thing happened to me. 052 was working oK. 053 keep freezing and then stopped to work. Then I tried out 052- does not work, 050 does not work.
WTF happened with 053- all previous versions that worked stopped to work now.


galam
Joined: 06.03.2005

Please try the newest version out: 0.54 There the problem should be fixed.

Greets Sebastian


PeTeRN86
Joined: 19.03.2008

I`m in other city right now. but 0,54 works fine on another pc, also with polish language, so i guess it`s fine now. Thank you, good luck and keep up the good work!