On Nov 27, 2006, at 11:11 AM, John_Nowlan wrote:

> I installed pylons 0.9.3
>
> Created a new-app
> hello.py works
>
> but when copying my old-app files to new-app and changing  
> references I get the following error when trying to hit the  
> controller:
>
> File 'C:\\Python24\\lib\\site-packages\\myghty-1.1-py2.4.egg\\myghty 
> \\importer.py', line 54 in import_module
>   return builtin_importer(name, globals, locals, fromlist)
> File 'C:\\Inetpub\\pylonshome\\banner\\banner\\controllers\ 
> \banner.py', line 1 in ?
>   from banner.lib.base import *
> File 'C:\\Python24\\lib\\site-packages\\myghty-1.1-py2.4.egg\\myghty 
> \\importer.py', line 54 in import_module
>   return builtin_importer(name, globals, locals, fromlist)
> ImportError: No module named lib.base
>
>
> I must be doing something stupid but I can't see it. Any ideas?
> I can see base.py and it isn't getting compiled, it did when I just  
> did hello.py

When you copied the files over, the __init__.py file is still present  
in the lib/ dir? What does the directory hierarchy look like for the  
project?

HTH,
Ben

--~--~---------~--~----~------------~-------~--~----~
 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