Syntax error during installation attempt
|Reported by:||Owned by:||akarzim|
Received the following syntax error during installation.
# easy_install http://trac-hacks.org/svn/announcerplugin/trunk Downloading http://trac-hacks.org/svn/announcerplugin/trunk Doing subversion checkout from http://trac-hacks.org/svn/announcerplugin/trunk to /tmp/easy_install-jHpPq8/trunk Processing trunk Writing /tmp/easy_install-jHpPq8/trunk/setup.cfg Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-jHpPq8/trunk/egg-dist-tmp-OYcUJu File "build/bdist.linux-x86_64/egg/announcer/opt/bitten/announce.py", line 71 yield ^ SyntaxError: invalid syntax zip_safe flag not set; analyzing archive contents... File "/usr/lib/python2.4/site-packages/TracAnnouncer-1.0dev_r12503-py2.4.egg/announcer/opt/bitten/announce.py", line 71 yield ^ SyntaxError: invalid syntax Adding TracAnnouncer 1.0dev-r12503 to easy-install.pth file Installed /usr/lib/python2.4/site-packages/TracAnnouncer-1.0dev_r12503-py2.4.egg Processing dependencies for TracAnnouncer==1.0dev-r12503 Finished processing dependencies for TracAnnouncer==1.0dev-r12503
TracAnnouncer is listed on my plugin page, however the trac.ini file was not modified and I'm not seeing sections referenced in the documentation.
For a system that is basically compatible with your existing setup and allowing minimally invasive wiki features, the following is suggested in trac.ini: [components] announcer.* = enabled [announcer] email_enabled = true
My current trac.ini / components section (after attempted install):
[components] acct_mgr.admin.* = enabled acct_mgr.api.* = enabled acct_mgr.db.sessionstore = enabled acct_mgr.htfile.htdigeststore = disabled acct_mgr.htfile.htpasswdstore = enabled acct_mgr.http.httpauthstore = disabled acct_mgr.notification.* = enabled acct_mgr.pwhash.htdigesthashmethod = enabled acct_mgr.pwhash.htpasswdhashmethod = disabled acct_mgr.register.* = enabled acct_mgr.svnserve.* = enabled acct_mgr.svnserve.svnservepasswordstore = disabled acct_mgr.web_ui.* = enabled ckintegration.ckintegrationmodule = enabled permredirect.* = enabled trac.web.auth.loginmodule = disabled
Would this syntax error have prevented the installer from updating the trac.ini file?
Or, are users expected to manually update their trac.ini after installation? I suppose I want to proceed with caution due to the syntax errors noted above.