WinError87 when executing local on Connection
See original GitHub issueHi all, I`m new to Invoke and even newer to Fabric!
I have some functionality in Invoke and now I`m trying to make a similar demo using fabric
Following code results in WinError87
[WinError 87] Parameter is incorrect
I know it’s probably caused by me misunderstanding something - but I`d really appreciate a hint 😃
Setup:
Python 3.8.5 Fabric 2.6.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:26 (15 by maintainers)
Top Results From Across the Web
EnvironmentError: [WinError 87] The parameter is incorrect
from a Windows 10 command prompt that was being run as administrator. I got the following error: Collecting tensorflow Using cached https:// ...
Read more >Getting error with pytest OSError: [WinError 87] The parameter ...
Looks like this is due to a pytest/Python bug: https://github.com/pytest-dev/pytest/issues/5724 · https://bugs.python.org/issue37549.
Read more >Bug report #20281: QGIS 3.4: Python error when running "r ...
I have tried the function in Windows 10 64bit. On the same systems, QGIS 2.18 provided the outputs fine. ... Executing <C:\Users\...\AppData\Local\Temp\ ...
Read more >Failing to start a worker - The parameter is incorrect
When I run the server using: celery -A tasks worker -l info ... CRITICAL/MainProcess] Unrecoverable error: AttributeError("Can't pickle local object 'Pool.
Read more >Issue 36213: subprocess.check_output() fails with OSError
... fails on Windows with OSError: [WinError 87] when the current ... \AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 423, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I do apologise, you’re using Python 3.8.5; I’ll grab that and test!
Hi @davidjmemmett
Thanks so much for taking time to look at my problem 😃
No, I do not have an SSH running - my understanding was that until I only run c.local() the connection is not established and it’s just as if I was using invoke.
Sorry about that.
To add a little background to what I want to do.
I created invoke module and wrapped it into my own pip installing library: http://docs.pyinvoke.org/en/stable/concepts/library.html#reusing-invoke-s-cli-module-as-a-distinct-binary
Here is a simplified example:
tasker/main.py
tasker/tasks.py
I can install and access my wrapped “module”
Now my goal:
As far as I understand @bitprophet designed fabric to be Invoke+, therefore I would like to keep my Invoke solution and add being able to connect over SSH to web servers.
To wrap up: I want to create a fabric module performing tasks both locally and externally(over ssh) and wrap that into a pip package that I can install 😄…
I am all new to this topic - let me know if my intentions are clear