I'm trying to install TG2 for the first time, but I run into a number
of errors and warnings, same as AFO here:
http://groups.google.com/group/turbogears/browse_thread/thread/0048b8c99c472c36/59d4ae844938caee?lnk=raot

After following the workarounds described there, when I finally run
paster serve development.ini, I get the following traceback:

PS C:\Users\jaraco\projects\jaraco.site\jaraco.site> paster serve
development.ini
Traceback (most recent call last):
  File "C:\python\Scripts\paster-script.py", line 8, in <module>
    load_entry_point('pastescript==1.7.3', 'console_scripts', 'paster')
()
  File "C:\Python\lib\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 "C:\Python\lib\site-packages\pastescript-1.7.3-py2.6.egg\paste
\script\command.py", line 123, in invoke
    exit_code = runner.run(args)
  File "C:\Python\lib\site-packages\pastescript-1.7.3-py2.6.egg\paste
\script\command.py", line 218, in run
    result = self.command()
  File "C:\Python\lib\site-packages\pastescript-1.7.3-py2.6.egg\paste
\script\serve.py", line 276, in command
    relative_to=base, global_conf=vars)
  File "C:\Python\lib\site-packages\pastescript-1.7.3-py2.6.egg\paste
\script\serve.py", line 313, in loadapp
    **kw)
  File "C:\Python\lib\site-packages\pastedeploy-1.3.3-py2.6.egg\paste
\deploy\loadwsgi.py", line 204, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "C:\Python\lib\site-packages\pastedeploy-1.3.3-py2.6.egg\paste
\deploy\loadwsgi.py", line 224, in loadobj
    global_conf=global_conf)
  File "C:\Python\lib\site-packages\pastedeploy-1.3.3-py2.6.egg\paste
\deploy\loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "C:\Python\lib\site-packages\pastedeploy-1.3.3-py2.6.egg\paste
\deploy\loadwsgi.py", line 278, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "C:\Python\lib\site-packages\pastedeploy-1.3.3-py2.6.egg\paste
\deploy\loadwsgi.py", line 409, in get_context
    section)
  File "C:\Python\lib\site-packages\pastedeploy-1.3.3-py2.6.egg\paste
\deploy\loadwsgi.py", line 431, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File "C:\Python\lib\site-packages\pastedeploy-1.3.3-py2.6.egg\paste
\deploy\loadwsgi.py", line 361, in get_context
    global_conf=global_conf)
  File "C:\Python\lib\site-packages\pastedeploy-1.3.3-py2.6.egg\paste
\deploy\loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "C:\Python\lib\site-packages\pastedeploy-1.3.3-py2.6.egg\paste
\deploy\loadwsgi.py", line 285, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "C:\Python\lib\site-packages\pastedeploy-1.3.3-py2.6.egg\paste
\deploy\loadwsgi.py", line 561, in get_context
    object_type, name=name)
  File "C:\Python\lib\site-packages\pastedeploy-1.3.3-py2.6.egg\paste
\deploy\loadwsgi.py", line 587, in find_egg_entry_point
    possible.append((entry.load(), protocol, entry.name))
  File "build\bdist.win-amd64\egg\pkg_resources.py", line 1913, in
load
ImportError: No module named site.config.middleware

There are no Google hits for "site.config.middleware".  What is this
and why doesn't my environment not have it?

I'm using Windows Vista 64-bit with Python 2.6.2 64-bit.

I've followed all of the install steps and workarounds as in the
previously-referenced post, except that I'm not using virtualenv (I'm
letting the packages install in my system site-packages).

I appreciate any suggestions.

Regards,
Jason
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to