On Monday Denzell and I had tried our best to find a way around our plugin problem. The problem was that we could run the cookiecutter command and create a plugin, but it was not showing up when we ran the OctoPrint server. Our teammates had been having trouble with implementing a plugin as well, however, their woes were a bit different from ours. After they reached out to the community, they found out that they were using an old version of cookiecutter. As soon as they updated cookiecutter, they were able to see the plugin that they had created (hoorray).
Denzell and I decided to give this a try in order to see whether or not this was our problem also, and it was not. When we tried to update our cookiecutter, it said that it was already up-to-date. Somewhat defeated, we left class with plans to work separately and see how far we could get before reconvening on Wednesday (tomorrow). I went home and pulled out my old Ubuntu laptop. I decided to start from complete scratch. Here is exactly what I did and what brought me success:



Download & Setup
cd ~
sudo apt-get install python-pip python-dev python-setuptools python-virtualenv git libyaml-dev build-essential
git clone https://github.com/foosel/OctoPrint.git
cd OctoPrint
virtualenv venv
./venv/bin/pip install pip –upgrade
./venv/bin/python setup.py install
mkdir ~/.octoprint

sudo usermod -a -G tty user
sudo usermod -a -G dialout user

cd ~/OctoPrint/
git pull
./venv/bin/python setup.py install

Enter the virtual environment
cd OctoPrint
source ./venv/bin/activate

Install cookiecutter & upgrade cookiecutter on home directory inside of the virtual environment
pip install cookiecutter
sudo easy_install –upgrade cookiecutter

Create the plugin
Follow the tutorial : http://docs.octoprint.org/en/master/plugins/gettingstarted.html



I am currently working my way through the Frontend Fun part of the tutorial. I spent a lot of time on this trying to figure out the problem, when the problem was not updating cookiecutter (go figure). I am really excited to share my success with Denzell tomorrow and to move forward!