Open SoniEx2 opened 10 years ago
I have no idea what sys.__plugin__
is, so I can't say if it's a problem in lupa, lua or hexchat (whatever that is). Can you debug this to find out what goes wrong where?
Lua version:
[soniex2@soniex-pc autostart]$ lua -v
Lua 5.2.3 Copyright (C) 1994-2013 Lua.org, PUC-Rio
Python version:
[soniex2@soniex-pc autostart]$ python --version
Python 3.4.2
HexChat version:
[soniex2@soniex-pc hexchat]$ hexchat -v
HexChat 2.11.0
More debugging:
>>> import sys
>>> sys.__plugin__
<hexchat.Plugin object at 0x7ffa8722f530>
This doesn't seem to happen with anything else, so I think it's Lupa messing with something, but I'll report this to hexchat too.
Which Lupa version are you using? (1.0.1? Latest git master?)
Does this also happen if you run straight forward code instead of going through exec()?
@scoder 1.0.1, and hexchat just locks up... (I can use either exec() if I want multiline in one line or .py scripts) If I remove exec() entirely and just run Lua code it also happens. (the locking up on init)
So I was trying to use this with hexchat and this happened:
Wat?