OverflowError: math range error

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderator: Moderators

Message
Author
Hira
Noob
Noob
Posts: 4
Joined: 12 Mar 2015, 14:07
Noob?: No

OverflowError: math range error

#1 Post by Hira »

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: Select all

/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!

vitriol
Plain Yogurt
Plain Yogurt
Posts: 61
Joined: 19 Apr 2011, 23:26
Noob?: No

Re: OverflowError: math range error

#2 Post by vitriol »

do you have the xstools dll in your opk folder?

Hira
Noob
Noob
Posts: 4
Joined: 12 Mar 2015, 14:07
Noob?: No

Re: OverflowError: math range error

#3 Post by Hira »

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

vitriol
Plain Yogurt
Plain Yogurt
Posts: 61
Joined: 19 Apr 2011, 23:26
Noob?: No

Re: OverflowError: math range error

#4 Post by vitriol »

do you have XSTools.pm in your src folder?

Hira
Noob
Noob
Posts: 4
Joined: 12 Mar 2015, 14:07
Noob?: No

Re: OverflowError: math range error

#5 Post by Hira »

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

vitriol
Plain Yogurt
Plain Yogurt
Posts: 61
Joined: 19 Apr 2011, 23:26
Noob?: No

Re: OverflowError: math range error

#6 Post by vitriol »


Hira
Noob
Noob
Posts: 4
Joined: 12 Mar 2015, 14:07
Noob?: No

Re: OverflowError: math range error

#7 Post by Hira »

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

vitriol
Plain Yogurt
Plain Yogurt
Posts: 61
Joined: 19 Apr 2011, 23:26
Noob?: No

Re: OverflowError: math range error

#8 Post by vitriol »


Locked