mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-27 13:31:08 -05:00
Add 'import supybot.i18n' warning to supybot-wizard.
This commit is contained in:
parent
260a511942
commit
eef901894d
@ -74,7 +74,7 @@ try:
|
|||||||
except ImportError:
|
except ImportError:
|
||||||
sys.stderr.write("""Error:
|
sys.stderr.write("""Error:
|
||||||
You are running a mix of Limnoria and stock Supybot code. Although you run
|
You are running a mix of Limnoria and stock Supybot code. Although you run
|
||||||
one of Limnoria\'s executables are installed, Python tries to load stock
|
one of Limnoria\'s executables, Python tries to load stock
|
||||||
Supybot\'s library. To fix this issue, uninstall Supybot
|
Supybot\'s library. To fix this issue, uninstall Supybot
|
||||||
("%s -m pip uninstall supybot" should do the job)
|
("%s -m pip uninstall supybot" should do the job)
|
||||||
and install Limnoria again.
|
and install Limnoria again.
|
||||||
|
@ -54,7 +54,20 @@ import socket
|
|||||||
import logging
|
import logging
|
||||||
import optparse
|
import optparse
|
||||||
|
|
||||||
import supybot.i18n as i18n
|
try:
|
||||||
|
import supybot.i18n as i18n
|
||||||
|
except ImportError:
|
||||||
|
sys.stderr.write("""Error:
|
||||||
|
You are running a mix of Limnoria and stock Supybot code. Although you run
|
||||||
|
one of Limnoria\'s executables, Python tries to load stock
|
||||||
|
Supybot\'s library. To fix this issue, uninstall Supybot
|
||||||
|
("%s -m pip uninstall supybot" should do the job)
|
||||||
|
and install Limnoria again.
|
||||||
|
For your information, Supybot's libraries are installed here:
|
||||||
|
%s\n""" %
|
||||||
|
(sys.executable, '\n '.join(supybot.__path__)))
|
||||||
|
exit(-1)
|
||||||
|
|
||||||
import supybot.ansi as ansi
|
import supybot.ansi as ansi
|
||||||
import supybot.utils as utils
|
import supybot.utils as utils
|
||||||
import supybot.ircutils as ircutils
|
import supybot.ircutils as ircutils
|
||||||
|
Loading…
x
Reference in New Issue
Block a user