I know the last reply to this topic is from nearly a year ago, but just wanted to report that I just installed OctoPrint v1.3.9 on my Omega2+ with the latest 0.2.1 (b199) firmware (had 0.2 or the last of the 0.1 line and OctoPrint 1.0.0 when I used it last), and it seems to be working fine with my Kodama Trinus printer just fine... Thanks to all the posters who suggested the swap memory, python-dev/gcc and octoprint serve --iknowwhatimdoing workarounds / updates to the instructions... after some fumbling around I was able get it all working!
Posts made by Peter Feerick
-
RE: Octoprint (3D print server) on Omega2+
-
RE: Octoprint (3D print server) on Omega2+
@Alan-Brand Well, I ran that command, but I'm not sure yet. I was initally getting out of memory errors, so I added a 256MB swap file, and then kept going, and now I'm getting a "IOError: [Errno 28] No space left on device"??? Hello... there's only 13.3G of free space on the micoSD?
Edit: Monkey behind the keyboard then realises that he had stupidly and willfully skipped instructions from earlier, and said error message was a result of not enough space in /tmp. Error message could have pointed that out though!
Later Edit: I can now confirm that after a) adding some swap memory b) following the instructions properly and possibly c) doing the
ln -s /usr/bin/gcc /usr/bin/ccache_cc
suggested by @Alan-Brand that I have OctoPrint 1.3.1 installed and running. I see 1.3.2 is now out and about, but I haven't tried it out just yet.Even Later Edit: Ok, decided to download and roll out OctoPrint 1.3.2 since I'm fiddling around with stuff. Configured without a hickup, and is now running happily. Instead of the root user patch, you are better off using the bypass option that is present now in OctoPrint... so instead of adding
octoprint &
to/etc/rc.local
you want to addoctoprint serve --iknowwhatimdoing &
The same would apply to 1.3.1, and as far back as whenever that option was introduced.root@OctoPrint:~/OctoPrint-1.3.1# pip install -r requirements.txt Processing /root/OctoPrint-1.3.1 Requirement already satisfied: flask<0.11,>=0.9 in /usr/lib/python2.7/site-packages (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Collecting Jinja2<2.9,>=2.8 (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Using cached Jinja2-2.8.1-py2.py3-none-any.whl Requirement already satisfied: werkzeug<0.9,>=0.8.3 in /usr/lib/python2.7/site-packages (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Collecting tornado==4.0.2 (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Using cached tornado-4.0.2.tar.gz Requirement already satisfied: sockjs-tornado<1.1,>=1.0.2 in /usr/lib/python2.7/site-packages (from OctoPrint==1.3.1->-requirements.txt (line 10)) Requirement already satisfied: PyYAML<3.11,>=3.10 in /usr/lib/python2.7/site-packages (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Requirement already satisfied: Flask-Login<0.3,>=0.2.2 in /usr/lib/python2.7/site-packages (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Requirement already satisfied: Flask-Principal<0.4,>=0.3.5 in /usr/lib/python2.7/site-packages (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Collecting Flask-Babel<0.10,>=0.9 (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Using cached Flask-Babel-0.9.tar.gz Collecting Flask-Assets<0.11,>=0.10 (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Using cached Flask-Assets-0.10.tar.gz Collecting markdown<2.7,>=2.6.4 (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Using cached Markdown-2.6.8.tar.gz Collecting pyserial<2.8,>=2.7 (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Using cached pyserial-2.7.tar.gz Requirement already satisfied: netaddr<0.8,>=0.7.17 in /usr/lib/python2.7/site-packages (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Collecting watchdog<0.9,>=0.8.3 (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Using cached watchdog-0.8.3.tar.gz Collecting sarge<0.2,>=0.1.4 (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Using cached sarge-0.1.4.tar.gz Collecting netifaces<0.11,>=0.10 (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Using cached netifaces-0.10.5.tar.gz Collecting pylru<1.1,>=1.0.9 (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Using cached pylru-1.0.9.tar.gz Collecting rsa<3.3,>=3.2 (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Using cached rsa-3.2.3-py2.py3-none-any.whl Collecting pkginfo<1.3,>=1.2.1 (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Using cached pkginfo-1.2.1.tar.gz Collecting requests<2.8,>=2.7 (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Using cached requests-2.7.0-py2.py3-none-any.whl Collecting semantic_version<2.5,>=2.4.2 (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Using cached semantic_version-2.4.2.tar.gz Collecting psutil<3.3,>=3.2.1 (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Using cached psutil-3.2.2.tar.gz Collecting Click<6.3,>=6.2 (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Using cached click-6.2-py2.py3-none-any.whl Collecting awesome-slugify<1.7,>=1.6.5 (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Using cached awesome-slugify-1.6.5.tar.gz Collecting feedparser<5.3,>=5.2.1 (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Using cached feedparser-5.2.1.zip Collecting chainmap<1.1,>=1.0.2 (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Using cached chainmap-1.0.2-py2.py3-none-any.whl Collecting future<0.16,>=0.15 (from OctoPrint==1.3.1->-r requirements.txt (line 10)) Using cached future-0.15.2.tar.gz Exception: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 324, in run requirement_set.prepare_files(finder) File "/usr/lib/python2.7/site-packages/pip/req/req_set.py", line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/usr/lib/python2.7/site-packages/pip/req/req_set.py", line 620, in _prepare_file session=self.session, hashes=hashes) File "/usr/lib/python2.7/site-packages/pip/download.py", line 821, in unpack_url hashes=hashes File "/usr/lib/python2.7/site-packages/pip/download.py", line 663, in unpack_http_url unpack_file(from_path, location, content_type, link) File "/usr/lib/python2.7/site-packages/pip/utils/__init__.py", line 605, in unpack_file untar_file(filename, location) File "/usr/lib/python2.7/site-packages/pip/utils/__init__.py", line 578, in untar_file shutil.copyfileobj(fp, destfp) File "/usr/lib/python2.7/shutil.py", line 52, in copyfileobj IOError: [Errno 28] No space left on device root@OctoPrint:~/OctoPrint-1.3.1# free total used free shared buffers cached Mem: 125748 35696 90052 7392 660 15984 -/+ buffers/cache: 19052 106696 Swap: 262140 15060 247080 root@OctoPrint:~/OctoPrint-1.3.1# df -h Filesystem Size Used Available Use% Mounted on /dev/root 5.5M 5.5M 0 100% /rom tmpfs 61.4M 21.1M 40.3M 34% /tmp /dev/mmcblk0p1 14.5G 510.7M 13.3G 4% /overlay overlayfs:/overlay 14.5G 510.7M 13.3G 4% / tmpfs 512.0K 0 512.0K 0% /dev
-
RE: Octoprint (3D print server) on Omega2+
@Jason-Taylor I have finally soldered up an adapter board so I can use my Omega2+ as a OctoPrint server, and since the Omega2+ consumes around 180-250ma, and the Kodama Trinus is a bit naught and backfeeds down the USB line (have they not heard of a diode?), I decided to have it power from the Trinus's USB, since I was connecting to it to control the printer. Seems to be coping just fine! Now I just have to work out how to upgrade OctoPrint, as I'm current stuck with the v1.0.0 as the alternate instructions for 1.3.1 didn't work for me.
-
RE: Octoprint (3D print server) on Omega2+
@Jeff-Karney Like @Ben-Murphy from a month ago, I'm having issues installing OctoPrint 1.3.1 - first when doing the
pip install --upgrade setuptools
, and then when when runningpip install netifaces
. I've just updated to b160, on an Omega2+. Any ideas as to what's going wrong? -
RE: Omega2 expansion dock alternative?
@manuti-manuti Well, I take that back... they had actually arrived in yesterdays post so they had actually arrived when I wrote that I was expecting them!
They look really good. I had also ordered some breakout wings which just do the conversion from 2mm to 2.54mm. So I now have the option of straight-out breakout adaptor (which should be be very breadboard friendly as you can have the wings go under the Omega2 and make more of the breadboard accessible) or a quasi dock with USB power and a serial connection. Nice! Just went and ordered a load of bits from eBay to populate the board... hopefully I got all the right bits!
-
RE: Omega2 expansion dock alternative?
@Keij-H I just order the full 40pin lengths and cut them to suit. You lose a socket wherever you cut it, but you can file and smooth it out enough to make it not look cruddy. Plus it's the cheapest way to get them!
i.e. 10pc 1x40 2mm header for AUD$3.74 including postage from eBay!
Oh, and I have some of those boards that manuti manuti has linked
coming (are in the post should should turn this week hopefully):edit: scratch that, had just arrived!, and they do look really handy if you don't have a dock, and want to shove an Oak onto a breadboard or just have an easy way to power it. -
RE: USB connection without a dock
@Gyรถrgy-Farkas Much appreciated... that does indeed start narrowing things down. Damn... why couldn't that be the real size... it would be a very easy to solder SMD part! As it is... doing a bit of digging, it seems like there are a bunch of them in different SMD form factors that suitable for USB (Torex XBP1002, Bourns CDSOT23-SRV05-4, Onsemi NUP4201MR6, Semtech RClamp0504F, etc) and would do the job... but they are either nearly $2 each, or minimum order 10, so looks like my Omega2 will just have to suck it up!
@Chris-Stratton My unsuspecting Omega2+ is going to be permanently connected to a 3D printer and running OctoPrint. so I have no intention of going to the hassle of sourcing a TVS just for that, especially since I won't be plugging and unplugging it. It would have been different if it had been said "oh, it's this 50 cent part here... which doesn't need a microscope to solder"
-
RE: USB connection without a dock
Definetly helpful
But this schematic suffers from the same problem as the one which I presume is for the original Omega Dock... what is that part number (or equivalent) for U1 so we can reproduce the design?
In the case of this schematic, it's D12, D13 & D15. If it's as simple as.. "well, any TVS will do the job"... well that's just dandy... but I doubt that is the case. It is supposed to supress transient voltages... so what voltage should it kick in at? 3.3v? 5v? Somewhere inbetween? It's things like this that will make it more likely that it won't be put in at all, and hence things will go wrong(tm)!
-
Bill of Materials for Expansion Dock, or part specs?
Righty-o... does anyone know where and if a BOM (Bill of Materials) exists for the Omega2? Specifically, I want to know what parts D12, D13 and D16 are on the Expansion Dock, so I can order them if I feel I need them when making my own USB connection to the Omega2. They appear to be TVS Diodes... but what clamping voltage? 4v?
And in my travels, I find it hilarious that in this discussion on Schematics, the fact that the schematic appears to show that the VDD25 always grounded was never fully addressed. Was it just a very dodgy way of showing a single throw double pole tactile switch... meaning the reset line was grounded when the switch was released, and pulled up to VDD25 when it was pressed? I'm thinking the mounting tabs were confused for contacts when the "explaination" picture was put up... and that the switch actually has three contacts, and two anchor solder tabs!