Opened 11 years ago

Closed 11 years ago

#10766 closed defect (worksforme)

Syntax error during installation attempt

Reported by: adrya.stembridge@… Owned by: akarzim
Priority: normal Component: TracHtmlNotificationPatch
Severity: normal Keywords: installation
Cc: Trac Release: 0.12


Received the following syntax error during installation.

# easy_install
Doing subversion checkout from to /tmp/easy_install-jHpPq8/trunk
Processing trunk
Writing /tmp/easy_install-jHpPq8/trunk/setup.cfg
Running -q bdist_egg --dist-dir /tmp/easy_install-jHpPq8/trunk/egg-dist-tmp-OYcUJu
  File "build/bdist.linux-x86_64/egg/announcer/opt/bitten/", line 71
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/", line 71
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:

announcer.* = enabled

email_enabled = true

My current trac.ini / components section (after attempted install):

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.

Attachments (0)

Change History (1)

comment:1 Changed 11 years ago by adrya.stembridge@…

Resolution: worksforme
Status: newclosed

Moved forward after backup up DB. System prompted to run trac-admin update,which I did. This updated trac.ini. All set, closing as worksforme.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain akarzim.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.