-
Notifications
You must be signed in to change notification settings - Fork 42
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
pyStartServer not working #114
Comments
Did you install the package with pip ? The Which Python version are you using and please make sure that virtuoso runs the correct python interpreter. The recommended approach is to setup a python virtual environment and then start Virtuoso in your started environment where the Alternatively you can set the python interpreter as argument in pyStartServer(), as described in https://unihd-cag.github.io/skillbridge/usage/server.html
|
Thanks after updating the custom interpreter path, the command is returning 't' in CIW.
I get the following error File "/home/avlsi/local/lib/python3.6/site-packages/skillbridge/client/workspace.py", line 238, in open |
Try To verify if the server is actually running run
|
I think I understand the issue. |
Yes that sounds that this would be the issue. If there are other problems feel free to open another one. |
Hi, I'm facing exactly the same issue : raise RuntimeError("No server found. Is it running?") from None I would like to know how did you resolve it. Thanks |
Did you run |
Yes I ran the pyStartServer on CIW before. |
Can you share some more information please.
|
Python version 3.8.2; skillbridge-1.5.0; and virtuoso 6.1.8 |
Can you please verify that a file is created when you run |
I checked my /tmp and can't see this file |
Maybe you don't have enough permissions to create and read files in Does the following work for you: touch /tmp/skillbridge-test
cat /tmp/skillbridge-test
rm /tmp/skillbirdge-test |
I can edit and save files in /tmp so I'm not sure to be the reason. those commands work fine in my side. |
Unfortunately i'm running out of ideas, here :( Did virtuoso create log files in the directory where you started it? If yes what is inside, if no i don't know what's the problem. Sorry |
yes it created skillbridge_server.log file containing this : 02.08.2023 08:21:57 INFO starting server id=default log=INFO notify=False single=False timeout=None |
Looks like python 3.11 will have the problem as well and I can't use 3.6 due to other package. |
All python versions above 3.8 should work. Can you describe what you tried so we can find the underlying issue here? |
Hi,
After doing load("python_server.il")
Unable to do pyStartserver
ERROR ", line 21
ERROR def send_to_skill(data: str) -> None:
ERROR ^
ERROR SyntaxError: invalid syntax
Virtuoso 6.1.7-64b is used.
The text was updated successfully, but these errors were encountered: