#10439 closed defect (fixed)
Trac 0.13dev-r10843 error with SVN 1.4.3 (r23084)
Reported by: | Owned by: | Remy Blank | |
---|---|---|---|
Priority: | normal | Milestone: | 0.12.3 |
Component: | version control | Version: | 0.12dev |
Severity: | major | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Possibly related to #10414.
Shortly after upgrading from 0.11 our project started to throw this this error:
Oops… Trac detected an internal error: AttributeError: 'module' object has no attribute 'CHANGE_ACTION_DELETE' This is probably a local installation issue. Found a bug in Trac? If you think this should work and you can reproduce the problem, you should consider creating a bug report. Before you do that, though, please first try searching for similar issues, as it is quite likely that this problem has been reported before. For questions about installation and configuration of Trac or its plugins, please try the mailing list instead of creating a ticket. Otherwise, please a new bug report describing the problem and explain how to reproduce it. Python Traceback Most recent call last: File "build/bdist.freebsd-7.0-RELEASE-amd64/egg/trac/web/main.py", line 478, in _dispatch_request File "build/bdist.freebsd-7.0-RELEASE-amd64/egg/trac/web/main.py", line 163, in dispatch File "build/bdist.freebsd-7.0-RELEASE-amd64/egg/trac/web/main.py", line 306, in _pre_process_request File "build/bdist.freebsd-7.0-RELEASE-amd64/egg/trac/versioncontrol/api.py", line 345, in pre_process_request File "build/bdist.freebsd-7.0-RELEASE-amd64/egg/trac/versioncontrol/cache.py", line 252, in sync File "build/bdist.freebsd-7.0-RELEASE-amd64/egg/trac/versioncontrol/svn_fs.py", line 987, in get_changes System Information: User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.23) Gecko/20110920 Firefox/3.6.23 (.NET CLR 3.5.30729) Trac 0.13dev-r10843 Trac 0.13dev-r10843 Babel 0.9.6 (translations unavailable) Docutils 0.5 Genshi 0.6 psycopg2 2.2.2 Pygments 1.0 Python 2.5 (r25:51908, May 14 2009, 14:02:37) [GCC 4.2.1 20070719 [FreeBSD]] Python 2.5 (r25:51908, May 14 2009, 14:02:37) [GCC 4.2.1 20070719 [FreeBSD]] setuptools 0.6c9 setuptools 0.6c9 Subversion 1.4.3 (r23084) jQuery 1.5.1 Enabled Plugins: IniAdmin? 0.2 /usr/local/lib/python2.5/site-packages/IniAdmin-0.2-py2.5.egg TracAccountManager? 0.2.1dev-r5836 /usr/local/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r5836-py2.5.egg TracAnnouncer? 0.11.1-r10458 /usr/local/lib/python2.5/site-packages/TracAnnouncer-0.11.1_r10458-py2.5.egg TracFootNoteMacro? 1.0 /usr/local/lib/python2.5/site-packages/TracFootNoteMacro-1.0-py2.5.egg tracreposearch 0.2 /usr/local/lib/python2.5/site-packages/tracreposearch-0.2-py2.5.egg TracTocMacro? 11.0.0.3 /usr/local/lib/python2.5/site-packages/TracTocMacro-11.0.0.3-py2.5.egg TracWikiPrintPlugin? 1.6 /usr/local/lib/python2.5/site-packages/TracWikiPrintPlugin-1.6-py2.5.egg
Subversion access was not affected - we could still check-out, update, etc.
After much poking around we discovered that replacing file svn_fs.py in folder /usr/local/lib/python2.5/site-packages/Trac-0.13dev_r10843-py2.5.egg/trac/versioncontrol with the 0.12 version brought the system back online!
What do you make of it?
Attachments (2)
Change History (6)
by , 13 years ago
Attachment: | svn_fs_013.py added |
---|
comment:1 by , 13 years ago
Milestone: | → 0.12.3 |
---|---|
Owner: | set to |
Thanks for the report. This is due to the fix for SVN 1.7. I should have been more careful (in particular, if the action
field doesn't exist, chances were that the CHANGE_ACTION_*
constants wouldn't exist either :-/).
Fix coming shortly.
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in [10858]. Can you please update and test?
comment:4 by , 13 years ago
… Or even [10860], where the fix was actually merged :-/
(OT: Strange, my merges sometimes don't pick up all the changes from the branch.)
File that did not work