[Twisted-Python] pb.Copyable knowledge barrier

Daniel Sank sank.daniel at gmail.com
Fri Aug 8 10:04:30 MDT 2014


I think Cacheable exists to handle the case you want. Beware there are some
funny issues with Cacheable

https://twistedmatrix.com/trac/ticket/7274

Daniel


On Fri, Aug 8, 2014 at 8:01 AM, Kevin Mcintyre <kebin70 at gmail.com> wrote:

> The question is what's necessary to get knowitall.py to receive updates to
> held copy.
>
> I start server, start knowitall, run wordsmith.  Knowitall doesn't receive
> updates.  I understand why, setCopyableState only gets fired once.
> Guessing jelly doesn't hold onto the RemoteCopy or a reference to
> RemoteCopy.
>
> Is the next step to add pb.Referenceable to Dictionary class, and use
> observe_?
>
>
>
> On Fri, Aug 8, 2014 at 12:30 AM, Daniel Sank <sank.daniel at gmail.com>
> wrote:
>
>> Kevin,
>>
>> Is there a question there? I'd be happy to try to help if I knew what you
>> were asking.
>>
>>
>> On Thu, Aug 7, 2014 at 11:42 PM, Kevin Mcintyre <kebin70 at gmail.com>
>> wrote:
>>
>>> wordsmith argument order issues re-take.
>>>
>>> Cheers,
>>> Kevin
>>>
>>>
>>> On Thu, Aug 7, 2014 at 11:29 PM, Kevin Mcintyre <kebin70 at gmail.com>
>>> wrote:
>>>
>>>> goal: Give knowitall.py awareness of wordsmith.py addition.
>>>>
>>>> to run
>>>> ./library.sh # opens 7999 for remote_dictionary and remote_define
>>>> methods
>>>> then both:
>>>> python knowitall.py
>>>> python wordsmith.py
>>>>
>>>> library.sh due to main/jelly issues
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Twisted-Python mailing list
>>> Twisted-Python at twistedmatrix.com
>>> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>>>
>>>
>>
>>
>> --
>> Daniel Sank
>> Department of Physics
>> Broida Hall
>> University of California
>> Santa Barbara, CA 93117
>> (805)893-3899
>>
>> _______________________________________________
>> Twisted-Python mailing list
>> Twisted-Python at twistedmatrix.com
>> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>>
>>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>


-- 
Daniel Sank
Department of Physics
Broida Hall
University of California
Santa Barbara, CA 93117
(805)893-3899
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20140808/15870582/attachment-0002.html>


More information about the Twisted-Python mailing list