Modify

#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

Description

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.

Ex:

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.

Attachments (0)

Change History (1)

comment:1 Changed 21 months ago by adrya.stembridge@…

  • Resolution set to worksforme
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.