EventScripts-Emulator
EventScripts-Emulator copied to clipboard
Invalid escape sequence
2021-02-16 12:10:40 - sp - WARNING
[SP] Encountered a Warning:
File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/exp/exp.py', line 55: DeprecationWarning
invalid escape sequence \:
2021-02-16 12:10:40 - sp - WARNING
[SP] Encountered a Warning:
File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/exp/exp.py', line 265: DeprecationWarning
invalid escape sequence \(
2021-02-16 12:10:40 - sp - WARNING
[SP] Encountered a Warning:
File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/exp/exp.py', line 265: DeprecationWarning
invalid escape sequence \)
2021-02-16 12:10:40 - sp - WARNING
[SP] Encountered a Warning:
File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning
invalid escape sequence \^
2021-02-16 12:10:40 - sp - WARNING
[SP] Encountered a Warning:
File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning
invalid escape sequence \$
2021-02-16 12:10:40 - sp - WARNING
[SP] Encountered a Warning:
File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning
invalid escape sequence \*
2021-02-16 12:10:40 - sp - WARNING
[SP] Encountered a Warning:
File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning
invalid escape sequence \+
2021-02-16 12:10:40 - sp - WARNING
[SP] Encountered a Warning:
File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning
invalid escape sequence \?
2021-02-16 12:10:40 - sp - WARNING
[SP] Encountered a Warning:
File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning
invalid escape sequence \.
2021-02-16 12:10:40 - sp - WARNING
[SP] Encountered a Warning:
File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning
invalid escape sequence \|
2021-02-16 12:10:40 - sp - WARNING
[SP] Encountered a Warning:
File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning
invalid escape sequence \[
2021-02-16 12:10:40 - sp - WARNING
[SP] Encountered a Warning:
File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning
invalid escape sequence \]
2021-02-16 12:10:40 - sp - WARNING
[SP] Encountered a Warning:
File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning
invalid escape sequence \{
2021-02-16 12:10:40 - sp - WARNING
[SP] Encountered a Warning:
File '../addons/source-python/plugins/es_emulator/eventscripts/corelib/escinject/escinject.py', line 9: DeprecationWarning
invalid escape sequence \}
This issue seems to be resolved with latest SP & emulator versions.
No, those warnings are only shown once. With a fresh installation you will see them again. However, they are just warnings I need to fix some day.
Double restart needed in order to get emulator to work because of this warning. Just mentioning this for other people comming across this issue.
Double restart needed in order to get emulator to work because of this warning. Just mentioning this for other people comming across this issue.
Like I said they are just warnings that appear once with a fresh install. That's how Python warnings work. You can simply ignore them and don't need restart. The warnings won't have any impact on the functionality. They just tell me that escinject.py
is using a syntax that is deprecated in Python 3.6, but works fine. Only if we update SP to a higher release, they will turn into errors.
Hey Ayuto. In my case I had to restart the server after the warning before the emulator would work. So it might be confusing for new people since I tested it twice and it only works if you restart the server after the first start. Not sure if this warning is 100% the cause but it seems like it.