Hello,
(My first try at sending this did not work-I waited a day and its
still not there, so I am reposting).
I have recently downloaded TurboGears to my computer (Ubuntu Linux v
7.04 Feisty). My computer has installed on it the following server
software:
Apache (v 2.2.3)
MySQL (v 5.0.38)
Sqlite (v 2.8.17)
I ran tg-admin quickstart, and entered in my project's details. A
directory is created, but there is absolutely no start-projectname.py
file anywhere (and yes, I am replacing projectname with my project's
name). Here is the output of tg-admin quickstart (username removed for
privacy purposes):
[EMAIL PROTECTED]:/var/www/testTG$ sudo tg-admin quickstart
Enter project name: Wiki 20
Enter package name [wiki20]:
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: Wiki_20
elixir: False
identity: none
package: wiki20
project: Wiki-20
sqlalchemy: False
Creating template tgbase
Creating directory ./Wiki-20
Recursing into +einame+.egg-info
Creating ./Wiki-20/Wiki_20.egg-info/
Copying PKG-INFO to ./Wiki-20/Wiki_20.egg-info/PKG-INFO
Copying paster_plugins.txt to ./Wiki-20/Wiki_20.egg-info/
paster_plugins.txt
Copying sqlobject.txt_tmpl to ./Wiki-20/Wiki_20.egg-info/
sqlobject.txt
Recursing into +package+
Creating ./Wiki-20/wiki20/
Copying __init__.py_tmpl to ./Wiki-20/wiki20/__init__.py
Copying release.py_tmpl to ./Wiki-20/wiki20/release.py
Recursing into static
Creating ./Wiki-20/wiki20/static/
Recursing into css
Creating ./Wiki-20/wiki20/static/css/
Copying empty to ./Wiki-20/wiki20/static/css/empty
Recursing into images
Creating ./Wiki-20/wiki20/static/images/
Copying favicon.ico to ./Wiki-20/wiki20/static/images/
favicon.ico
Copying tg_under_the_hood.png to ./Wiki-20/wiki20/static/
images/tg_under_the_hood.png
Copying under_the_hood_blue.png to ./Wiki-20/wiki20/static/
images/under_the_hood_blue.png
Recursing into javascript
Creating ./Wiki-20/wiki20/static/javascript/
Copying empty to ./Wiki-20/wiki20/static/javascript/empty
Recursing into templates
Creating ./Wiki-20/wiki20/templates/
Copying __init__.py_tmpl to ./Wiki-20/wiki20/templates/
__init__.py
Creating template turbogears
Recursing into +package+
Recursing into config
Creating ./Wiki-20/wiki20/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 ./Wiki-20/wiki20/config/__init__.py
Copying app.cfg_tmpl to ./Wiki-20/wiki20/config/app.cfg
Copying log.cfg_tmpl to ./Wiki-20/wiki20/config/log.cfg
Copying controllers.py_tmpl to ./Wiki-20/wiki20/controllers.py
Copying json.py_tmpl to ./Wiki-20/wiki20/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/paste/script/command.py",
line 210, in run
result = self.command()
File "/usr/lib/python2.5/site-packages/paste/script/
create_distro.py", line 125, in command
template, output_dir, vars)
File "/usr/lib/python2.5/site-packages/paste/script/
create_distro.py", line 163, 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/paste/script/templates.py",
line 48, in run
self.write_files(command, output_dir, vars)
File "/usr/lib/python2.5/site-packages/paste/script/templates.py",
line 116, in write_files
use_cheetah=self.use_cheetah)
File "/usr/lib/python2.5/site-packages/paste/script/copydir.py",
line 53, in copy_dir
svn_add=svn_add, template_renderer=template_renderer)
File "/usr/lib/python2.5/site-packages/paste/script/copydir.py",
line 61, in copy_dir
template_renderer=template_renderer)
File "/usr/lib/python2.5/site-packages/paste/script/copydir.py",
line 233, 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_2007080914255062546.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 |#
[EMAIL PROTECTED]:/var/www/testTG$
Here is the output of tg-admin info:
[EMAIL PROTECTED]:/var/www/testTG$ tg-admin info
TurboGears Complete Version Information
TurboGears requires:
* TurboGears 1.0.3.2
* Cheetah 2.0rc7
* configobj 4.3.2
* DecoratorTools 1.5
* RuleDispatch 0.5a0.dev-r2306
* setuptools 0.6c6
* FormEncode 0.7.1
* PasteScript 1.1
* elementtree 1.2.6-20050316
* simplejson 1.7.1
* CherryPy 2.2.1
* TurboKid 1.0.2
* TurboCheetah 0.9.5
* TurboJson 1.1
* PyProtocols 1.0a0
* Cheetah 2.0rc7
* PasteDeploy 1.1
* Paste 1.1.1
* kid 0.9.6
* Cheetah 2.0rc7
* RuleDispatch 0.5a0.dev-r2306
Identity Providers
* sqlobject (TurboGears 1.0.3.2)
* sqlalchemy (TurboGears 1.0.3.2)
tg-admin Commands
* info (TurboGears 1.0.3.2)
* shell (TurboGears 1.0.3.2)
* quickstart (TurboGears 1.0.3.2)
* update (TurboGears 1.0.3.2)
* sql (TurboGears 1.0.3.2)
* i18n (TurboGears 1.0.3.2)
* toolbox (TurboGears 1.0.3.2)
Visit Managers
* sqlobject (TurboGears 1.0.3.2)
* sqlalchemy (TurboGears 1.0.3.2)
Template Engines
* genshi-markup (Genshi 0.3.5)
* genshi-text (Genshi 0.3.5)
* genshi (Genshi 0.3.5)
* kid (TurboKid 1.0.2)
* cheetah (TurboCheetah 0.9.5)
* json (TurboJson 1.1)
Widget Packages
Toolbox Plugins
* info (TurboGears 1.0.3.2)
* catwalk (TurboGears 1.0.3.2)
* shell (TurboGears 1.0.3.2)
* designer (TurboGears 1.0.3.2)
* widgets (TurboGears 1.0.3.2)
* admi18n (TurboGears 1.0.3.2)
TurboGears Extensions
* visit (TurboGears 1.0.3.2)
* identity (TurboGears 1.0.3.2)
[EMAIL PROTECTED]:/var/www/testTG$
Any help is appreciated,
Dylan
PS: If I type apache2 into my console, (as root or otherwise), I get
this error:
apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.1.1 for ServerName
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Not sure if it is related. My apache server seems to work perfectly
fine otherwise-pages are served as normal.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---