Could somebody please help me with this ? <https:/...
# ieee-sscs-dc-24
k
Could somebody please help me with this ? https://open-source-silicon.slack.com/archives/C072ZFE19FH/p1718205276275499 I have already tried uninstalling and then installing glayout and I have even placed my files inside glayout/flow/blocks but I am still unable to use any primitives when trying to use the tool locally. I even removed the docker container and reinstalled everything from scratch yet it still doesn't work
c
can you maybe commit this to a github repo so we can clone and check it out
k
@Chetanya Goyal I am getting the following error when trying to commit it to a repo, it seems that since most of the files are already from the openfasoc repo, it doesn't work....also when I pushed still and checked the repo, it didn't actually upload any of the files
message has been deleted
c
no dont commit to openfasoc
make a fork
clone that fork
and then do your work in it
k
Yeah I am not trying to commit to the openfasoc repo, I had made my own repo
c
can you do
git remote show origin
k
message has been deleted
I have even manually uploading them through the github website, but that doesn't work either. Github says that's a lot of files. I have just created a simple file as shown in the first screenshot in the original thread, inside of glayout/flow/blocks so I don't have much to add/commit to the OpenFASOC files. Is the docker working for others?
What should I do? I can't always use the tools in a colab notebook or a jupyter notebook
Besides if it is a problem with the provided docker container, other people might be facing the same or similar issues
c
i dont think it is
because the ci runs a fresh install with this method every time without fail
i think someone has gone wrong locally
prune all your images and containers, along with the build-cache
try removing the glayout pypi package
k
@Chetanya Goyal should I follow these steps you have mentioned for pruning: https://open-source-silicon.slack.com/archives/C072ZFE19FH/p1718288782078379 or would something else be applicable here ?
c
yes
k
@Chetanya Goyal so I did the steps for pruning but its still throwing the same error...
@Sakib Pathen @Chetanya Goyal just in case there was any local issue I did a clean OS install on my pc after which I proceeded to install OpenFASOC following the tutorial steps. I have not installed any other docker images on this system or any other tools, just the open fasoc image. After which I proceeded to run the glayout test code which does indeed work and places an nmos.......and also I am able to run the example code for making a via but....when I try to run the code for using a built in primitive such as an nmos transistor, I get the module not found error i.e.
ModuleNotFoundError: No module named 'glayout.flow.primitives'
s
Hi @Sakib Pathen @Chetanya Goyal I am also facing the same error. I created a directory
test_scripts
inside which I am keeping my python scripts for time being...
Copy code
sklinux@DESKTOP-4GA1I4C:~$ cd
sklinux@DESKTOP-4GA1I4C:~$ ls
OpenFASOC  test_scripts
sklinux@DESKTOP-4GA1I4C:~$ cd test_scripts/
sklinux@DESKTOP-4GA1I4C:~/test_scripts$ ls
current_mirror.py  via.py
Now I run the docker command and execute
via.py
, it works perfectly fine. However, when i execute
current_mirror.py
it throws up an error....
Copy code
root@7e6c48a50efc:/home/sklinux/test_scripts# python current_mirror.py 
Traceback (most recent call last):
  File "/home/sklinux/test_scripts/current_mirror.py", line 2, in <module>
    from glayout.flow.primitives.guardring import tapring
ModuleNotFoundError: No module named 'glayout.flow.primitives'
I am using WSL Ubuntu 22.04 with VS Code
k
@Shubham Kumar actually there is an issue with the PyPI package, they are working on fixing it