Wx interface doesn't work on Archlinux

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

Moderators: Moderators, Developers

Message
Author
Yamashita Ren
Noob
Noob
Posts: 5
Joined: 22 Aug 2013, 20:34
Noob?: No

Wx interface doesn't work on Archlinux

#1 Post by Yamashita Ren »

Hi,
I have compiled Openkore and perl-wx on Archlinux.
Everything went fine. The default ui works.
However, the Wx ui gives me a segfault :

Code: Select all

[quentin@VaioLaptop trunk]$ perl openkore.pl --interface=Wx
Use of the encoding pragma is deprecated at /home/quentin/openkore/trunk/src/ErrorHandler.pm line 26.
Use of the encoding pragma is deprecated at /home/quentin/openkore/trunk/src/Translation.pm line 32.
defined(@array) is deprecated at /home/quentin/openkore/trunk/src/ErrorHandler.pm line 75.
        (Maybe you should just omit the defined()?)
defined(@array) is deprecated at /home/quentin/openkore/trunk/src/ErrorHandler.pm line 84.
        (Maybe you should just omit the defined()?)
UNIVERSAL->import is deprecated and will be removed in a future perl at /home/quentin/openkore/trunk/src/Settings.pm line 50.
Use of the encoding pragma is deprecated at src/Interface.pm line 29.
Use of the encoding pragma is deprecated at src/Misc.pm line 30.
Use of the encoding pragma is deprecated at src/Network/PacketParser.pm line 23.
Use of the encoding pragma is deprecated at src/Network/Send.pm line 29.
Use of the encoding pragma is deprecated at src/Network/Receive.pm line 25.
Smartmatch is experimental at src/Network/Receive.pm line 931.
Use of the encoding pragma is deprecated at src/Commands.pm line 26.
defined(@array) is deprecated at src/Commands.pm line 2756.
        (Maybe you should just omit the defined()?)
defined(@array) is deprecated at src/Commands.pm line 2766.
        (Maybe you should just omit the defined()?)
Use of the encoding pragma is deprecated at src/AI/CoreLogic.pm line 25.
Use of the encoding pragma is deprecated at src/Task/TalkNPC.pm line 19.
Use of the encoding pragma is deprecated at src/Interface/Wx/Console.pm line 33.
Erreur de segmentation (core dumped)
I had a segfault too (without any of theses deprecated warnings) when trying to run Openkore on Debian Jessie or Debian Sid. Wx interface works fine on Ubuntu 12.04 and Debian Wheezy.
So I assume that this is more a bug or a compatibility problem caused by a software update than a distro specific problem.

If you need more informations or tests from me, I'll be glad to help.
Greetings, Yama.

Yamashita Ren
Noob
Noob
Posts: 5
Joined: 22 Aug 2013, 20:34
Noob?: No

Re: Wx interface doesn't work on Archlinux

#2 Post by Yamashita Ren »

Here is the error.txt :

Code: Select all

OpenKore version what-will-become-2.1
@ai_seq = 
Network state = 4
Network handler = Network::DirectConnection
SVN revision: unknown
Loaded plugins:
  plugins/macro/macro.pl (macro; description: allows usage of macros)
  plugins/breakTime.pl (breakTime; description: config.autoBreakTime)
  plugins/cmdOnLogin.pl (cmdOnLogin; description: automatically do a command on login)

Error message:
Can't call method "name" on unblessed reference at src/Interface/Wx/ItemList.pm line 189.

Stack trace:
Can't call method "name" on unblessed reference at src/Interface/Wx/ItemList.pm line 189.
 at src/Interface/Wx.pm line 161
	Interface::Wx::mainLoop('Interface::Wx=HASH(0x34a8794)') called at openkore.pl line 97
	main::__start() called at start.pl line 136

Died at this line:
  	if ($acnam eq "") {
* 		$acnam = $actor->name;
  	}

Locked