Openkore.com

OpenKore Forums
It is currently 17 Oct 2017, 16:22

All times are UTC - 5 hours [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Openkore not like POSIX.pm?
PostPosted: 30 Aug 2016, 01:48 
Offline
Noob
Noob

Joined: 18 May 2012, 02:22
Posts: 6
Hello friends,

I've been messing around with making some plugins recently and popped in a
Code:
use POSIX qw(floor ceil);
which brought everything to a halt. The issue revolves (presumably) entirely around me trying to use POSIX. This is the error code being thrown out:

Code:
OpenKore version what-will-become-2.1
@ai_seq = follow
Network state = 5
Network handler = Network::DirectConnection
SVN revision: unknown
Loaded plugins:
  plugins/macro/macro.pl (macro; description: allows usage of macros)
  plugins/profiles/profiles.pl (profiles; description: Profiles Selector)

Error message:
Plugin contains syntax errors:
Usage: DynaLoader::bootstrap(module) at /<G:\Kore\openkore\start.exe>DynaLoader.pm line 137
   DynaLoader::bootstrap() called at /<G:\Kore\openkore\start.exe>DynaLoader.pm line 123
   DynaLoader::bootstrap_inherit() called at C:/Perl64/lib/POSIX.pm line 36
   require POSIX.pm called at G:/Kore/openkore/plugins/protectPartyMember.pl line 32
   protectPartyMember::__ANON__('POSIX.pm') called at perlapp line 920
   eval {...} called at perlapp line 920
   PerlApp::my_require('POSIX.pm') called at G:/Kore/openkore/plugins/protectPartyMember.pl line 32
   protectPartyMember::BEGIN() called at C:/Perl64/lib/POSIX.pm line 0
   eval {...} called at C:/Perl64/lib/POSIX.pm line 0
   require plugins/protectPartyMember.pl called at src/Plugins.pm line 155
   Plugins::__ANON__('plugins/protectPartyMember.pl') called at perlapp line 919
   PerlApp::my_require(undef, undef) called at src/Plugins.pm line 155
   Plugins::load('plugins/protectPartyMember.pl') called at src/Commands.pm line 3942
   Commands::cmdPlugin('plugin', 'load plugins/protectPartyMember.pl') called at src/Commands.pm line 300
   Commands::run('plugin load plugins/protectPartyMember.pl') called at src/functions.pl line 1001
   main::parseInput('plugin load plugins/protectPartyMember.pl') called at src/functions.pl line 63
   main::mainLoop() called at src/Interface.pm line 75
   Interface::mainLoop('Interface::Console::Win32=HASH(0x4710f34)') called at openkore.pl line 98
   main::__start() called at start.pl line 136
Compilation failed in require at G:/Kore/openkore/plugins/protectPartyMember.pl line 32.
BEGIN failed--compilation aborted at G:/Kore/openkore/plugins/protectPartyMember.pl line 32.

Stack trace:
Trace begun at src\Plugins.pm line 157
Plugins::load('plugins/protectPartyMember.pl') called at src\Commands.pm line 3942
Commands::cmdPlugin('plugin', 'load plugins/protectPartyMember.pl') called at src\Commands.pm line 300
Commands::run('plugin load plugins/protectPartyMember.pl') called at src\functions.pl line 1001
main::parseInput('plugin load plugins/protectPartyMember.pl') called at src\functions.pl line 63
main::mainLoop at src\Interface.pm line 75
Interface::mainLoop('Interface::Console::Win32=HASH(0x4710f34)') called at openkore.pl line 98
main::__start at start.pl line 136

Died at this line:
           if ($@) {
*             Plugin::LoadException->throw(TF("Plugin contains syntax errors:\n%s", $@));
           } else {


^line 32 of protectPartyMember.pl is just the use POSIX qw(floor ceil);.

I'm not a code wizard so I don't know exactly what my issue is. I know I have it installed because I can use it in other perl scripts(not kore related), but anytime I try to use it in Kore, I get this error. If anyone could shed some light on the issue I would be pleased as punch. If there is any additional information that would help I can provide it.

EDIT: Apparently if I run wxstart instead of start I don't get any errors. It's late and my brain probs isn't working so will investigate further.


Top
 Profile  
 
 Post subject: Re: Openkore not like POSIX.pm?
PostPosted: 03 Sep 2016, 10:42 
Offline
Spam Generator
Spam Generator

Joined: 04 Apr 2008, 09:30
Posts: 501
Location: Melbourne, City of beer and awful sushis
Hello. I am closing down the section as we are moving most of the development discussion to github. We don't have enough manpower to spread our discussion across different platform. Please repost your issues and call out the devs. Thanks!

_________________
Make Openkore Awesome. Join the team.


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

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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