Re: QuickWiki tutorial doesn't work for me. Error in paster make-config QuickWiki test.ini

2007-02-20 Thread [EMAIL PROTECTED]

This posting is informative and correct But

I had the problem and a simpler solution is:

Edit the ini file and delete the comment lines (starting with #)

Done!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: QuickWiki tutorial doesn't work for me. Error in paster make-config QuickWiki test.ini

2007-02-20 Thread Valery

Hi

but which ini file exactly is meant?

--
V.

On Feb 20, 6:33 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
 This posting is informative and correct But

 I had the problem and a simpler solution is:

 Edit the ini file and delete the comment lines (starting with #)

 Done!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: QuickWiki tutorial doesn't work for me. Error in paster make-config QuickWiki test.ini

2007-02-20 Thread Philip Cooper


On Feb 20, 11:03 am, Valery [EMAIL PROTECTED] wrote:
 but which ini file exactly is meant?

From your original posting you tried:

$ paster make-config QuickWiki test.ini

OK so my posting was stupid.  It's not test.ini because that never
gets created
(I guess you knew that but other readers may not, so I so state so
now.  err huh?)

Look wherever QuickWiki was installed to and go to the EGG-INFO dir.
Something like:

  blah/blah/path_to_your/python2.x/site-packages/QuickWiki-0.1.3-
py2.4.egg/EGG-INFO/

and remove all of the comment lines (starts with #) from

   paste_deploy_config.ini_tmpl


--
Phil


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
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
-~--~~~~--~~--~--~---



QuickWiki tutorial doesn't work for me. Error in paster make-config QuickWiki test.ini

2007-02-19 Thread Valery

Hi all,

I see the problem is already known, but i am not sure about the status
of
the solution/patch. I am just trying Pylons so getting through the
tutorials
would be quite logical and important for me...

The error is copy-pasted below.
Thanks for any hints in advance
--
Valery



$ paster make-config QuickWiki test.ini
Distribution already installed:
  QuickWiki 0.1.3 from /usr/lib/python2.4/site-packages/
QuickWiki-0.1.3-py2.4.egg
Traceback (most recent call last):
  File /usr/bin/paster, line 7, in ?
sys.exit(
  File /usr/lib/python2.4/site-packages/PasteScript-1.1-py2.4.egg/
paste/script/command.py, line 76, in run
invoke(command, command_name, options, args[1:])
  File /usr/lib/python2.4/site-packages/PasteScript-1.1-py2.4.egg/
paste/script/command.py, line 115, in invoke
exit_code = runner.run(args)
  File /usr/lib/python2.4/site-packages/PasteScript-1.1-py2.4.egg/
paste/script/appinstall.py, line 64, in run
return super(AbstractInstallCommand, self).run(new_args)
  File /usr/lib/python2.4/site-packages/PasteScript-1.1-py2.4.egg/
paste/script/command.py, line 210, in run
result = self.command()
  File /usr/lib/python2.4/site-packages/PasteScript-1.1-py2.4.egg/
paste/script/appinstall.py, line 324, in command
self.installer.write_config(self, self.config_file, self.vars)
  File /usr/lib/python2.4/site-packages/PasteScript-1.1-py2.4.egg/
paste/script/appinstall.py, line 496, in write_config
command.ensure_file(filename, self.config_content(command, vars))
  File /usr/lib/python2.4/site-packages/PasteScript-1.1-py2.4.egg/
paste/script/appinstall.py, line 526, in config_content
searchList=[vars])
  File /usr/lib/python2.4/site-packages/Cheetah-2.0rc7-py2.4-linux-
i686.egg/Cheetah/Template.py, line 1200, in __init__
self._compile(source, file, compilerSettings=compilerSettings)
  File /usr/lib/python2.4/site-packages/Cheetah-2.0rc7-py2.4-linux-
i686.egg/Cheetah/Template.py, line 1488, in _compile
keepRefToGeneratedCode=True)
  File /usr/lib/python2.4/site-packages/Cheetah-2.0rc7-py2.4-linux-
i686.egg/Cheetah/Template.py, line 716, in compile
compiler.compile()
  File /usr/lib/python2.4/site-packages/Cheetah-2.0rc7-py2.4-linux-
i686.egg/Cheetah/Compiler.py, line 1643, in compile
self._parser.parse()
  File /usr/lib/python2.4/site-packages/Cheetah-2.0rc7-py2.4-linux-
i686.egg/Cheetah/Parser.py, line 1445, in parse
self.assertEmptyOpenDirectivesStack()
  File /usr/lib/python2.4/site-packages/Cheetah-2.0rc7-py2.4-linux-
i686.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


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: QuickWiki tutorial doesn't work for me. Error in paster make-config QuickWiki test.ini

2007-02-19 Thread Cliff Wells

On Mon, 2007-02-19 at 23:14 +, Valery wrote:
   File /usr/lib/python2.4/site-packages/Cheetah-2.0rc7-py2.4-linux-
 i686.egg/Cheetah/Parser.py, line 1445, in parse
 self.assertEmptyOpenDirectivesStack()
   File /usr/lib/python2.4/site-packages/Cheetah-2.0rc7-py2.4-linux-
 i686.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
 

Believe it or not, this probably has nothing to do with Pylons.  Rather,
because Cheetah supports the python.templating_engines entry point,
Cheetah is gets imported automatically whether you use it or not and
apparently your version of Cheetah is broken.  Try upgrading or
uninstalling Cheetah.

Regards,
Cliff



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: QuickWiki tutorial doesn't work for me. Error in paster make-config QuickWiki test.ini

2007-02-19 Thread Valery

Hi  Cliff

 Believe it or not, this probably has nothing to do with Pylons.  Rather,
 because Cheetah supports the python.templating_engines entry point,
 Cheetah is gets imported automatically whether you use it or not and
 apparently your version of Cheetah is broken.  Try upgrading or
 uninstalling Cheetah.

uninstalling sounds more radical for me... upgrade means that
the version of Cheetah automatically downloaded an hour ago
was somehow out-of-date? you probably mean upgrade to
the development version. how to upgrade then?
I am newbie in Python's world :)

thanks
--
Valery


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: QuickWiki tutorial doesn't work for me. Error in paster make-config QuickWiki test.ini

2007-02-19 Thread Cliff Wells

On Tue, 2007-02-20 at 00:12 +, Valery wrote:
 Hi  Cliff
 
  Believe it or not, this probably has nothing to do with Pylons.  Rather,
  because Cheetah supports the python.templating_engines entry point,
  Cheetah is gets imported automatically whether you use it or not and
  apparently your version of Cheetah is broken.  Try upgrading or
  uninstalling Cheetah.
 
 uninstalling sounds more radical for me... upgrade means that
 the version of Cheetah automatically downloaded an hour ago
 was somehow out-of-date? you probably mean upgrade to
 the development version. how to upgrade then?
 I am newbie in Python's world :)

Actually the latest release in the Cheese shop is 1.0. and you've
installed 2.0rc7.  I'm not sure how you installed, but I suggest you
remove your existing version and reinstall using easy_install Cheetah
which should work fine.

Regards,
Cliff




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
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
-~--~~~~--~~--~--~---