| 489 | |
| 490 | == OSX 10.5.x Leopard, SVN 1.5.x and Trac 0.11.x == |
| 491 | |
| 492 | By Dennis Burger |
| 493 | |
| 494 | One addition to Toby Thain excellent tutorial about Trac on MacOS X Leopard. When you're updating to SVN 1.5.x you'll receive the following Trac error when opening a Trac page in you're webbrowser: |
| 495 | |
| 496 | {{{ |
| 497 | Trac detected an internal error: |
| 498 | SubversionException: ("Expected FS format '2'; found format '3'", 160043) |
| 499 | }}} |
| 500 | |
| 501 | I believe this means Python's SVN bindings are not compatible with the new SVN repository layout, or it's using the old SVN 1.4 command-line client on a SVN 1.5 repository. I installed the MacOS X [http://www.collab.net/downloads/community/ SVN 1.5.x binary installer (dmg) from OpenCollab.net]. Check you're $PATH, or modify it so that you're also using the new SVN 1.5.x command-line client. SVN is installed in: |
| 502 | |
| 503 | {{{ |
| 504 | /opt/subversion/ |
| 505 | }}} |
| 506 | |
| 507 | The OpenCollab.net version has new Python bindings. You need to move (or copy) these '''2 dirs.''' |
| 508 | {{{ |
| 509 | /opt/subversion/lib/svn-python/libsvn |
| 510 | /opt/subversion/lib/svn-python/svn |
| 511 | }}} |
| 512 | |
| 513 | ... to (and overwrite the target dirs. in): |
| 514 | {{{ |
| 515 | /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python |
| 516 | }}} |
| 517 | |
| 518 | Now refresh you're webbrowser (with a Trac page) and you're good to go! |
| 519 | |