try removing all the .pyc around.  maybe the python version is different on
the two machines

2014-11-13 22:50 GMT+01:00 Cliff Kachinske <cjk...@gmail.com>:

> Is there a modules/__init__.py ?
>
>
> On Monday, November 10, 2014 2:44:44 PM UTC-5, John Davis wrote:
>>
>> Hello
>>
>> I have an app written by someone which runs on our server.  I have tried
>> to copy this app from one server to a new one which also runs web2py.  I
>> use the admin site GUI for web2py to import the app, but when I try to run
>> it, I get the following error.
>>
>> error: <type 'exceptions.ImportError'>(No module named configuration)
>>
>>
>> I have a modules/configuration.py file and I also have a
>> modules/configuration.pyc file.
>>
>> The stack trace shows that the code which generates the error looks like
>> this:
>>
>>
>> from configuration import local_time
>>
>  --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to