[Grok-dev] Newbie question on 'could not adapt' error

trivedis.mumbai trivedis.mumbai at gmail.com
Mon Mar 7 10:27:46 EST 2011

Hi Michael

Thanks for the advice. I did figure out I had to redo this. I was trying to
modify some code from some examples on the web. Anyway, I did try and make
it work by rewriting however, there is one issue to resolve in EditForm and
what is did is not yet repeatable. So, I have some work to do :)


MichaelThamm wrote:
> It's a little tough to tell exactly, the logic seems off. For example, 
> you are creating the objects in the container and the application which
> doesn't seem 
> like the spot you  would want to create them. 
> How does class Personalmanager(grok.Application, grok.Container): know
> what it will 
> be containing? 
> And don't you need an init in the class Project(grok.Container) to
> initialize each object creation? 
> I would take a step back and organize so that the adds of the multiple
> projects are outside of the main
> container.
> I'm sorry I can't help more. 
> Michael
> trivedis.mumbai wrote:
>> Michael,
>> Here is the Event and Access Logs. I think my Context association is
>> faulty but cant pinpoint. 
>>  http://old.nabble.com/file/p31067324/event.log event.log 
>> http://old.nabble.com/file/p31067324/accesslog.log accesslog.log 
>> Re Tapan

View this message in context: http://old.nabble.com/Newbie-question-on-%27could-not-adapt%27-error-tp31030601p31088535.html
Sent from the Grok mailing list archive at Nabble.com.

More information about the Grok-dev mailing list