Dvorapa added a comment.
I have installed lua 5.2 and 5.3 on my PC by default. I could manage to
install only Lupa (not Ffilupa, not lunatic-python-universal) and after working
around a ircbot issue, it gives me the following error:
$ python pwb.py script_wui
* Initialization of bot
** Redirecting Lua print in order to catch it
Traceback (most recent call last):
File "pwb.py", line 250, in <module>
if not main():
File "pwb.py", line 243, in main
run_python_file(filename, [filename] + args, argvu, file_package)
File "pwb.py", line 95, in run_python_file
main_mod.__dict__)
File "./scripts/script_wui.py", line 361, in <module>
main()
File "./scripts/script_wui.py", line 352, in main
bot = ScriptWUIBot(site, chan, site.user() + '_WUI',
'irc.wikimedia.org')
File "./scripts/script_wui.py", line 139, in __init__
lua.execute('print = python.globals().pywikibot.output')
File "lupa/_lupa.pyx", line 280, in lupa._lupa.LuaRuntime.execute
File "lupa/_lupa.pyx", line 1297, in lupa._lupa.run_lua
File "lupa/_lupa.pyx", line 1306, in lupa._lupa.call_lua
File "lupa/_lupa.pyx", line 1332, in lupa._lupa.execute_lua_call
File "lupa/_lupa.pyx", line 1268, in lupa._lupa.raise_lua_error
lupa._lupa.LuaError: [string "<python>"]:1: attempt to call a nil value
(field 'globals')
stack traceback:
[string "<python>"]:1: in main chunk
CRITICAL: Exiting due to uncaught exception <class 'lupa._lupa.LuaError'>
TASK DETAIL
https://phabricator.wikimedia.org/T222759
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Dvorapa
Cc: Dvorapa, Aklapper, pywikibot-bugs-list, Pyfisch, AbdealiJK, valhallasw,
DrTrigon, Dalba, hashar, Xqt, Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupont,
JJMC89, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs