Hello Anshu, What version of katcp do you have installed? I have seen this issue when the katcp library isn't up-to-date.
I think you can get this either from pip or directly from github. Regards, James On Fri, Jul 7, 2017 at 7:39 AM, Anshu Singh <[email protected]> wrote: > Hello, > > While trying to link the CASPER ROACH1 board to PC, I am getting this > error: > > *AttributeError: 'KatcpFpga' object has no attribute 'callback_request'* > > > The steps followed are as such: > > > In [1]: import casperfpga > > In [2]: fpga=casperfpga.katcp_fpga.KatcpFpga('100.100.100.1',7147,10) > ------------------------------------------------------------ > --------------- > AttributeError Traceback (most recent call > last) > <ipython-input-2-26165eea9aca> in <module>() > ----> 1 fpga=casperfpga.katcp_fpga.KatcpFpga('100.100.100.1',7147,10) > > /usr/local/lib/python2.7/dist-packages/casperfpga/katcp_fpga.pyc in > __init__(self, host, port, timeout, connect) > 70 def __init__(self, host, port=7147, timeout=20.0, > connect=True): > 71 async_requester.AsyncRequester.__init__(self, host, > ---> 72 > self.callback_request, > 73 max_requests=100) > 74 katcp.CallbackClient.__init__(self, host, port, > > AttributeError: 'KatcpFpga' object has no attribute 'callback_request' > > > I have tried with various versions of casperfpga from github but the error > remains the same. > What should be done in order to rectify this error? > > > > Thanks, > Anshu > Junior Research Fellow > (Int. M.tech-Ph.D Batch 2013) > Indian Institute of Astrophysics > Koromangala II Block > Bangalore-560034 > > -- > 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 post to this group, send email to [email protected]. > -- 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 post to this group, send email to [email protected].

