Hi,
I am new to pylons and was trying out the quickwiki tutorial in the
docs(http://pylonshq.com/docs/0.9.5/quick_wiki.html).
After I edit the websetup.py file and when I try to execute $ paster
setup-app development.ini it shows up the following error.


$ paster setup-app development.ini
Traceback (most recent call last):
  File "/usr/bin/paster", line 8, in <module>
    load_entry_point('PasteScript==1.3.4', 'console_scripts', 'paster')
()
  File "/usr/lib/python2.5/site-packages/PasteScript-1.3.4-py2.5.egg/
paste/script/command.py", line 76, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/python2.5/site-packages/PasteScript-1.3.4-py2.5.egg/
paste/script/command.py", line 115, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/python2.5/site-packages/PasteScript-1.3.4-py2.5.egg/
paste/script/appinstall.py", line 65, in run
    return super(AbstractInstallCommand, self).run(new_args)
  File "/usr/lib/python2.5/site-packages/PasteScript-1.3.4-py2.5.egg/
paste/script/command.py", line 210, in run
    result = self.command()
  File "/usr/lib/python2.5/site-packages/PasteScript-1.3.4-py2.5.egg/
paste/script/appinstall.py", line 452, in command
    self, config_file, section,
self.sysconfig_install_vars(installer))
  File "/usr/lib/python2.5/site-packages/PasteScript-1.3.4-py2.5.egg/
paste/script/appinstall.py", line 579, in setup_config
    mod = import_string.try_import_module(mod_name)
  File "/usr/lib/python2.5/site-packages/Paste-1.3-py2.5.egg/paste/
util/import_string.py", line 81, in try_import_module
    return import_module(module_name)
  File "/usr/lib/python2.5/site-packages/Paste-1.3-py2.5.egg/paste/
util/import_string.py", line 67, in import_module
    mod = __import__(s)
  File "/home/cnu/projects/python/pylons/QuickWiki/quickwiki/
websetup.py", line 2, in <module>
    from pylons.database import create_engine
ImportError: cannot import name create_engine

Even when I try to "from pylons.database import create_engine" in the
python shell, it show up the ImportError.
Am I missing something?


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