TypeError: character mapping must return integer, None or unicode


#1

What is the problem?
I cannot run Octopi and cannot solve this error.

What did you already try to solve it?
tried different versions of octopi, sluguify and regex

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, octoprint.log, serial.log or output on terminal tab, ...)
I am trying to run it on a OrangePi PC with armbian

pi@orangepipc:~/OctoPrint$ ~/OctoPrint/venv/bin/octoprint serve
^[[3~2018-11-06 16:58:02,491 - octoprint.startup - INFO - ******************************************************************************
2018-11-06 16:58:02,494 - octoprint.startup - INFO - Starting OctoPrint 1.3.9
2018-11-06 16:58:02,496 - octoprint.startup - INFO - ******************************************************************************
2018-11-06 16:58:03,684 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins, /root/.octoprint/plugins and installed plugin packages...
2018-11-06 16:58:04,443 - octoprint.plugin.core - ERROR - Error loading plugin softwareupdate
Traceback (most recent call last):
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 847, in _import_plugin
instance = imp.load_module(key, f, filename, description)
File "/home/pi/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/softwareupdate/init.py", line 26, in
from octoprint.server.util.flask import restricted_access, with_revalidation_checking, check_etag
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/server/init.py", line 65, in
from octoprint.printer.profile import PrinterProfileManager
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/printer/init.py", line 28, in
from octoprint.filemanager import FileDestinations
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/filemanager/init.py", line 18, in
from .storage import LocalFileStorage
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/filemanager/storage.py", line 27, in
from slugify import Slugify
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/slugify/init.py", line 2, in
from slugify.main import Slugify, UniqueSlugify
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/slugify/main.py", line 68, in
class Slugify(object):
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/slugify/main.py", line 70, in Slugify
upper_to_upper_letters_re = re.compile(UPPER_TO_UPPER_LETTERS_RE, re.VERBOSE | re.VERSION1)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/regex.py", line 345, in compile
return _compile(pattern, flags, kwargs)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/regex.py", line 486, in _compile
parsed = _parse_pattern(source, info)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 388, in _parse_pattern
branches = [parse_sequence(source, info)]
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 413, in parse_sequence
element = parse_paren(source, info)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 823, in parse_paren
subpattern = _parse_pattern(source, info)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 388, in _parse_pattern
branches = [parse_sequence(source, info)]
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 410, in parse_sequence
sequence.append(parse_escape(source, info, False))
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1186, in parse_escape
return parse_property(source, info, ch == "p", in_set)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1341, in parse_property
prop = lookup_property(prop_name, name, positive != negate, source)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1603, in lookup_property
value = standardise_name(value)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/regex_core.py", line 1593, in standardise_name
return ascii_upper("".join(ch for ch in name if ch not in "
- "))
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1586, in ascii_upper
return s.translate(upper_trans)
TypeError: character mapping must return integer, None or unicode
2018-11-06 16:58:04,580 - octoprint.plugin.core - ERROR - Error loading plugin logging
Traceback (most recent call last):
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 847, in _import_plugin
instance = imp.load_module(key, f, filename, description)
File "/home/pi/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/logging/init.py", line 10, in
from octoprint.server import NO_CONTENT, admin_permission
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/server/init.py", line 65, in
from octoprint.printer.profile import PrinterProfileManager
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/printer/init.py", line 28, in
from octoprint.filemanager import FileDestinations
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/filemanager/init.py", line 18, in
from .storage import LocalFileStorage
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/filemanager/storage.py", line 27, in
from slugify import Slugify
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/slugify/init.py", line 2, in
from slugify.main import Slugify, UniqueSlugify
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/slugify/main.py", line 68, in
class Slugify(object):
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/slugify/main.py", line 70, in Slugify
upper_to_upper_letters_re = re.compile(UPPER_TO_UPPER_LETTERS_RE, re.VERBOSE | re.VERSION1)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/regex.py", line 345, in compile
return _compile(pattern, flags, kwargs)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/regex.py", line 486, in _compile
parsed = _parse_pattern(source, info)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 388, in _parse_pattern
branches = [parse_sequence(source, info)]
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 413, in parse_sequence
element = parse_paren(source, info)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 823, in parse_paren
subpattern = _parse_pattern(source, info)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 388, in _parse_pattern
branches = [parse_sequence(source, info)]
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 410, in parse_sequence
sequence.append(parse_escape(source, info, False))
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1186, in parse_escape
return parse_property(source, info, ch == "p", in_set)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1341, in parse_property
prop = lookup_property(prop_name, name, positive != negate, source)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1603, in lookup_property
value = standardise_name(value)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/regex_core.py", line 1593, in standardise_name
return ascii_upper("".join(ch for ch in name if ch not in "
- "))
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1586, in ascii_upper
return s.translate(upper_trans)
TypeError: character mapping must return integer, None or unicode
2018-11-06 16:58:04,630 - octoprint.plugin.core - ERROR - Error loading plugin printer_safety_check
Traceback (most recent call last):
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 847, in _import_plugin
instance = imp.load_module(key, f, filename, description)
File "/home/pi/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/printer_safety_check/init.py", line 10, in
from octoprint.server import user_permission
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/server/init.py", line 65, in
from octoprint.printer.profile import PrinterProfileManager
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/printer/init.py", line 28, in
from octoprint.filemanager import FileDestinations
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/filemanager/init.py", line 18, in
from .storage import LocalFileStorage
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/filemanager/storage.py", line 27, in
from slugify import Slugify
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/slugify/init.py", line 2, in
from slugify.main import Slugify, UniqueSlugify
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/slugify/main.py", line 68, in
class Slugify(object):
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/slugify/main.py", line 70, in Slugify
upper_to_upper_letters_re = re.compile(UPPER_TO_UPPER_LETTERS_RE, re.VERBOSE | re.VERSION1)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/regex.py", line 345, in compile
return _compile(pattern, flags, kwargs)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/regex.py", line 486, in _compile
parsed = _parse_pattern(source, info)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 388, in _parse_pattern
branches = [parse_sequence(source, info)]
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 413, in parse_sequence
element = parse_paren(source, info)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 823, in parse_paren
subpattern = _parse_pattern(source, info)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 388, in _parse_pattern
branches = [parse_sequence(source, info)]
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 410, in parse_sequence
sequence.append(parse_escape(source, info, False))
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1186, in parse_escape
return parse_property(source, info, ch == "p", in_set)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1341, in parse_property
prop = lookup_property(prop_name, name, positive != negate, source)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1603, in lookup_property
value = standardise_name(value)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/regex_core.py", line 1593, in standardise_name
return ascii_upper("".join(ch for ch in name if ch not in "
- "))
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1586, in ascii_upper
return s.translate(upper_trans)
TypeError: character mapping must return integer, None or unicode
2018-11-06 16:58:04,644 - octoprint.plugin.core - WARNING - Plugin "OctoPi Support Plugin" did not pass check
2018-11-06 16:58:04,871 - octoprint.plugin.core - ERROR - Error loading plugin announcements
Traceback (most recent call last):
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 847, in _import_plugin
instance = imp.load_module(key, f, filename, description)
File "/home/pi/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/announcements/init.py", line 23, in
from octoprint.server import admin_permission
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/server/init.py", line 65, in
from octoprint.printer.profile import PrinterProfileManager
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/printer/init.py", line 28, in
from octoprint.filemanager import FileDestinations
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/filemanager/init.py", line 18, in
from .storage import LocalFileStorage
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/filemanager/storage.py", line 27, in
from slugify import Slugify
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/slugify/init.py", line 2, in
from slugify.main import Slugify, UniqueSlugify
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/slugify/main.py", line 68, in
class Slugify(object):
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/slugify/main.py", line 70, in Slugify
upper_to_upper_letters_re = re.compile(UPPER_TO_UPPER_LETTERS_RE, re.VERBOSE | re.VERSION1)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/regex.py", line 345, in compile
return _compile(pattern, flags, kwargs)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/regex.py", line 486, in _compile
parsed = _parse_pattern(source, info)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 388, in _parse_pattern
branches = [parse_sequence(source, info)]
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 413, in parse_sequence
element = parse_paren(source, info)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 823, in parse_paren
subpattern = _parse_pattern(source, info)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 388, in _parse_pattern
branches = [parse_sequence(source, info)]
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 410, in parse_sequence
sequence.append(parse_escape(source, info, False))
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1186, in parse_escape
return parse_property(source, info, ch == "p", in_set)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1341, in parse_property
prop = lookup_property(prop_name, name, positive != negate, source)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1603, in lookup_property
value = standardise_name(value)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/regex_core.py", line 1593, in standardise_name
return ascii_upper("".join(ch for ch in name if ch not in "
- "))
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1586, in ascii_upper
return s.translate(upper_trans)
TypeError: character mapping must return integer, None or unicode
2018-11-06 16:58:04,906 - octoprint.plugin.core - ERROR - Error loading plugin action_command_prompt
Traceback (most recent call last):
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 847, in _import_plugin
instance = imp.load_module(key, f, filename, description)
File "/home/pi/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt/init.py", line 9, in
from octoprint.server import user_permission
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/server/init.py", line 65, in
from octoprint.printer.profile import PrinterProfileManager
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/printer/init.py", line 28, in
from octoprint.filemanager import FileDestinations
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/filemanager/init.py", line 18, in
from .storage import LocalFileStorage
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/filemanager/storage.py", line 27, in
from slugify import Slugify
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/slugify/init.py", line 2, in
from slugify.main import Slugify, UniqueSlugify
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/slugify/main.py", line 68, in
class Slugify(object):
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/slugify/main.py", line 70, in Slugify
upper_to_upper_letters_re = re.compile(UPPER_TO_UPPER_LETTERS_RE, re.VERBOSE | re.VERSION1)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/regex.py", line 345, in compile
return _compile(pattern, flags, kwargs)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/regex.py", line 486, in _compile
parsed = _parse_pattern(source, info)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 388, in _parse_pattern
branches = [parse_sequence(source, info)]
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 413, in parse_sequence
element = parse_paren(source, info)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 823, in parse_paren
subpattern = _parse_pattern(source, info)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 388, in _parse_pattern
branches = [parse_sequence(source, info)]
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 410, in parse_sequence
sequence.append(parse_escape(source, info, False))
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1186, in parse_escape
return parse_property(source, info, ch == "p", in_set)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1341, in parse_property
prop = lookup_property(prop_name, name, positive != negate, source)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1603, in lookup_property
value = standardise_name(value)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/regex_core.py", line 1593, in standardise_name
return ascii_upper("".join(ch for ch in name if ch not in "
- "))
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1586, in ascii_upper
return s.translate(upper_trans)
TypeError: character mapping must return integer, None or unicode
2018-11-06 16:58:05,001 - octoprint.plugin.core - ERROR - Error loading plugin pluginmanager
Traceback (most recent call last):
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 847, in _import_plugin
instance = imp.load_module(key, f, filename, description)
File "/home/pi/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/init.py", line 14, in
from octoprint.server.util.flask import restricted_access, with_revalidation_checking, check_etag
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/server/init.py", line 65, in
from octoprint.printer.profile import PrinterProfileManager
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/printer/init.py", line 28, in
from octoprint.filemanager import FileDestinations
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/filemanager/init.py", line 18, in
from .storage import LocalFileStorage
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/filemanager/storage.py", line 27, in
from slugify import Slugify
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/slugify/init.py", line 2, in
from slugify.main import Slugify, UniqueSlugify
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/slugify/main.py", line 68, in
class Slugify(object):
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/slugify/main.py", line 70, in Slugify
upper_to_upper_letters_re = re.compile(UPPER_TO_UPPER_LETTERS_RE, re.VERBOSE | re.VERSION1)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/regex.py", line 345, in compile
return _compile(pattern, flags, kwargs)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/regex.py", line 486, in _compile
parsed = _parse_pattern(source, info)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 388, in _parse_pattern
branches = [parse_sequence(source, info)]
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 413, in parse_sequence
element = parse_paren(source, info)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 823, in parse_paren
subpattern = _parse_pattern(source, info)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 388, in _parse_pattern
branches = [parse_sequence(source, info)]
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 410, in parse_sequence
sequence.append(parse_escape(source, info, False))
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1186, in parse_escape
return parse_property(source, info, ch == "p", in_set)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1341, in parse_property
prop = lookup_property(prop_name, name, positive != negate, source)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1603, in lookup_property
value = standardise_name(value)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/regex_core.py", line 1593, in standardise_name
return ascii_upper("".join(ch for ch in name if ch not in "
- "))
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1586, in ascii_upper
return s.translate(upper_trans)
TypeError: character mapping must return integer, None or unicode
2018-11-06 16:58:05,621 - octoprint.plugins.discovery - INFO - pybonjour is not installed, Zeroconf Discovery won't be available
2018-11-06 16:58:05,629 - octoprint.plugin.core - INFO - Found 4 plugin(s) providing 4 mixin implementations, 1 hook handlers
2018-11-06 16:58:05,769 - octoprint.cli.server - ERROR - Uncaught exception
Traceback (most recent call last):
File "/home/pi/OctoPrint/venv/bin/octoprint", line 11, in
sys.exit(main())
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/init.py", line 599, in main
octo(args=args, prog_name="octoprint", auto_envvar_prefix="OCTOPRINT")
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/click/core.py", line 716, in call
return self.main(*args, **kwargs)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/cli/server.py", line 188, in serve_command
ignore_blacklist)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/cli/server.py", line 97, in run_server
from octoprint.server import Server
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/server/init.py", line 65, in
from octoprint.printer.profile import PrinterProfileManager
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/printer/init.py", line 28, in
from octoprint.filemanager import FileDestinations
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/filemanager/init.py", line 18, in
from .storage import LocalFileStorage
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/filemanager/storage.py", line 27, in
from slugify import Slugify
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/slugify/init.py", line 2, in
from slugify.main import Slugify, UniqueSlugify
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/slugify/main.py", line 68, in
class Slugify(object):
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/slugify/main.py", line 70, in Slugify
upper_to_upper_letters_re = re.compile(UPPER_TO_UPPER_LETTERS_RE, re.VERBOSE | re.VERSION1)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/regex.py", line 345, in compile
return _compile(pattern, flags, kwargs)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/regex.py", line 486, in _compile
parsed = _parse_pattern(source, info)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 388, in _parse_pattern
branches = [parse_sequence(source, info)]
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 413, in parse_sequence
element = parse_paren(source, info)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 823, in parse_paren
subpattern = _parse_pattern(source, info)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 388, in _parse_pattern
branches = [parse_sequence(source, info)]
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 410, in parse_sequence
sequence.append(parse_escape(source, info, False))
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1186, in parse_escape
return parse_property(source, info, ch == "p", in_set)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1341, in parse_property
prop = lookup_property(prop_name, name, positive != negate, source)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1603, in lookup_property
value = standardise_name(value)
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/regex_core.py", line 1593, in standardise_name
return ascii_upper("".join(ch for ch in name if ch not in "
- "))
File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/_regex_core.py", line 1586, in ascii_upper
return s.translate(upper_trans)
TypeError: character mapping must return integer, None or unicode


#2

Try pip install regex==2018.11.3 before installing OctoPrint, that should fix it. The regex dependency pulled in by another third party dependency got an update over night, that that seems to be broken.


#3

Yep! That's it. Thanks a lot!