On Tue, Dec 16, 2008 at 5:27 PM, Jorge Vargas <[email protected]> wrote:
>
> On Tue, Dec 16, 2008 at 4:54 PM, Christopher Arndt <[email protected]> wrote:
>>
>> Daniel Fetchinson schrieb:
>>>> We now have a styled login box... Please test.
>>>
>>> Hi Florent, I wanted to take a look at it so 'svn up'-ed my tg-1.5
>>> directory, then installed a virtualenv, tried to install tg from the
>>> tg-1.5 directory using python from the virtualenv, but
>>>
>>> /path/to/virtualenv/bin/python setup.py install
>>>
>>> failed with
>>>
>>> Searching for PEAK-Rules==0.5a1.dev-r2569
>>> Reading http://pypi.python.org/simple/PEAK-Rules/
>>> No local packages or download links found for PEAK-Rules==0.5a1.dev-r2569
>>> error: Could not find suitable distribution for
>>> Requirement.parse('PEAK-Rules==0.5a1.dev-r2569')
>>>
>>> Anything I did wrong?
>>
>> I think he was referring to the quickstart templates for tg2.
>>
>> BTW, current trunk requires repoze.who 1.0.8, but there is not egg for
>> it on http://www.turbogears.org/2.0/downloads/current/index/. It should
>> be either mentioned in the docs for running the svn version, that you
>> need to checkout repoze.who and "setup.yp develop" it, or we should
>> upload a new egg to the index.
>>
> yes actually that is on pypi so if you delete the easy_install line
> from setup.cfg it should pick up the real package. I think we should
> bug Mark to add the package to the index, after all release will be
> very shortly so the docs will probably be updated when the change is
> no longer needed.
>
> as for the [easy_install] section I think we should get rid of it, I
> don't like it how it forces the index on you without knowing. I have
> been reading up on pip lately because there has been a couple of blog
> posts around maybe we should move there and be done with this issue,
> although we'll need someone to make sure pip works on windows.
>
When you add a "flash("this is a flash") into you root index. does it
get display somewhere in the template?
I guess cd ../../
easy_install repoze.who
will find the pypi package.
Also.
paster quickstart daa17
Do you need authentication and authorization in this project? [yes]
paster setup-app development.ini
paster serve --reload development.ini
Starting subprocess with file monitor
Traceback (most recent call last):
File "/home/lucas/tmp/tg2b2ENV/bin/paster", line 8, in <module>
load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
File
"/home/lucas/tmp/tg2b2ENV/lib/python2.5/site-packages/PasteScript-1.7.3-py2.5.egg/paste/script/command.py",
line 84, in run
invoke(command, command_name, options, args[1:])
File
"/home/lucas/tmp/tg2b2ENV/lib/python2.5/site-packages/PasteScript-1.7.3-py2.5.egg/paste/script/command.py",
line 123, in invoke
exit_code = runner.run(args)
File
"/home/lucas/tmp/tg2b2ENV/lib/python2.5/site-packages/PasteScript-1.7.3-py2.5.egg/paste/script/command.py",
line 218, in run
result = self.command()
File
"/home/lucas/tmp/tg2b2ENV/lib/python2.5/site-packages/PasteScript-1.7.3-py2.5.egg/paste/script/serve.py",
line 276, in command
relative_to=base, global_conf=vars)
File
"/home/lucas/tmp/tg2b2ENV/lib/python2.5/site-packages/PasteScript-1.7.3-py2.5.egg/paste/script/serve.py",
line 313, in loadapp
**kw)
File
"/home/lucas/tmp/tg2b2ENV/lib/python2.5/site-packages/PasteDeploy-1.3.2-py2.5.egg/paste/deploy/loadwsgi.py",
line 204, in loadapp
return loadobj(APP, uri, name=name, **kw)
File
"/home/lucas/tmp/tg2b2ENV/lib/python2.5/site-packages/PasteDeploy-1.3.2-py2.5.egg/paste/deploy/loadwsgi.py",
line 225, in loadobj
return context.create()
File
"/home/lucas/tmp/tg2b2ENV/lib/python2.5/site-packages/PasteDeploy-1.3.2-py2.5.egg/paste/deploy/loadwsgi.py",
line 625, in create
return self.object_type.invoke(self)
File
"/home/lucas/tmp/tg2b2ENV/lib/python2.5/site-packages/PasteDeploy-1.3.2-py2.5.egg/paste/deploy/loadwsgi.py",
line 110, in invoke
return fix_call(context.object, context.global_conf, **context.local_conf)
File
"/home/lucas/tmp/tg2b2ENV/lib/python2.5/site-packages/PasteDeploy-1.3.2-py2.5.egg/paste/deploy/util/fixtypeerror.py",
line 57, in fix_call
val = callable(*args, **kw)
File "/home/lucas/tmp/daa17/daa17/config/middleware.py", line 10, in make_app
app = make_base_app(global_conf, full_stack=True, **app_conf)
File "/home/lucas/tmp/tg2/trunk/tg/configuration.py", line 535, in
make_base_app
app = self.add_auth_middleware(app)
File "/home/lucas/tmp/tg2/trunk/tg/configuration.py", line 422, in
add_auth_middleware
app = setup_sql_auth(app, **auth_args)
TypeError: setup_sql_auth() got an unexpected keyword argument 'dbsession'
Am I missing something here?
Thanks,
Lucas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---