Openkore.com

OpenKore Forums
It is currently 19 Feb 2018, 21:39

All times are UTC - 5 hours [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
 Post subject: OverflowError: math range error
PostPosted: 12 Mar 2015, 14:18 
Offline
Noob
Noob

Joined: 12 Mar 2015, 14:07
Posts: 4
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!


Top
 Profile  
 
 Post subject: Re: OverflowError: math range error
PostPosted: 13 Mar 2015, 23:52 
Offline
Plain Yogurt
Plain Yogurt

Joined: 19 Apr 2011, 23:26
Posts: 63
do you have the xstools dll in your opk folder?


Top
 Profile  
 
 Post subject: Re: OverflowError: math range error
PostPosted: 16 Mar 2015, 12:07 
Offline
Noob
Noob

Joined: 12 Mar 2015, 14:07
Posts: 4
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


Top
 Profile  
 
 Post subject: Re: OverflowError: math range error
PostPosted: 16 Mar 2015, 22:39 
Offline
Plain Yogurt
Plain Yogurt

Joined: 19 Apr 2011, 23:26
Posts: 63
do you have XSTools.pm in your src folder?


Top
 Profile  
 
 Post subject: Re: OverflowError: math range error
PostPosted: 20 Mar 2015, 15:08 
Offline
Noob
Noob

Joined: 12 Mar 2015, 14:07
Posts: 4
Yes I've checked and XSTools.pm is in src folder.


Top
 Profile  
 
 Post subject: Re: OverflowError: math range error
PostPosted: 21 Mar 2015, 13:41 
Offline
Plain Yogurt
Plain Yogurt

Joined: 19 Apr 2011, 23:26
Posts: 63
https://stackoverflow.com/questions/237 ... open-error
upgrade python


Top
 Profile  
 
 Post subject: Re: OverflowError: math range error
PostPosted: 31 Mar 2015, 10:37 
Offline
Noob
Noob

Joined: 12 Mar 2015, 14:07
Posts: 4
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


Top
 Profile  
 
 Post subject: Re: OverflowError: math range error
PostPosted: 31 Mar 2015, 12:13 
Offline
Plain Yogurt
Plain Yogurt

Joined: 19 Apr 2011, 23:26
Posts: 63
viewtopic.php?f=56&t=5615


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group