Hi Guillermo, I am so glad to hear that you worked it out and timeously too.
Good luck with the design work. Just a note that my health has taken a turn for the worse, so I will be stopping with CASPER support for the time-being. I have handed over my duties (SARAO Hardware Manager) to Wesley New who I know will do his best to support you going forward if he is available. Have a great 2021 going forward. With warmth, Adam On Mon, 15 Feb 2021, 7:07 PM Guillermo Gancio, <ganci...@gmail.com> wrote: > Hi Adam, > > Thanks for your help, at the end I managed to make it work! after > hitting the keyboard with my head several times I realized that pip > was pointing to python3, > so, using pip2 did the trick......(still with the same issue, I'm > going to the shame corner for a while) > > Again thanks Adam and all for the comments. > > > > > > > > > > > > El dom, 14 feb 2021 a las 6:24, Adam Isaacson (<aisaac...@ska.ac.za>) > escribió: > > > > Hi Guillermo, > > > > Thanks for the added clarity. There is definitely an issue with your > casperfpga install. > > > > I think we need to be able to Ipython, import casperfpga and read back > the version before doing anything. > > > > I will check out your particular githash version on Monday and see if > there are any issues. I suggest you delete casperfpga and all references > from your machine and then follow both set of installs as mentioned in: > > > > https://github.com/casper-astro/casperfpga#installation > > > > Kind regards, > > > > Adam > > > > > > On Sun, 14 Feb 2021, 1:12 AM Guillermo Gancio, <ganci...@gmail.com> > wrote: > >> > >> Hi Adam, > >> > >> Thanks for your reply, > >> The idea is to start by program a redpitaya with the bof file from the > git/tutorial, so at this point i'm not using any model/slx, mlib_evel. Can > this afect the casperfpga for the communication with a casperized board? > >> > >> The problem that I have is right after "import casperfpga", I put the > complete error in a txt file with it, for (I hope) a better clarity. > >> The ipython is executed from my home directory. > >> > >> Thanks again, > >> > >> > >> > >> > >> El vie, 12 feb 2021 a las 14:01, Adam Isaacson (<aisaac...@ska.ac.za>) > escribió: > >>> > >>> Hi Guillermo, > >>> > >>> Please can I have a more detailed screenshot of your steps. I don't > just want to see the error. I want to see all the steps proceeding the > error. This is not clear to me from your screen shot. > >>> > >>> 1) What board are you targeting? I see you are using the tengbe > library? Is this perhaps a ROACH2 or SNAP? ROACH2 may or may not have > issues when using the latest casperfpga githash, so be aware. There is a > ROACH2 casperfpga githash, but it doesn't have all the latest fixes. > >>> 2) Send me your slx, so that I can build and verify if needed > >>> 3) What repo of mlib_devel (include the githash and branch) and > casperfpga are you using? > >>> > >>> I know I have had that progska issue before when running ipython under > the casperfpga cloned directory. This is clearly a new issue now related to > the tengbe component. > >>> > >>> Please note that I am busy installing my new Ubuntu 18.04LTS machine > and so it will take some time for me to look at this further until my > development is setup and working properly. > >>> > >>> Kind regards, > >>> > >>> Adam Isaacson > >>> South African Radio Astronomy Observatory (SARAO) > >>> Hardware Manager > >>> Cell: (+27) 825639602 > >>> Tel: (+27) 215067300 > >>> email: aisaac...@ska.ac.za > >>> > >>> > >>> > >>> On Fri, Feb 12, 2021 at 6:09 PM Guillermo Gancio <ganci...@gmail.com> > wrote: > >>>> > >>>> Hi, > >>>> Thanks for all the replies, I tried with " I think try going into the > >>>> progska directory, `make && make install` then try again? It's been a > >>>> while since I've done this." with no success.. > >>>> > >>>> Then I follow the steps from Adam with no success, but a different > error.... > >>>> The install procedure goes without any error. > >>>> > >>>> 1) You are not running the python3 virtual machine. No virtual machine > >>>> should be used. > >>>> That's correct, I'm not using a virtual machine (or virtual env) > >>>> > >>>> 2) When you run "ipython" you are doing it outside the closed > >>>> "casperfpga" repo. This is important > >>>> Aha, I was inside casperfpga, when doing it outside the casperfpga > >>>> directory I got other error.... > >>>> " KeyError: 'casperfpga/tengbe_mmap.txt' " > >>>> > >>>> 3) point three gives the error, so I can't get the casperfpga_version- > >>>> > >>>> 4) What githash of casperfpga are you using? > >>>> git rev-parse HEAD gives: eac2d4625c88da575a7fe82df2582cf2be43e37e > >>>> > >>>> > >>>> > >>>> Thanks again!!! > >>>> Cheers, > >>>> > >>>> > >>>> El vie, 12 feb 2021 a las 4:17, Adam Isaacson (<aisaac...@ska.ac.za>) > escribió: > >>>> > > >>>> > Hi Guillermo, > >>>> > > >>>> > The instructions you are following should work to install > casperfpga. I find the following install procedure works for me: > >>>> > > >>>> > # remove current casperfpga install files > >>>> > 1) $ cd /usr/local/lib/python2.7/dist-packages > >>>> > 2) $ sudo rm -rf casper* > >>>> > > >>>> > # clone the repository to your working directory > >>>> > 3) $ cd /path/to/working/directory > >>>> > 4) $ git clone https://github.com/casper-astro/casperfpga.git > >>>> > 5) $ cd casperfpga > >>>> > 6) $ git checkout master > >>>> > 7) $ sudo pip install -r requirements.txt > >>>> > 8) $ sudo python setup.py install > >>>> > > >>>> > Please confirm/provide the following for me: > >>>> > > >>>> > 1) You are not running the python3 virtual machine. No virtual > machine should be used. > >>>> > > >>>> > 2) When you run "ipython" you are doing it outside the closed > "casperfpga" repo. This is important > >>>> > > >>>> > 3) Run the following steps at the terminal: > >>>> > > >>>> > a) ipython > >>>> > > >>>> > b) import casperfpga > >>>> > > >>>> > c) casperfpga.__version__ (What version do you read back?) > >>>> > > >>>> > 4) What githash of casperfpga are you using? > >>>> > > >>>> > 5) Send screen captures - this helps with debugging! > >>>> > > >>>> > Kind regards, > >>>> > > >>>> > > >>>> > Adam Isaacson > >>>> > South African Radio Astronomy Observatory (SARAO) > >>>> > Hardware Manager > >>>> > Cell: (+27) 825639602 > >>>> > Tel: (+27) 215067300 > >>>> > email: aisaac...@ska.ac.za > >>>> > > >>>> > > >>>> > > >>>> > On Fri, Feb 12, 2021 at 8:09 AM Colm Bracken <colmbrac...@gmail.com> > wrote: > >>>> >> > >>>> >> Have you definitely downloaded and installed all the python > programs? > >>>> >> > >>>> >> On Thu 11 Feb 2021, 5:02 PM Guillermo Gancio, <ganci...@gmail.com> > wrote: > >>>> >>> > >>>> >>> Hi all, > >>>> >>> I'm having a silly error that I Can't figure out. > >>>> >>> I'm installing casperfpga on a Ubuntu 18.04, python 2.7 and I get > the error, > >>>> >>> > >>>> >>> ImportError: No module named progska > >>>> >>> > >>>> >>> I followed the steps from > https://github.com/casper-astro/casperfpga#installation with no apparent > errors... > >>>> >>> > >>>> >>> Thanks! > >>>> >>> > >>>> >>> -- > >>>> >>> You received this message because you are subscribed to the > Google Groups "casper@lists.berkeley.edu" group. > >>>> >>> To unsubscribe from this group and stop receiving emails from it, > send an email to casper+unsubscr...@lists.berkeley.edu. > >>>> >>> To view this discussion on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CA%2BEePfQiGYL3iG5E4V19SXXGhoSUDnLjkzsUT3CSaOOu_W7OQA%40mail.gmail.com > . > >>>> >> > >>>> >> -- > >>>> >> You received this message because you are subscribed to the Google > Groups "casper@lists.berkeley.edu" group. > >>>> >> To unsubscribe from this group and stop receiving emails from it, > send an email to casper+unsubscr...@lists.berkeley.edu. > >>>> >> To view this discussion on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAEx9wh_d85iT2fM9TJ77ug1MVus_Qy3henpyGVY8zmkbBJCgrQ%40mail.gmail.com > . > >>>> > > >>>> > -- > >>>> > You received this message because you are subscribed to the Google > Groups "casper@lists.berkeley.edu" group. > >>>> > To unsubscribe from this group and stop receiving emails from it, > send an email to casper+unsubscr...@lists.berkeley.edu. > >>>> > To view this discussion on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CADTJ%3DnF%3DuePD5zB8F%2B8s4SboXXwBSSS9r9rE7Zp%2B4PTBY1_Y6g%40mail.gmail.com > . > >>>> > >>>> > >>>> > >>>> -- > >>>> Instituto Argentino de Radioastronomia > >>>> [Argentine Institute of Radioastronomy] > >>>> > >>>> Guillermo M. Gancio > >>>> Responsable Área Observatorio > >>>> [Head of Observatory] > >>>> > >>>> Tel: (0054-0221) 482-4903 Int: 106 > >>>> Mail laboral ggan...@iar.unlp.edu.ar > >>>> > >>>> -- > >>>> You received this message because you are subscribed to the Google > Groups "casper@lists.berkeley.edu" group. > >>>> To unsubscribe from this group and stop receiving emails from it, > send an email to casper+unsubscr...@lists.berkeley.edu. > >>>> To view this discussion on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CA%2BEePfSC_L-e4iU%3D%2Bmih9KwaYu_YLC34aHKNg59WJ6c_G4NWSQ%40mail.gmail.com > . > >>> > >>> -- > >>> You received this message because you are subscribed to the Google > Groups "casper@lists.berkeley.edu" group. > >>> To unsubscribe from this group and stop receiving emails from it, send > an email to casper+unsubscr...@lists.berkeley.edu. > >>> To view this discussion on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CADTJ%3DnG1XMAUp1inqJLZ13U4zGkY93C%2Bssk56hE%2B_UJg7O0Ymg%40mail.gmail.com > . > >> > >> > >> > >> -- > >> Instituto Argentino de Radioastronomia > >> [Argentine Institute of Radioastronomy] > >> > >> Guillermo M. Gancio > >> Responsable Área Observatorio > >> [Head of Observatory] > >> > >> Tel: (0054-0221) 482-4903 Int: 106 > >> Mail laboral ggan...@iar.unlp.edu.ar > >> > >> -- > >> You received this message because you are subscribed to the Google > Groups "casper@lists.berkeley.edu" group. > >> To unsubscribe from this group and stop receiving emails from it, send > an email to casper+unsubscr...@lists.berkeley.edu. > >> To view this discussion on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CA%2BEePfQg%3DyejS%2B%3DAU0K3C5hCS0dwY4-1xBzOu-ST1-gyFL%3DdBw%40mail.gmail.com > . > > > > -- > > You received this message because you are subscribed to the Google > Groups "casper@lists.berkeley.edu" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to casper+unsubscr...@lists.berkeley.edu. > > To view this discussion on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CADTJ%3DnE6VxyAjuAZwbv_12t3T6A%3DmXaJzhehDgYEY37ZXtrGog%40mail.gmail.com > . > > > > -- > Instituto Argentino de Radioastronomia > [Argentine Institute of Radioastronomy] > > Guillermo M. Gancio > Responsable Área Observatorio > [Head of Observatory] > > Tel: (0054-0221) 482-4903 Int: 106 > Mail laboral ggan...@iar.unlp.edu.ar > > -- > You received this message because you are subscribed to the Google Groups " > casper@lists.berkeley.edu" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to casper+unsubscr...@lists.berkeley.edu. > To view this discussion on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CA%2BEePfSyZ0zAEs9G1zvMR_ZPEf0i92OUH62A8z6cQpn%2Bd2scSQ%40mail.gmail.com > . > -- You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group. To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu. To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CADTJ%3DnE0wn3NQqxL97MnHAbqoXaL0heRuDRi43zH2C8xEtVCPQ%40mail.gmail.com.