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

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

Closed
diginfo opened this issue Jul 17, 2021 · 13 comments
Closed

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

diginfo opened this issue Jul 17, 2021 · 13 comments

Comments

@diginfo
Copy link

diginfo commented Jul 17, 2021

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
Copy link
Member

chron0 commented Jul 17, 2021

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
Copy link
Author

diginfo commented Jul 17, 2021

Thanks, Solved:

apt install libffi-dev

@diginfo diginfo closed this as completed Jul 17, 2021
@chron0
Copy link
Member

chron0 commented Jul 17, 2021

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

@diginfo
Copy link
Author

diginfo commented Jul 17, 2021

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
Copy link
Member

chron0 commented Jul 17, 2021

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
Copy link
Member

chron0 commented Jul 17, 2021

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
Copy link
Author

diginfo commented Jul 17, 2021

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

@diginfo
Copy link
Author

diginfo commented Jul 17, 2021

Absolutely my fault, thanks so much for helping.

@chron0
Copy link
Member

chron0 commented Jul 17, 2021

:) anytime

@diginfo
Copy link
Author

diginfo commented Jul 17, 2021

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

@chron0
Copy link
Member

chron0 commented Jul 17, 2021

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
Copy link
Member

chron0 commented Jul 17, 2021

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
Copy link
Member

chron0 commented Jul 17, 2021

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.

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

2 participants