apollo-ng / picoReflow

Turns a Raspberry Pi into a universal, web enabled Reflow Oven Controller
202 stars 118 forks source link

Fresh Install Failed - failed with error code 1 in None #32

Closed diginfo closed 3 years ago

diginfo commented 3 years ago

Just did a fresh install of raspian, installed the dependancies and it failed with:

(Command "/usr/bin/python -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-Gl8GoM --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- "setuptools >= 40.8.0" wheel "Cython >= 3.0a6" "cffi >= 1.12.3 ; platform_python_implementation == 'CPython'" "greenlet >= 0.4.17, < 2.0 ; platform_python_implementation == 'CPython'"" failed with error code 1 in None)

Any ideas ??

chron0 commented 3 years ago

Without testing my first guess would be Python 3.x - Back when it was released it was python 2.x and I havent tracked the PRs if 3.x compatibility was merged. If you still have python2/pip2 available you could try it with that. I may have some more reflow coming up in the future where I want to migrate the whole thing to an ESP32 - that would be smaller, cheaper and rid us of the linux/python dependencies.

diginfo commented 3 years ago

Thanks, Solved:

apt install libffi-dev

chron0 commented 3 years ago

<3 - great - and thanks for the solution feedback that may help others.

diginfo commented 3 years ago

Thanks, now I am unable to save a new profile:

An oven is not a time-machine

Screenshot 2021-07-17 at 8 26 53 PM
chron0 commented 3 years ago

as it says: an oven is not a time machine :) your first target time is 900 seconds, your second point is 45 seconds into runtime - that would have to let move back in time to get there. A Point in Target time cannot be lower than the prior one.

chron0 commented 3 years ago

See my example:

Image

it would also make sense to have a sensible starting point 1 on env temp so that it can ramp up to 110, otherwise it cant calculate the slope you want.

diginfo commented 3 years ago

OOps - I have to admit it's late and I have had a glass of wine :-)

diginfo commented 3 years ago

Absolutely my fault, thanks so much for helping.

chron0 commented 3 years ago

:) anytime

diginfo commented 3 years ago

FYI - I am using it to anneal 3D printed items,

chron0 commented 3 years ago

iirc we've implemented drag and drop on the circles in the graph so that you can move your curve along there as well

chron0 commented 3 years ago

ah, makes sense, i was wondering what you were doing. I was thinking about using it for annealing as well.

so basically it would come down to:

Point 1 | 0 | 25 Point 2 | 900 | 110 Point 3 945 | 110 Point 4 | 1845 | 25

this would ramp up over 900 seconds to 110, hold 110 for 45 secs and then ramp down to 25 (sensible env temp) over 900 seconds again.

chron0 commented 3 years ago

if you find a good annealing curve for a given material I'd be happy of you could share your result here or in the comment section of the apollo-ng wiki for it.