[Twisted-web] A problem with convertToData in nevow.accessors
Russell Duhon
twisted-web@twistedmatrix.com
Fri, 26 Mar 2004 11:22:06 -0600
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Its got to be something with having installed in site-packages over an
old version, then. I'll try rooting it out and reinstalling.
*tries*
Yeah, all fixed. *hits self on head* doh!
On Mar 26, 2004, at 9:25 AM, James Y Knight wrote:
> On Mar 25, 2004, at 11:11 PM, Russell Duhon wrote:
>> I'm starting work on an app and ran into an odd little problem, and
>> while in general I'd love to hack around on nevow to figure out
>> exactly where its arising I need to go to sleep now, and would like
>> to be able to progress on my project come tomorrow.
>>
>> Basically, I've got a data function that returns a Deferred (from the
>> adbapi dbpool's runQuery method)-- that seems to get handled just
>> fine - -- which is used for a sequence rendering. However, in the
>> function convertToData in accessors.py, an error occurs:
>>
>> (nevow is just checked out from CVS, twisted is checked out from CVS
>> a few days ago. I did install Nevow in site-packages, but I don't
>> think that would be causing this).
>
> Looks to me like you've somehow mixed new nevow code with older nevow
> code. Older versions had an adapter from list to IGettable but current
> code does not.
>
> James
>
>
> _______________________________________________
> Twisted-web mailing list
> Twisted-web@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFAZGa/FZO4LxR6+NgRAsLvAJ94m4wAjsWSy7rM6el326YOdU+KfACeLwlY
rXqnLkJHet824RRHJT7meKE=
=GnQY
-----END PGP SIGNATURE-----