I did easy_install "QuickWiki==0.1.2"
then paster make-config QuickWiki test.ini

and got the following error:

C:\Python24\Lib\site-packages\QuickWiki-0.1.2-py2.4.egg>paster make-config 
QuickWiki test.ini
Distribution already installed:
  quickwiki 0.1.2 from c:\python24\lib\site-packages\quickwiki-0.1.2-py2.4.egg
Traceback (most recent call last):
  File "C:\Python24\scripts\paster-script.py", line 7, in ?
    sys.exit(
  File 
"c:\python24\lib\site-packages\PasteScript-0.9.8-py2.4.egg\paste\script\command.py",
 line 76, in run
    invoke(command, command_name, options, args[1:])
  File 
"c:\python24\lib\site-packages\PasteScript-0.9.8-py2.4.egg\paste\script\command.py",
 line 115, in invoke
    exit_code = runner.run(args)
  File 
"c:\python24\lib\site-packages\PasteScript-0.9.8-py2.4.egg\paste\script\appinstall.py",
 line 63, in run
    return super(AbstractInstallCommand, self).run(new_args)
  File 
"c:\python24\lib\site-packages\PasteScript-0.9.8-py2.4.egg\paste\script\command.py",
 line 210, in run
    result = self.command()
  File 
"c:\python24\lib\site-packages\PasteScript-0.9.8-py2.4.egg\paste\script\appinstall.py",
 line 323, in command
    self.installer.write_config(self, self.config_file, self.vars)
  File 
"c:\python24\lib\site-packages\PasteScript-0.9.8-py2.4.egg\paste\script\appinstall.py",
 line 495, in write_config
    command.ensure_file(filename, self.config_content(command, vars))
  File 
"c:\python24\lib\site-packages\PasteScript-0.9.8-py2.4.egg\paste\script\appinstall.py",
 line 525, in config_content
    searchList=[vars])
  File 
"c:\python24\lib\site-packages\cheetah-2.0rc7-py2.4.egg\Cheetah\Template.py", 
line 1200, in __init__
    self._compile(source, file, compilerSettings=compilerSettings)
  File 
"c:\python24\lib\site-packages\cheetah-2.0rc7-py2.4.egg\Cheetah\Template.py", 
line 1488, in _compile
    keepRefToGeneratedCode=True)
  File 
"c:\python24\lib\site-packages\cheetah-2.0rc7-py2.4.egg\Cheetah\Template.py", 
line 716, in compile
    compiler.compile()
  File 
"c:\python24\lib\site-packages\cheetah-2.0rc7-py2.4.egg\Cheetah\Compiler.py", 
line 1643, in compile
    self._parser.parse()
  File 
"c:\python24\lib\site-packages\cheetah-2.0rc7-py2.4.egg\Cheetah\Parser.py", 
line 1445, in parse
    self.assertEmptyOpenDirectivesStack()
  File 
"c:\python24\lib\site-packages\cheetah-2.0rc7-py2.4.egg\Cheetah\Parser.py", 
line 2554, in assertEmptyOpenDirectivesStack
    raise ParseError(self, msg=errorMsg)
Cheetah.Parser.ParseError:

Some #directives are missing their corresponding #end ___ tag: cache
Line 45, column 18

Line|Cheetah Code
----|-------------------------------------------------------------
42  |# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
43  |# Debug mode will enable the interactive debugging tool, allowing ANYONE to
44  |# execute malicious code after an exception is raised.
45  |set debug = false
                      ^

No test.ini was created.
Copying my old test.ini over and adding sqlalchemy.dburi fixes that error but 
then trying to run gives me:

C:\Python24\Lib\site-packages\QuickWiki-0.1.2-py2.4.egg>paster serve test.ini
Traceback (most recent call last):
  File "C:\Python24\scripts\paster-script.py", line 7, in ?
    sys.exit(
  File 
"c:\python24\lib\site-packages\PasteScript-0.9.8-py2.4.egg\paste\script\command.py",
 line 76, in run
    invoke(command, command_name, options, args[1:])
  File 
"c:\python24\lib\site-packages\PasteScript-0.9.8-py2.4.egg\paste\script\command.py",
 line 115, in invoke
    exit_code = runner.run(args)
  File 
"c:\python24\lib\site-packages\PasteScript-0.9.8-py2.4.egg\paste\script\command.py",
 line 210, in run
    result = self.command()
  File 
"c:\python24\lib\site-packages\PasteScript-0.9.8-py2.4.egg\paste\script\serve.py",
 line 184, in command
    relative_to=base)
  File 
"c:\python24\lib\site-packages\PasteScript-0.9.8-py2.4.egg\paste\script\serve.py",
 line 204, in loadapp
    return loadapp(app_spec, name=name, relative_to=relative_to)
  File 
"c:\python24\lib\site-packages\PasteDeploy-0.9.6-py2.4.egg\paste\deploy\loadwsgi.py",
 line 193, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File 
"c:\python24\lib\site-packages\PasteDeploy-0.9.6-py2.4.egg\paste\deploy\loadwsgi.py",
 line 214, in loadobj
    return context.create()
  File 
"c:\python24\lib\site-packages\PasteDeploy-0.9.6-py2.4.egg\paste\deploy\loadwsgi.py",
 line 596, in create
    return self.object_type.invoke(self)
  File 
"c:\python24\lib\site-packages\PasteDeploy-0.9.6-py2.4.egg\paste\deploy\loadwsgi.py",
 line 99, in invoke
    return fix_call(context.object, context.global_conf, **context.local_conf)
  File 
"c:\python24\lib\site-packages\PasteDeploy-0.9.6-py2.4.egg\paste\deploy\util\fixtypeerror.py",
 line 57, in fix_call
    val = callable(*args, **kw)
  File 
"c:\python24\lib\site-packages\QuickWiki-0.1.2-py2.4.egg\quickwiki\config\middleware.py",
 line 27, in make_app
    app = pylons.wsgiapp.PylonsApp(config, helpers=quickwiki.lib.helpers)
TypeError: __init__() got an unexpected keyword argument 'helpers'

Not sure what I should do about that.

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

Reply via email to