Openkore.com
http://forums.openkore.com/

OverflowError: math range error
http://forums.openkore.com/viewtopic.php?f=37&t=209955
Page 1 of 1

Author:  Hira [ 12 Mar 2015, 14:18 ]
Post subject:  OverflowError: math range error

Hi everyone,

I'm trying to install Openkore on synology DS414 and I'm stuck when I wan't to run "perl ./openkore.pl" command.
I've followed this guide : http://wiki.openkore.com/index.php/How_to_run_OpenKore

Error message is :

Code:
/home/openkore/openkore-code/openkore/trunk # perl ./openkore.pl
make: Entering directory `/home/openkore/openkore-code/openkore/trunk'
Traceback (most recent call last):
  File "src/scons-local-2.0.1/scons.py", line 192, in <module>
    import SCons.Script
  File "/volume1/Florian/Openkore/trunk/src/scons-local-2.0.1/SCons/Script/__init__.py", line 76, in <module>
  File "/volume1/Florian/Openkore/trunk/src/scons-local-2.0.1/SCons/Environment.py", line 54, in <module>
  File "/volume1/Florian/Openkore/trunk/src/scons-local-2.0.1/SCons/Platform/__init__.py", line 52, in <module>
  File "/opt/lib/python2.5/tempfile.py", line 33, in <module>
    from random import Random as _Random
  File "/opt/lib/python2.5/random.py", line 58, in <module>
    SG_MAGICCONST = 1.0 + _log(4.5)
[color=#FF0000]OverflowError: math range error
Compilation failed.[/color] Please read http://wiki.openkore.com/index.php/How_to_run_OpenKore for help.
make: Leaving directory `/home/openkore/openkore-code/openkore/trunk'
Can't locate loadable object for module XSTools in @INC (@INC contains: /home/openkore/openkore-code/openkore/trunk/src/deps /home/openkore/openkore-code/openkore/trunk/src /home/openkore/openkore-code/openkore/trunk /usr/lib/perl5/5.8.6/MARVELL_ARMADAXP /usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/MARVELL_ARMADAXP /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl .) at /home/openkore/openkore-code/openkore/trunk/src/Translation.pm line 30


Anyone can help me on this point?
I think the synology CPU dont have enough power/memory to run this command.
For me it's a python error but I'm not sur, any lead can be helpfull.

Thanks for your help!

Author:  vitriol [ 13 Mar 2015, 23:52 ]
Post subject:  Re: OverflowError: math range error

do you have the xstools dll in your opk folder?

Author:  Hira [ 16 Mar 2015, 12:07 ]
Post subject:  Re: OverflowError: math range error

Thanks for your answer but dll is only for windows and I'm on unix I don't think it will change something but i will try

Author:  vitriol [ 16 Mar 2015, 22:39 ]
Post subject:  Re: OverflowError: math range error

do you have XSTools.pm in your src folder?

Author:  Hira [ 20 Mar 2015, 15:08 ]
Post subject:  Re: OverflowError: math range error

Yes I've checked and XSTools.pm is in src folder.

Author:  vitriol [ 21 Mar 2015, 13:41 ]
Post subject:  Re: OverflowError: math range error

https://stackoverflow.com/questions/237 ... open-error
upgrade python

Author:  Hira [ 31 Mar 2015, 10:37 ]
Post subject:  Re: OverflowError: math range error

I've updated my python version now.

I have another error :

make: Entering directory `/volume1/Florian/Openkore/trunk'
Segmentation fault (core dumped)
Compilation failed. Please read http://wiki.openkore.com/index.php/How_to_run_OpenKore for help.
make: Leaving directory `/volume1/Florian/Openkore/trunk'
Can't locate loadable object for module XSTools in @INC (@INC contains: /volume1/Florian/Openkore/trunk/src/deps /volume1/Florian/Openkore/trunk/src /volume1/Florian/Openkore/trunk /usr/lib/perl5/5.8.6/MARVELL_ARMADAXP /usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/MARVELL_ARMADAXP /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl .) at /volume1/Florian/Openkore/trunk/src/Translation.pm line 30

Author:  vitriol [ 31 Mar 2015, 12:13 ]
Post subject:  Re: OverflowError: math range error

viewtopic.php?f=56&t=5615

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/