Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Octoprint 1.4.0 ? #1

Open
vincentdieltiens opened this issue Apr 16, 2020 · 0 comments
Open

Octoprint 1.4.0 ? #1

vincentdieltiens opened this issue Apr 16, 2020 · 0 comments

Comments

@vincentdieltiens
Copy link

I tried to install this plugin for octoprint 1.4.0 without success.

Here is the content of octoprint.log :

2020-04-16 17:08:14,420 - octoprint.plugins.pluginmanager - ERROR - Could not install plugin from https://github.com/jcbelanger/OctoPrint-WebNotifications/archive/master.zip
Traceback (most recent call last):
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 462, in command_install
    returncode, stdout, stderr = self._call_pip(pip_args)
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 879, in _call_pip
    return self._pip_caller.execute(*args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/pip.py", line 185, in execute
    return self.call(command, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/commandline.py", line 228, in call
    all_stderr += process_stderr(p.stderr.readlines(timeout=0.5))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/commandline.py", line 224, in process_stderr
    return process_lines(lines, self._log_stderr)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/commandline.py", line 216, in process_lines
    l = self._preprocess_lines(*map(lambda x: to_unicode(x, errors="replace"), lines))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/pip.py", line 414, in _preprocess_lines
    return list(map(self._preprocess, lines))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/pip.py", line 433, in _preprocess
    return to_unicode(clean_ansi(text))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/commandline.py", line 54, in clean_ansi
    return _ANSI_REGEX.sub(b"", line.encode("latin1")).decode("latin1")
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u2018' in position 77: ordinal not in range(256)
2020-04-16 17:08:14,430 - tornado.access - ERROR - 500 POST /api/plugin/pluginmanager (::ffff:192.168.1.57) 107253.87ms

Any idea of how to solve the problem ?

Thanks,

Vincent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant