Re: [casper] Problem with casperfpga

2021-02-22 Thread Guillermo Gancio
Hi Adam,

Thank you for your time and support! I really hope everything goes
well pretty soon.

Cheers.

El sáb, 20 feb 2021 a las 14:18, Adam Isaacson () escribió:
>
> 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,  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 () 
>> 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,  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 () 
>> >> 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  
>> >>> 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
>> 

Re: [casper] Problem with casperfpga

2021-02-20 Thread Adam Isaacson
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,  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 ()
> 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, 
> 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 ()
> 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 
> 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 ()
> 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 

Re: [casper] Problem with casperfpga

2021-02-15 Thread Guillermo Gancio
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 () 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,  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 () 
>> 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  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 () 
 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
 >

Re: [casper] Problem with casperfpga

2021-02-14 Thread Adam Isaacson
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,  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 ()
> 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 
>> 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 ()
>>> 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, 

Re: [casper] Problem with casperfpga

2021-02-13 Thread Guillermo Gancio
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 ()
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 
> 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 ()
>> 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 
>> wrote:
>> >>
>> >> Have you definitely downloaded and installed all the python programs?
>> >>
>> >> On Thu 11 Feb 2021, 5:02 PM Guillermo Gancio, 
>> 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.
>> >>> 

Re: [casper] Problem with casperfpga

2021-02-12 Thread Adam Isaacson
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  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 ()
> 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 
> wrote:
> >>
> >> Have you definitely downloaded and installed all the python programs?
> >>
> >> On Thu 11 Feb 2021, 5:02 PM Guillermo Gancio, 
> 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
> 

Re: [casper] Problem with casperfpga

2021-02-11 Thread Adam Isaacson
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  wrote:

> Have you definitely downloaded and installed all the python programs?
>
> On Thu 11 Feb 2021, 5:02 PM Guillermo Gancio,  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.


Re: [casper] Problem with casperfpga

2021-02-11 Thread Colm Bracken
Have you definitely downloaded and installed all the python programs?

On Thu 11 Feb 2021, 5:02 PM Guillermo Gancio,  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.


Re: [casper] Problem with casperfpga

2021-02-11 Thread James Smith
Hi Guillermo,

Progska is needed for programming of SKARABs. I guess the way the module is
structured though, is it'll fail to import if progska isn't there.

I think try going into the progska directory, `make && make install` then
try again? It's been a while since I've done this.

The instructions might need to be updated, I think...

Regards,
James


On Thu, Feb 11, 2021 at 7:02 PM Guillermo Gancio  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/CAG67D34N%3DLbqD%3DcHLAc2aEDxVjEr9KLNkNn0G7fyfL%2BX%3DMjgFQ%40mail.gmail.com.


[casper] Problem with casperfpga

2021-02-11 Thread Guillermo Gancio
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.