Hi Guillermo,

You could try this branch:
https://github.com/casper-astro/casperfpga/tree/py3-merge

This works for my purposes in Py3 (with the snap board), with the *huge*
caveat that adc calibration doesnt work. (Ive heard that this has been
solved by Aaron and Jonathon but not merged).

Cheers,
Danny


On Mon, 22 Mar 2021, 21:28 Guillermo Gancio, <[email protected]> wrote:

> Dear all,
>
> I'm trying the python3-port of casperfpga, from
> https://github.com/ska-sa/casperfpga/tree/python3-port
> I had to fix some minnor issues like
> "except KatcpClientError, e: " to "(except KatcpClientError, e):
> and
> "from thread" to "from _thread"
> which I'm not sure if they are ok....
> And then I got the following error while doing "import casperfpga" in
> ipython, that I cannot figure out..
>
>
> /home/user1/casperfpga3/lib/python3.7/site-packages/katcp/resource_client.py
> in <module>()
>     847                                    '{1!s}'.format(sensor_name,
> reply))
>     848 # Register with the ABC
> --> 849
> resource.KATCPSensorsManager.register(KATCPClientResourceSensorsManager)
>     850
>     851 class KATCPClientResourceRequest(resource.KATCPRequest):
>
> AttributeError: type object 'KATCPSensorsManager' has no attribute
> 'register'
>
> Any idea?
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups "
> [email protected]" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CA%2BEePfS%3DVnQKv-E%2ByQpDOWJm7gRxZn2HcX8N-2K-JefPqvHX2g%40mail.gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAAtMgq%3DdgbqHJK4iGw8t1Zfeji1dbLrcHOMUoP6FWs%2BpWd%2BC8w%40mail.gmail.com.

Reply via email to