openkore icon indicating copy to clipboard operation
openkore copied to clipboard

Cannot load interface Interface::Wx. Error:

Open sctnightcore opened this issue 8 years ago • 7 comments

OpenKore version what-will-become-2.1 SVN revision: unknown No loaded plugins.

Error message: Cannot load interface Interface::Wx. Error: The getpwuid function is unimplemented at /<D:\tRO\openkore-twRO_New\wxstart.exe>Wx/Perl/Packager/Base.pm line 658. BEGIN failed--compilation aborted at src/Interface/Wx.pm line 32. Compilation failed in require at (eval 243) line 1. BEGIN failed--compilation aborted at (eval 243) line 1.

Stack trace: Trace begun at src\Interface.pm line 51 Interface::loadInterface('Interface', 'Wx') called at openkore.pl line 44 main::__start at start.pl line 136

Died at this line: eval "use $module;";

  • if ($@) { ModuleLoadException->throw(error => "Cannot load interface $module. Error:\n$@",

RUN ON WIN7 64Bit

sctnightcore avatar Jul 11 '17 14:07 sctnightcore

help me pls someone

sctnightcore avatar Jul 12 '17 06:07 sctnightcore

is u using perl 5.12?

ghost avatar Jul 17 '17 03:07 ghost

@Slipxxliose new perl v

Sent from my SPRD SMART MAX 4.0 PLUS using FastHub

sctnightcore avatar Jul 17 '17 08:07 sctnightcore

try using 5.12

ghost avatar Jul 20 '17 20:07 ghost

msg error : getpwuid

ghost avatar Jul 22 '17 14:07 ghost

I'm using Wx on iRO and I don't get any issues. Are you using a custom kore? Maybe try using the master branch?

kaliwanagan avatar Jul 22 '17 16:07 kaliwanagan

Apparently there's a bug in Wx::Perl::Packager when it comes to windows 7 64 (I've only seen reports about this OS). Not even the binary (wxstart.exe) is working properly

my $uid = getlogin || (getpwuid($<))[0]; getlogin fails (I don't know why) and Windows doesn't implement getpwuid so everything dies

Why are we requiring Wx::Perl::Packager?

lututui avatar Oct 02 '17 14:10 lututui