Problem with buildout and z3c.schema with z3c.widget and megrok.form

View: New views
5 Messages — Rating Filter:   Alert me  

Problem with buildout and z3c.schema with z3c.widget and megrok.form

by rmoskal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Greetings:

I'm just getting started with Grok, and I like what I see.  It seems to be the right level of abstraction for application development and what a pleasure not to have to worry about ORM if I don't want to. BTW, the closest other framework that feels so right to me personally is Wicket in java land.

I'm using virtualenv and I'm trying to get some of the more sophisticated UI widgets like on the forms tutorial on the grok site.  However if I edit setup.py in my app directory to include 'z3c.widget', or 'megrok.form' I'm getting an error when I run the buildout:

Couldn't find index page for 'z3c.schema' (maybe misspelled?)
Getting distribution for 'z3c.schema'.
While:
  Updating app.
  Getting distribution for 'z3c.schema'.
Error: Couldn't find a distribution for 'z3c.schema'.


Has anybody seen this problem? Can anyone suggest a fix? I can all kinds of other things like hurry.query successfully.


Regards,

__________
Robert Moskal
Most Media
Brooklyn, USA



Re: Problem with buildout and z3c.schema with z3c.widget and megrok.form

by Martin Aspeli :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

rmoskal wrote:

> Greetings:
>
> I'm just getting started with Grok, and I like what I see.  It seems to be
> the right level of abstraction for application development and what a
> pleasure not to have to worry about ORM if I don't want to. BTW, the closest
> other framework that feels so right to me personally is Wicket in java land.
>
> I'm using virtualenv and I'm trying to get some of the more sophisticated UI
> widgets like on the forms tutorial on the grok site.  However if I edit
> setup.py in my app directory to include 'z3c.widget', or 'megrok.form' I'm
> getting an error when I run the buildout:
>
> Couldn't find index page for 'z3c.schema' (maybe misspelled?)
> Getting distribution for 'z3c.schema'.
> While:
>   Updating app.
>   Getting distribution for 'z3c.schema'.
> Error: Couldn't find a distribution for 'z3c.schema'.
>
>
> Has anybody seen this problem? Can anyone suggest a fix? I can all kinds of
> other things like hurry.query successfully.

There is no z3c.schema, at least not on PyPI. Did you mean zope.schema?
If so, that's already included.

Martin

--
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book

_______________________________________________
Grok-dev mailing list
Grok-dev@...
http://mail.zope.org/mailman/listinfo/grok-dev

Re: Problem with buildout and z3c.schema with z3c.widget and megrok.form

by rmoskal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Martin Aspeli wrote:
rmoskal wrote:
> Greetings:
>
> I'm just getting started with Grok, and I like what I see.  It seems to be
> the right level of abstraction for application development and what a
> pleasure not to have to worry about ORM if I don't want to. BTW, the closest
> other framework that feels so right to me personally is Wicket in java land.
>
> I'm using virtualenv and I'm trying to get some of the more sophisticated UI
> widgets like on the forms tutorial on the grok site.  However if I edit
> setup.py in my app directory to include 'z3c.widget', or 'megrok.form' I'm
> getting an error when I run the buildout:
>
> Couldn't find index page for 'z3c.schema' (maybe misspelled?)
> Getting distribution for 'z3c.schema'.
> While:
>   Updating app.
>   Getting distribution for 'z3c.schema'.
> Error: Couldn't find a distribution for 'z3c.schema'.
>
>
> Has anybody seen this problem? Can anyone suggest a fix? I can all kinds of
> other things like hurry.query successfully.

Martin:  I guess my point is that the z3c.schema is embedded in 'z3c.widget', or 'megrok.form'.  I don't refer to z3c.schema.

Thanks

_______________________________________________
Grok-dev mailing list
Grok-dev@zope.org
http://mail.zope.org/mailman/listinfo/grok-dev

Re: Re: Problem with buildout and z3c.schema with z3c.widget and megrok.form

by TIm TerlegÄrd-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Aug 4, 2008, at 9:47 PM, Martin Aspeli wrote:

> rmoskal wrote:
>> Greetings:
>> I'm just getting started with Grok, and I like what I see.  It  
>> seems to be
>> the right level of abstraction for application development and what a
>> pleasure not to have to worry about ORM if I don't want to. BTW,  
>> the closest
>> other framework that feels so right to me personally is Wicket in  
>> java land.
>> I'm using virtualenv and I'm trying to get some of the more  
>> sophisticated UI
>> widgets like on the forms tutorial on the grok site.  However if I  
>> edit
>> setup.py in my app directory to include 'z3c.widget', or  
>> 'megrok.form' I'm
>> getting an error when I run the buildout:
>> Couldn't find index page for 'z3c.schema' (maybe misspelled?)
>> Getting distribution for 'z3c.schema'.
>> While:
>>  Updating app.
>>  Getting distribution for 'z3c.schema'.
>> Error: Couldn't find a distribution for 'z3c.schema'.
>> Has anybody seen this problem? Can anyone suggest a fix? I can all  
>> kinds of
>> other things like hurry.query successfully.
>
> There is no z3c.schema, at least not on PyPI. Did you mean  
> zope.schema? If so, that's already included.

There is z3c.schema in svn.zope.org, but it doesn't seem to exist on  
pypi.

There is a dev version of z3c.schema on http://download.zope.org/distribution/
We used to include

     find-links = http://download.zope.org/distribution/

in grok's buildout.cfg. megrok.form has been successfully used before.  
I wonder
if this breakage might be due to the removal of find-links in  
buildout.cfg.

Moskal, what happens if you add this find-links line to your  
buildout.cfg?

/Tim
_______________________________________________
Grok-dev mailing list
Grok-dev@...
http://mail.zope.org/mailman/listinfo/grok-dev

Re: Problem with buildout and z3c.schema with z3c.widget and megrok.form

by rmoskal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, that did the trick.  I'm back on track!.