Site Network:

paster setup-app config.ini throws numerous errors

I am running OSX 10.6.

  1. Downloaded ProjectHQ-0.1.3dev_r149-py2.6.egg
  2. Downloaded Turbomail.  From within the Turbomail directory as root ran easy_install .
  3. As root ran easy_install ProjectHQ-0.1.3dev_r149-py2.6.egg
  4. As a non root user ran paster make-config projecthq config.ini
  5. As a non root user ran paster setup-app config.ini in the directory with the ini file.  Received the following errors.

 

kevinsmacbook:projecthg kevin$ paster setup-app config.ini

Running setup_config() from projecthq.websetup

Traceback (most recent call last):

File "/usr/local/bin/paster", line 8, in <module>

load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()

File "/Library/Python/2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 84, in run

invoke(command, command_name, options, args[1:])

File "/Library/Python/2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 123, in invoke

exit_code = runner.run(args)

File "/Library/Python/2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/appinstall.py", line 68, in run

return super(AbstractInstallCommand, self).run(new_args)

File "/Library/Python/2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 218, in run

result = self.command()

File "/Library/Python/2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/appinstall.py", line 456, in command

self, config_file, section, self.sysconfig_install_vars(installer))

File "/Library/Python/2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/appinstall.py", line 598, in setup_config

mod.setup_app, command, filename, section, vars)

File "/Library/Python/2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/appinstall.py", line 612, in _call_setup_app

func(command, conf, vars)

File "/Library/Python/2.6/site-packages/ProjectHQ-0.1.3dev_r149-py2.6.egg/projecthq/websetup.py", line 31, in setup_app

load_environment(conf.global_conf, conf.local_conf)

File "/Library/Python/2.6/site-packages/ProjectHQ-0.1.3dev_r149-py2.6.egg/projecthq/config/environment.py", line 51, in load_environment

config['pylons.app_globals'] = app_globals.Globals()

File "/Library/Python/2.6/site-packages/ProjectHQ-0.1.3dev_r149-py2.6.egg/projecthq/lib/app_globals.py", line 33, in __init__

from turbomail.adapters import tm_pylons

File "build/bdist.macosx-10.6-universal/egg/turbomail/__init__.py", line 7, in <module>

File "build/bdist.macosx-10.6-universal/egg/turbomail/message.py", line 15, in <module>

File "build/bdist.macosx-10.6-universal/egg/turbomail/extensions/utf8qp.py", line 6, in <module>

File "build/bdist.macosx-10.6-universal/egg/turbomail/extensions/logging.py", line 5, in <module>

ImportError: cannot import name Message

kevinsmacbook:projecthg kevin$

 

Re: paster setup-app config.ini throws numerous errors

Hi Kevin,

I'm not sure what could be causing that. I haven't tried to install TurboMail the way you did. You can install it by simply supplying easy_install the name of the .tar.gz file.

Perhaps try to install TurboMail from PyPI, since 3.0 has been released? easy_install -U TurboMail should do the trick.