Setup Guide: DIY CANVAS Hub (OctoPi + CANVAS and P2 Plugins)

Follow
Was this article helpful?
10 out of 11 found this helpful
Have more questions? Submit a request

Comments

31 comments

  • Avatar
    Donovan Meyers

    You might want to say upgrade to the latest *stable* version of Octoprint. There are some Release Candidates out right now.

    But thank you so much for allowing us to control our Palette 2s with our existing OctoPi!

    0
    Comment actions Permalink
  • Avatar
    Bill Marquette

    I couldn't connect to my Palette 2 from Octoprint until the Palette was at it's home screen.

    0
    Comment actions Permalink
  • Avatar
    Donovan Meyers

    Me again. :)

    I just followed these instructions and it went really smoothly. Very clear.

    I didn't run into what Bill mentioned, possibly because I poked at the touchscreen while OctoPrint was restarting (before I linked Canvas and connected to Palette 2 Pro). It was asking me about tube length.

    To nitpick, in #10, any tab can be across the top, or on the dropdown. Maybe these instructions are tailored toward the most basic install. For me, both CANVAS and Palette 2 were in the dropdown, because I have extra plugins installed that add tabs so the top row was full. Someone with fewer tabs might have both CANVAS and Palette 2 across the top.

    0
    Comment actions Permalink
  • Avatar
    Benoit Valin

    Quick tip:  The Canvas plugin seems to only works on a Raspberry Pi, I've tried on Udoo's and Beagle Boards and the CANVAS plugin simply can't connect the account...

    0
    Comment actions Permalink
  • Avatar
    Dedethom

    I had a major issue where when I autoload the filaments or load it manually, as soon as the printer was starting, it was retracting what was fed in the extruder.

    I finally found what was the problem and I hope you will make a note on your support page in this section. I figured that my problem relied with OctoPrint since 2 different printers with different start and end gcodes were acting the same.

    It appears that in Octoprint I had a gcode script for the ‘after resume’. I had to disable that and now everything work as a charm. After losing 2 rolls of filament and a lot (about 2 months of trial and error), I’m finally able to print in color with my printers.

    Please, please, please, mention that in the Support section as to avoid all frustrations users might have with the same issue.

    Thank you.

    André 😉

    0
    Comment actions Permalink
  • Avatar
    Jonny Yeu

    Thanks for sharing, André! I'll update the article to note this information.

    0
    Comment actions Permalink
  • Avatar
    Lionel Samain

    Hi,

    I'm stuck at step 6.

    I installed the two plugins, then rebooted Octoprint, but the Canvas Hub UI does not show up. I tried it several times, with different methods.

     

    I tried to download the two plugins then reboot. I also tried to DL one plugin, reboot, then the other one and reboot again, but it didn't work.

     

    What should I do ?

    0
    Comment actions Permalink
  • Avatar
    Jonny Yeu

    Hi Lionel, are you trying to connect via the serial number web address? If so, could you please try and connect via the Hub's IP address? This can be found using your network router or a program like Advanced IP Scanner (advanced-ip-scanner.com).

    0
    Comment actions Permalink
  • Avatar
    Johnny Park

    Hi,

    I have the same issue as Lionel.

    Although successfully installed the two plugins, the Canvas Hub UI does not show up.

    And the plugin section in the OctoPrint settings does not show the Canvas nor Palette panels as shown in Step 11.

    0
    Comment actions Permalink
  • Avatar
    Benoit Valin

    Are you sure the Tabs aren't hidden? (window to narrow)

    There is a little sandwich on the right to open other tabs

    0
    Comment actions Permalink
  • Avatar
    Johnny Park

    This is the Settings window after the two plugins have been installed successfully.

    No tabs are hidden. I was talking about the Plugins section at the bottom of the left column.

    And the UI is the default OctoPrint even I installed the two plugins.

    The version of OctoPrint is 1.3.11

    0
    Comment actions Permalink
  • Avatar
    Benoit Valin

    And the plugin manager show that the two plugins are installed ? and the plugins are enabled ?

     

    0
    Comment actions Permalink
  • Avatar
    Johnny Park

    No. The plugin manager does not show the two plugins. I tried to install them several times, but they are not shown in the plugin manager list.

    0
    Comment actions Permalink
  • Avatar
    Benoit Valin

    Then they aren't installed, try to manually install them with PIP from a terminal (in the install folder)

    pip install "https://gitlab.com/mosaic-mfg/canvas-plugin/-/archive/master/canvas-plugin-master.zip"

    pip install "https://gitlab.com/mosaic-mfg/palette-2-plugin/-/archive/master/palette-2-plugin-master.zip"

    0
    Comment actions Permalink
  • Avatar
    Lionel Samain

    Hello Benoit,

    Yep, Johnny has the same issue as me.

     

    Sorry, but I don't understand what you mean by " try to manually install them with PIP from a terminal". I don't know what PIP is. Could you give me more details ?

    0
    Comment actions Permalink
  • Avatar
    Johnny Park

    I somehow managed to install them with PIP from a terminal (I am not a computer guy, I just googled and followed the instruction, but didn't understand "in the install folder" part.)

    In the terminal, after long lines when I hit the enter with the command as Benoit told, it says,

    "Building wheel for Palette-2 (setup.py) ... done

      Created wheel for Palette-2: filename=Palette_2-2.1.7-cp27-none-any.whl size=38990 sha256=698a2811677de754e71dcb37fb782cf1f32265f6715641861fd9994f70c73b98

      Stored in directory: /home/pi/.cache/pip/wheels/0f/0e/7f/45c3f6147fb33f4c23a1fa6a50611388dc08872ec25c3bb38d

    Successfully built Palette-2"

    But when I reboot the pi and opened up the Plugin manager window, it still does not show up in the list.

    0
    Comment actions Permalink
  • Avatar
    Benoit Valin

    SSH onto your Raspberry Pi, and execute the commands

    on my machine, the pip is located here: ~/oprint/bin/

    ~/oprint/bin/pip install "https://gitlab.com/mosaic-mfg/canvas-plugin/-/archive/master/canvas-plugin-master.zip"

    ~/oprint/bin/pip install "https://gitlab.com/mosaic-mfg/palette-2-plugin/-/archive/master/palette-2-plugin-master.zip"

    0
    Comment actions Permalink
  • Avatar
    Benoit Valin

    You might be using your system pip not the OctoPrint pip, they are different and would install the plugin in the wrong destination.

    0
    Comment actions Permalink
  • Avatar
    Johnny Park

    Sorry Benoit. I'm not a computer guy, and I do not even know what pip is.

    I used Mac's terminal app, and I think I have logged in my Raspberry Pi via SSH using "ssh <IP address> -l pi" command.

    And then I copy and pasted the command lines as you mentioned.

    ~/oprint/bin/pip install "https://gitlab.com/mosaic-mfg/canvas-plugin/-/archive/master/canvas-plugin-master.zip"

    ~/oprint/bin/pip install "https://gitlab.com/mosaic-mfg/palette-2-plugin/-/archive/master/palette-2-plugin-master.zip"

    For both of them, it says "Successfully build Palette-2" and "Successfully built Canvas". but when I accessed my pi via webpage, it's UI is still the default Octoprint one.

    How do I know whether I used the OctoPrint pip and the target destination for installation was correct?

    0
    Comment actions Permalink
  • Avatar
    Johnny Park

    The following shows what happened when I installed the first plugin.

    Sorry for the long comments.

    pi@octopi:~ $ ~/oprint/bin/pip install "https://gitlab.com/mosaic-mfg/palette-2-plugin/-/archive/master/palette-2-plugin-master.zip"

    DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support

    Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple

    Collecting https://gitlab.com/mosaic-mfg/palette-2-plugin/-/archive/master/palette-2-plugin-master.zip

      Downloading https://gitlab.com/mosaic-mfg/palette-2-plugin/-/archive/master/palette-2-plugin-master.zip (853kB)

         |################################| 860kB 269kB/s 

    Requirement already satisfied (use --upgrade to upgrade): Palette-2==2.1.7 from https://gitlab.com/mosaic-mfg/palette-2-plugin/-/archive/master/palette-2-plugin-master.zip in ./oprint/lib/python2.7/site-packages

    Requirement already satisfied: OctoPrint in ./oprint/lib/python2.7/site-packages (from Palette-2==2.1.7) (1.3.11)

    Requirement already satisfied: ruamel.yaml in ./oprint/lib/python2.7/site-packages (from Palette-2==2.1.7) (0.16.0)

    Requirement already satisfied: python-dotenv in ./oprint/lib/python2.7/site-packages (from Palette-2==2.1.7) (0.10.3)

    Requirement already satisfied: flask<0.11,>=0.10.1 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (0.10.1)

    Requirement already satisfied: Jinja2<2.9,>=2.8.1 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (2.8.1)

    Requirement already satisfied: tornado==4.5.3 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (4.5.3)

    Requirement already satisfied: Flask-Login<0.3,>=0.2.11 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (0.2.11)

    Requirement already satisfied: regex!=2018.11.6 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (2019.1.24)

    Requirement already satisfied: Flask-Principal<0.5,>=0.4 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (0.4.0)

    Requirement already satisfied: Flask-Babel<0.13,>=0.12 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (0.12.2)

    Requirement already satisfied: Flask-Assets<0.13,>=0.12 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (0.12)

    Requirement already satisfied: werkzeug<0.16,>=0.15.1 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (0.15.5)

    Requirement already satisfied: cachelib<0.2,>=0.1 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (0.1)

    Requirement already satisfied: PyYAML<6,>=5.1 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (5.1.1)

    Requirement already satisfied: markdown<3.1,>=3.0 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (3.0.1)

    Requirement already satisfied: pyserial<3.5,>=3.4 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (3.4)

    Requirement already satisfied: netaddr<0.8,>=0.7.19 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (0.7.19)

    Requirement already satisfied: watchdog<0.10,>=0.9.0 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (0.9.0)

    Requirement already satisfied: sarge==0.1.5post0 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (0.1.5.post0)

    Requirement already satisfied: netifaces<0.11,>=0.10.9 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (0.10.9)

    Requirement already satisfied: pylru<1.3,>=1.2 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (1.2.0)

    Requirement already satisfied: rsa<5,>=4.0 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (4.0)

    Requirement already satisfied: pkginfo<1.6,>=1.5.0.1 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (1.5.0.1)

    Requirement already satisfied: requests<3,>=2.21.0 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (2.21.0)

    Requirement already satisfied: semantic_version<2.7,>=2.6 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (2.6.0)

    Requirement already satisfied: psutil<5.7,>=5.6.1 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (5.6.3)

    Requirement already satisfied: Click<8,>=7 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (7.0)

    Requirement already satisfied: awesome-slugify<1.7,>=1.6.5 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (1.6.5)

    Requirement already satisfied: feedparser<5.3,>=5.2.1 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (5.2.1)

    Requirement already satisfied: chainmap<1.1,>=1.0.3 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (1.0.3)

    Requirement already satisfied: future<0.18,>=0.17.1 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (0.17.1)

    Requirement already satisfied: scandir<1.11,>=1.10 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (1.10.0)

    Requirement already satisfied: websocket-client<0.57,>=0.56 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (0.56.0)

    Requirement already satisfied: wrapt<1.12,>=1.11.1 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (1.11.2)

    Requirement already satisfied: futures<3.3,>=3.2 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (3.2.0)

    Requirement already satisfied: emoji<0.6,>=0.5.1 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (0.5.2)

    Requirement already satisfied: monotonic<1.6,>=1.5 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (1.5)

    Requirement already satisfied: frozendict<1.3,>=1.2 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (1.2)

    Requirement already satisfied: sentry-sdk==0.7.7 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (0.7.7)

    Requirement already satisfied: typing<4,>=3.6.6 in ./oprint/lib/python2.7/site-packages (from OctoPrint->Palette-2==2.1.7) (3.7.4)

    Requirement already satisfied: ruamel.ordereddict; platform_python_implementation == "CPython" and python_version <= "2.7" in ./oprint/lib/python2.7/site-packages (from ruamel.yaml->Palette-2==2.1.7) (0.4.14)

    Requirement already satisfied: ruamel.yaml.clib; platform_python_implementation == "CPython" and python_version < "3.8" in ./oprint/lib/python2.7/site-packages (from ruamel.yaml->Palette-2==2.1.7) (0.1.0)

    Requirement already satisfied: itsdangerous>=0.21 in ./oprint/lib/python2.7/site-packages (from flask<0.11,>=0.10.1->OctoPrint->Palette-2==2.1.7) (1.1.0)

    Requirement already satisfied: MarkupSafe in ./oprint/lib/python2.7/site-packages (from Jinja2<2.9,>=2.8.1->OctoPrint->Palette-2==2.1.7) (1.1.0)

    Requirement already satisfied: singledispatch in ./oprint/lib/python2.7/site-packages (from tornado==4.5.3->OctoPrint->Palette-2==2.1.7) (3.4.0.3)

    Requirement already satisfied: certifi in ./oprint/lib/python2.7/site-packages (from tornado==4.5.3->OctoPrint->Palette-2==2.1.7) (2018.11.29)

    Requirement already satisfied: backports-abc>=0.4 in ./oprint/lib/python2.7/site-packages (from tornado==4.5.3->OctoPrint->Palette-2==2.1.7) (0.5)

    Requirement already satisfied: blinker in ./oprint/lib/python2.7/site-packages (from Flask-Principal<0.5,>=0.4->OctoPrint->Palette-2==2.1.7) (1.4)

    Requirement already satisfied: Babel>=2.3 in ./oprint/lib/python2.7/site-packages (from Flask-Babel<0.13,>=0.12->OctoPrint->Palette-2==2.1.7) (2.6.0)

    Requirement already satisfied: webassets>=0.11.1 in ./oprint/lib/python2.7/site-packages (from Flask-Assets<0.13,>=0.12->OctoPrint->Palette-2==2.1.7) (0.12.1)

    Requirement already satisfied: argh>=0.24.1 in ./oprint/lib/python2.7/site-packages (from watchdog<0.10,>=0.9.0->OctoPrint->Palette-2==2.1.7) (0.26.2)

    Requirement already satisfied: pathtools>=0.1.1 in ./oprint/lib/python2.7/site-packages (from watchdog<0.10,>=0.9.0->OctoPrint->Palette-2==2.1.7) (0.1.2)

    Requirement already satisfied: pyasn1>=0.1.3 in ./oprint/lib/python2.7/site-packages (from rsa<5,>=4.0->OctoPrint->Palette-2==2.1.7) (0.4.5)

    Requirement already satisfied: urllib3<1.25,>=1.21.1 in ./oprint/lib/python2.7/site-packages (from requests<3,>=2.21.0->OctoPrint->Palette-2==2.1.7) (1.24.1)

    Requirement already satisfied: idna<2.9,>=2.5 in ./oprint/lib/python2.7/site-packages (from requests<3,>=2.21.0->OctoPrint->Palette-2==2.1.7) (2.8)

    Requirement already satisfied: chardet<3.1.0,>=3.0.2 in ./oprint/lib/python2.7/site-packages (from requests<3,>=2.21.0->OctoPrint->Palette-2==2.1.7) (3.0.4)

    Requirement already satisfied: Unidecode<0.05,>=0.04.14 in ./oprint/lib/python2.7/site-packages (from awesome-slugify<1.7,>=1.6.5->OctoPrint->Palette-2==2.1.7) (0.4.21)

    Requirement already satisfied: six in ./oprint/lib/python2.7/site-packages (from websocket-client<0.57,>=0.56->OctoPrint->Palette-2==2.1.7) (1.12.0)

    Requirement already satisfied: pytz>=0a in ./oprint/lib/python2.7/site-packages (from Babel>=2.3->Flask-Babel<0.13,>=0.12->OctoPrint->Palette-2==2.1.7) (2018.9)

    Building wheels for collected packages: Palette-2

      Building wheel for Palette-2 (setup.py) ... done

      Created wheel for Palette-2: filename=Palette_2-2.1.7-cp27-none-any.whl size=38990 sha256=48a65d79f741906a119d5d1092c790e45216833205654624a25e7dce0559ab7f

      Stored in directory: /home/pi/.cache/pip/wheels/0f/0e/7f/45c3f6147fb33f4c23a1fa6a50611388dc08872ec25c3bb38d

    Successfully built Palette-2

    0
    Comment actions Permalink
  • Avatar
    Benoit Valin

    Are they present in the Plugin Manager, if they are they might need to be activated, if they are not, then i'm out of ideas, i'd reflash the octopi image and restart from scratch

    0
    Comment actions Permalink
  • Avatar
    Johnny Park

    They still don't show up in the plugin manager.

    I will try to restart from scratch again.

    Thank you so much Benoit.

    0
    Comment actions Permalink
  • Avatar
    Lionel Samain

    I'm not at home right now, so I'll try everything you recommended later. But in the case I'd have to restart from scratch, just to be clear : I do have to reboot the Pi between canvas plugin installation and the palette plugin installation, right ?

     

    Because this might be what I've done wrong the first time.

    0
    Comment actions Permalink
  • Avatar
    Benoit Valin

    If you install from the OctoPrint page the server will restart after each plugin, but I don't think it's an absolute requirement. 

    if you do a command line install you might want to stop the octoprint service before in case it creates conflicts.

    0
    Comment actions Permalink
  • Avatar
    Johnny Park

    I don't know why, but I tried from scratch three times, and it works fine now.

    After upgrading to the latest version of OctoPrint, I installed the plugins using the following commands,

    ~/oprint/bin/pip install "https://gitlab.com/mosaic-mfg/canvas-plugin/-/archive/master/canvas-plugin-master.zip"

    ~/oprint/bin/pip install "https://gitlab.com/mosaic-mfg/palette-2-plugin/-/archive/master/palette-2-plugin-master.zip"

    It didn't work until the third trial. No idea how it works now. :(

    0
    Comment actions Permalink
  • Avatar
    Lionel Samain

    Lol, at least it works. I'll follow your steps and do the same, Johnny.

    None of the instructions above worked on my current installation.

    0
    Comment actions Permalink
  • Avatar
    Lionel Samain

    Hello again,

     

    It worked, thanks to Benoit's advices.

     

    I started clean and installed the plugins with the command. After a reboot everything was done. :)

    0
    Comment actions Permalink
  • Avatar
    Jay Kavanagh

    Hey guys I almost cried when i read through these notes as I was in the exact same boat...so I just redid my image as you guys did...I did use a different sd card and was able to get it to work on only 1 redo...what an odd crazy issue.

    0
    Comment actions Permalink
  • Avatar
    John Driggers

    So I'm having no such luck - if I  look at the octoprint log, I have :

     

    2019-08-01 07:02:33,440 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
    2019-08-01 07:02:34,691 - octoprint.plugin.core - ERROR - Error loading plugin palette2
    Traceback (most recent call last):
    File "/home/pi/oprint/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/oprint/local/lib/python2.7/site-packages/octoprint_palette2/__init__.py", line 10, in <module>
    from . import Omega
    File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_palette2/Omega.py", line 12, in <module>
    from ruamel.yaml import YAML
    ImportError: cannot import name YAML
    2019-08-01 07:02:34,774 - octoprint.plugin.core - ERROR - Error loading plugin canvas
    Traceback (most recent call last):
    File "/home/pi/oprint/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/oprint/local/lib/python2.7/site-packages/octoprint_canvas/__init__.py", line 7, in <module>
    from . import Canvas
    File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_canvas/Canvas.py", line 12, in <module>
    from ruamel.yaml import YAML
    ImportError: cannot import name YAML

    0
    Comment actions Permalink
  • Avatar
    Reza Azar

    After I could not update the plugins, I removed them, and I could not add them again. Did the command line method and these are errors. Help

    ~/oprint/bin/pip install https://gitlab.com/mosaic-mfg/canvas-plugin/-/archive/master/canvas-plugin-master.zip
    DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
    Collecting https://gitlab.com/mosaic-mfg/canvas-plugin/-/archive/master/canvas-plugin-master.zip
    Using cached https://gitlab.com/mosaic-mfg/canvas-plugin/-/archive/master/canvas-plugin-master.zip
    Requirement already satisfied: OctoPrint in ./oprint/lib/python2.7/site-packages (from Canvas==2.0.8) (1.3.11)
    Collecting ruamel.yaml<0.16.0 (from Canvas==2.0.8)
    Using cached https://files.pythonhosted.org/packages/9a/ee/55cd64bbff971c181e2d9e1c13aba9a27fd4cd2bee545dbe90c44427c757/ruamel.yaml-0.15.100.tar.gz
    ERROR: Command errored out with exit status 1:
    command: /home/pi/oprint/bin/python2 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ty5pIV/ruamel.yaml/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ty5pIV/ruamel.yaml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
    cwd: /tmp/pip-install-ty5pIV/ruamel.yaml/
    Complete output (7 lines):
    /home/pi/oprint/local/lib/python2.7/site-packages/setuptools/dist.py:18: UserWarning: Module _ruamel_yaml was already imported from /home/pi/oprint/local/lib/python2.7/site-packages/_ruamel_yaml.so, but /tmp/pip-install-ty5pIV/ruamel.yaml is being added to sys.path
    import pkg_resources
    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
    warnings.warn(msg)
    sys.argv ['/tmp/pip-install-ty5pIV/ruamel.yaml/setup.py', 'egg_info', '--egg-base', 'pip-egg-info']
    test compiling test_ruamel_yaml
    error in ruamel.yaml setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
    ----------------------------------------
    ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

    ***********************************************************
    pi@octopi:~ $ ~/oprint/bin/pip install "https://gitlab.com/mosaic-mfg/palette-2-plugin/-/archive/master/palette-2-plugin-master.zip"
    DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
    Collecting https://gitlab.com/mosaic-mfg/palette-2-plugin/-/archive/master/palette-2-plugin-master.zip
    Downloading https://gitlab.com/mosaic-mfg/palette-2-plugin/-/archive/master/palette-2-plugin-master.zip (854kB)
    |################################| 860kB 805kB/s
    Requirement already satisfied: OctoPrint in ./oprint/lib/python2.7/site-packages (from Palette-2==2.2.1) (1.3.11)
    Collecting ruamel.yaml<0.16.0 (from Palette-2==2.2.1)
    Using cached https://files.pythonhosted.org/packages/9a/ee/55cd64bbff971c181e2d9e1c13aba9a27fd4cd2bee545dbe90c44427c757/ruamel.yaml-0.15.100.tar.gz
    ERROR: Command errored out with exit status 1:
    command: /home/pi/oprint/bin/python2 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-8Iby8J/ruamel.yaml/setup.py'"'"'; __file__='"'"'/tmp/pip-install-8Iby8J/ruamel.yaml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
    cwd: /tmp/pip-install-8Iby8J/ruamel.yaml/
    Complete output (7 lines):
    /home/pi/oprint/local/lib/python2.7/site-packages/setuptools/dist.py:18: UserWarning: Module _ruamel_yaml was already imported from /home/pi/oprint/local/lib/python2.7/site-packages/_ruamel_yaml.so, but /tmp/pip-install-8Iby8J/ruamel.yaml is being added to sys.path
    import pkg_resources
    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
    warnings.warn(msg)
    sys.argv ['/tmp/pip-install-8Iby8J/ruamel.yaml/setup.py', 'egg_info', '--egg-base', 'pip-egg-info']
    test compiling test_ruamel_yaml
    error in ruamel.yaml setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
    ----------------------------------------
    ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.


    0
    Comment actions Permalink

Leave a comment