hi,
I was trying to execute the SimpleSite project from the "getting
started" part in pylons book(chapter no.8).
When i did try to setup app using "paster setup-app development.ini",
Following error occured.:-
from simplesite.model import meta
ImportError: cannot import name meta
Full error report as follows:-
============================================================
Traceback (most recent call last):
File "/usr/bin/paster", line 18, in <module>
command.run()
File "/var/lib/python-support/python2.5/paste/script/command.py",
line 79, in run
invoke(command, command_name, options, args[1:])
File "/var/lib/python-support/python2.5/paste/script/command.py",
line 118, in invoke
exit_code = runner.run(args)
File "/var/lib/python-support/python2.5/paste/script/appinstall.py",
line 68, in run
return super(AbstractInstallCommand, self).run(new_args)
File "/var/lib/python-support/python2.5/paste/script/command.py",
line 213, in run
result = self.command()
File "/var/lib/python-support/python2.5/paste/script/appinstall.py",
line 456, in command
self, config_file, section, self.sysconfig_install_vars
(installer))
File "/var/lib/python-support/python2.5/paste/script/appinstall.py",
line 591, in setup_config
mod = import_string.try_import_module(mod_name)
File "/var/lib/python-support/python2.5/paste/util/
import_string.py", line 81, in try_import_module
return import_module(module_name)
File "/var/lib/python-support/python2.5/paste/util/
import_string.py", line 67, in import_module
mod = __import__(s)
File "/home/bijoy/python/pylons/SimpleSite/simplesite/websetup.py",
line 8, in <module>
from simplesite import model
File "/home/bijoy/python/pylons/SimpleSite/simplesite/model/
__init__.py", line 5, in <module>
from simplesite.model import meta
ImportError: cannot import name meta
======================================================================
How to solve this..pls help
thanks
Bijoy
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---