-
Notifications
You must be signed in to change notification settings - Fork 35
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
Issues since rpyc update 4.1.0 #19
Comments
Hi,
|
Following my previous comment I tried with a conda environement and ended-up with the same issue.
I have to say that I've encountered an error during installation when pasting the following line in the Anaconda prompt:
So my reaction to try again and specifying a correct location:
The installation was then successful but I'm still facing the errors mentionned above. Really hope someone can help. |
Just to be clear, what Rhinoceros' IronPython's folder are we supposed to install ghPythonRemote in ? This one: or this one:
Tried both but still getting the |
Hi all, I'm having the same problem. It is odd as I was sure I had ghpython remote working on this laptop previously. I have it running on my desktop PC fine. Both Rhino6 . I can't think what I have done that is different between these two installs. |
Let's hope @pilcru will find some time to investigate the issue. Have spent a whole week on this, to no avail. |
I don't think that would make a difference, since they are both in Rhino's IronPython path. I normally recommend the first one because it's in the user files and so has fewer permission issues. That's the command I use to install on Rhino 6: python -m ghpythonremote._configure_ironpython_installation "%APPDATA%\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib" |
Hi there,
@pilcru, Thank you for your help, I have the same problem and tried all of the solutions you suggested, but I can't fix it. When I try to run the component, I see the terminal you mentioned in this way: |
That's interesting, I thought I had fixed those string vs unicode type errors before... Can you tell me what versions you have installed, by running the following commands? In the Windows cmd: conda activate rhinoremote
conda -V
python -V
pip show rpyc
pip show gh-python-remote In a Rhino Python script: import rpyc, ghpythonremote, sys, os
from ghpythonremote import version as ghpyrv
print(sys.version)
print(sys.path)
print(rpyc.__version__)
print(rpyc.__path__)
print(ghpyrv.__version__)
print(ghpythonremote.__path__) For reference, this is what I get:
|
Thank you @pilcru, I tried to run the commands in the windows cmd and I got this error: I retried using activate <\env> command without conda prefex: Rhino Python script Results: |
So the rpyc version that is installed is newer than the one I have, and I also run into issues when upgrading to 4.1.0. Can you try this, in the windows cmd: activate rhinoremote
pip uninstall -y rpyc
pip install rpyc==4.0.2
pip install --upgrade --target="C:\Users\farzanehhh\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib" --no-binary=:all: --no-compile --ignore-requires-python rpyc==4.0.2 and try again? It gets me back to a working installation here, but if I missed something and it's not working for you, please also report the result of runming the commands from my previous comment again. Apparently the "fresh" install I was using when investigating was just a few hours older than the RPyC update from May 25th, so that's why I did not see the issue at first. Sorry to those whom I didn't know how to help. |
It worked fine. |
Closed wrong issue. |
Hi, I am trying to get GH python remote work with rhino 5, and it seems i get the same kind of error message. Versions installed:
This is the error message I get when I try to run the example file:
|
Can you try installing rpyc v4.0.2 while I fix this?
|
Just tried this. But it doesn't seem to work either (see below). Please note that I am using a corporate machine (maybe my problem comes from network security restrictions).
|
I think one of the two downgrades did not work as planned. Did you see any errors? Can you run the same commands as in this message above and report what you get? |
|
Can you run the same commands as in this message above and report what you get? So that we know what versions we are really working with. You can also throw in an |
My bad, I reinstalled rpyc v4.0.2 and It works fine now. Thanks for your help !! |
All these issues should be fixed in the new version 1.2.0. If you run into similar issues (same error messages), under v1.2.0, and you find that downgrading RPyC to v4.0.2 solves your issues, feel free to reopen. Instructions to downgrade RPyC. Otherwise, please open a new issue. |
This is a continuation of the comment I left on the plugin page. I created rhinoremote2 virtualenv and it installed fine. No errors apart from deprecation warnings. This is the full error message when I try and run the example file (Ì changed the location to
conda://rhinoremote2
)The text was updated successfully, but these errors were encountered: