On May 12, 11:05 am, "Gregory W. Bond" <[EMAIL PROTECTED]> wrote:
> if you mean running command this for 'restin': yes, i did this - i
> have the restin app running fine - the problem is that restin can't
> find the file myapp.lib.base - frankly i don't know how it could find
> it given the info i've provided to restin

Did you also run `python setup.py develop` for myapp? Your app needs
to be installed so that it can be imported by Python in the usual way.
For example, `python -c 'import myapp'` should work.


> it could be (probably is) because i left one field blank when
> registering myapp with restin - restin asks for the app's package
> name, dburi and 'egg name' - i left out the 'egg name' since i don't
> have a clue what that means
>
> is 'egg name' what restin needs to find the file it wants
> (myapp.lib.base)? if so, what's an 'egg name'?

The egg name isn't actually used for anything right now so leaving it
out wouldn't matter. It's in there now because I have this kooky idea
for using Restin to generate Pylons apps from the info you supply
(currently vaporware).

An egg name is a project's "proper name." For example, Pylons,
SQLAlchemy, Elixir, etc (check site-packages directory for more
examples). It's often a capitalized version of a project's top level
package, but it can be any arbitrary string.


HTH,

__wyatt



>
> On May 12, 12:43 pm, "Max Ischenko" <[EMAIL PROTECTED]> wrote:
>
> > On 5/12/07, Gregory W. Bond <[EMAIL PROTECTED]> wrote:
>
> > > i just installed this to give it a spin - when i went to bring up the
> > > admin interface for my model i got an error saying it couldn't locate
> > > my app
>
> > > exceptions.ImportError: No module named myapp.lib.base
>
> > > the myapp application is just a development app i've been working on -
> > > it's not located in any recognized python location - how do i tell
> > > restin where to find it?
>
> > Do a "python setup.py develop"?
>
> > Max.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to