Hi..  I'm new to turboGears.
After I run the tg-admin quickstart, the start-<projectname>.py file
is not created.
Any help is greatly appreciated


Here is the whole bunch of text from terminal window.
--------------------------------------------------------------------------------

[EMAIL PROTECTED]:~# tg-admin quickstart
/var/lib/python-support/python2.5/simplejson/scanner.py:6:
DeprecationWarning: The sre module is deprecated, please import re.
  from sre import VERBOSE, MULTILINE, DOTALL
Enter project name: hi
Enter package name [hi]:
Do you need Identity (usernames/passwords) in this project? [no]
Selected and implied templates:
  TurboGears#tgbase      tg base template
  TurboGears#turbogears  web framework

Variables:
  egg:         hi
  elixir:      False
  identity:    none
  package:     hi
  project:     hi
  sqlalchemy:  False
Creating template tgbase
Creating directory ./hi
  Recursing into +einame+.egg-info
    Creating ./hi/hi.egg-info/
    Copying PKG-INFO to ./hi/hi.egg-info/PKG-INFO
    Copying paster_plugins.txt to ./hi/hi.egg-info/paster_plugins.txt
    Copying sqlobject.txt_tmpl to ./hi/hi.egg-info/sqlobject.txt
  Recursing into +package+
    Creating ./hi/hi/
    Copying __init__.py_tmpl to ./hi/hi/__init__.py
    Copying release.py_tmpl to ./hi/hi/release.py
    Recursing into static
      Creating ./hi/hi/static/
      Recursing into css
        Creating ./hi/hi/static/css/
        Copying empty to ./hi/hi/static/css/empty
      Recursing into images
        Creating ./hi/hi/static/images/
        Copying favicon.ico to ./hi/hi/static/images/favicon.ico
        Copying tg_under_the_hood.png to ./hi/hi/static/images/
tg_under_the_hood.png
        Copying under_the_hood_blue.png to ./hi/hi/static/images/
under_the_hood_blue.png
      Recursing into javascript
        Creating ./hi/hi/static/javascript/
        Copying empty to ./hi/hi/static/javascript/empty
    Recursing into templates
      Creating ./hi/hi/templates/
      Copying __init__.py_tmpl to ./hi/hi/templates/__init__.py
Creating template turbogears
  Recursing into +package+
    Recursing into config
      Creating ./hi/hi/config/
/var/lib/python-support/python2.5/Cheetah/Compiler.py:1556:
UserWarning: You supplied an empty string for the source!
  warnings.warn("You supplied an empty string for the source!", )
      Copying __init__.py_tmpl to ./hi/hi/config/__init__.py
      Copying app.cfg_tmpl to ./hi/hi/config/app.cfg
      Copying log.cfg_tmpl to ./hi/hi/config/log.cfg
    Copying controllers.py_tmpl to ./hi/hi/controllers.py
    Copying json.py_tmpl to ./hi/hi/json.py
Traceback (most recent call last):
  File "/usr/local/bin/tg-admin", line 8, in <module>
    load_entry_point('TurboGears==1.0.3.2', 'console_scripts', 'tg-
admin')()
  File "/usr/lib/python2.5/site-packages/TurboGears-1.0.3.2-py2.5.egg/
turbogears/command/base.py", line 389, in main
    command.run()
  File "/usr/lib/python2.5/site-packages/TurboGears-1.0.3.2-py2.5.egg/
turbogears/command/quickstart.py", line 203, in run
    command.run(cmd_args)
  File "/usr/lib/python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/
paste/script/command.py", line 210, in run
    result = self.command()
  File "/usr/lib/python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/
paste/script/create_distro.py", line 125, in command
    template, output_dir, vars)
  File "/usr/lib/python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/
paste/script/create_distro.py", line 167, in create_template
    template.run(self, output_dir, vars)
  File "/usr/lib/python2.5/site-packages/TurboGears-1.0.3.2-py2.5.egg/
turbogears/command/quickstart.py", line 33, in run
    super(TGTemplate, self).run(command, output_dirs, vars)
  File "/usr/lib/python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/
paste/script/templates.py", line 57, in run
    self.write_files(command, output_dir, vars)
  File "/usr/lib/python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/
paste/script/templates.py", line 126, in write_files
    template_renderer=self.template_renderer)
  File "/usr/lib/python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/
paste/script/copydir.py", line 94, in copy_dir
    svn_add=svn_add, template_renderer=template_renderer)
  File "/usr/lib/python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/
paste/script/copydir.py", line 103, in copy_dir
    template_renderer=template_renderer)
  File "/usr/lib/python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/
paste/script/copydir.py", line 278, in substitute_content
    searchList=[vars])
  File "/var/lib/python-support/python2.5/Cheetah/Template.py", line
1199, in __init__
    self._compile(source, file, compilerSettings=compilerSettings)
  File "/var/lib/python-support/python2.5/Cheetah/Template.py", line
1487, in _compile
    keepRefToGeneratedCode=True)
  File "/var/lib/python-support/python2.5/Cheetah/Template.py", line
786, in compile
    raise parseError
Cheetah.Parser.ParseError:

Error in the Python code which Cheetah generated for this template:
================================================================================

EOL while scanning single-quoted string
(cheetah_DynamicallyCompiledCheetahTemplate_2007082322502213733.py,
line 319)

Line|Python Code
----|-------------------------------------------------------------
317 |
318 |    def _set_password(self, password):
319 |        ''''
 
^
320 |        algo defined in the configuration
321 |        ''''
322 |        self._password = identity.encrypt_password(password)

================================================================================

Here is the corresponding Cheetah code.
** I had to guess the line & column numbers, so they are probably
incorrect:

Line 277, column 1

Line|Cheetah Code
----|-------------------------------------------------------------
274 |assign(Permission, permissions_table,
275 |          properties=dict(groups=relation(Group,
276 |                secondary=group_permission_table,
backref='permissions')))
277 |#else
     ^
278 |#
279 |# identity model
280 |#


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