[MacPorts] #19218: trac
#19218: trac ----------------------------------+----------------------------------------- Reporter: takeshi@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: ----------------------------------+----------------------------------------- trac with python25 has an enconding problem (X-MAC-JAPANESE), which has been fixed with python26 and later. So I modified Portfiles to make trac work with python26. -- Ticket URL: <http://trac.macports.org/ticket/19218> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19218: trac ----------------------------------+----------------------------------------- Reporter: takeshi@… | Owner: dluke@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: ----------------------------------+----------------------------------------- Changes (by dluke@…): * owner: macports-tickets@… => dluke@… * status: new => assigned -- Ticket URL: <http://trac.macports.org/ticket/19218#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19218: trac ----------------------------------+----------------------------------------- Reporter: takeshi@… | Owner: dluke@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: trac subversion-python26bindings ----------------------------------+----------------------------------------- Changes (by blb@…): * port: => trac subversion-python26bindings Comment: You shouldn't need the bsddb, hashlib, or sqlite3 modules for python26 (they are integrated into it). -- Ticket URL: <http://trac.macports.org/ticket/19218#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19218: trac ----------------------------------+----------------------------------------- Reporter: takeshi@… | Owner: dluke@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: trac subversion-python26bindings ----------------------------------+----------------------------------------- Comment(by takeshi@…): I was able to run trac successfully without these modules. I wrote a python26 variant to be unsuccessful. I was unable to use if {[variant_isset python26]} with PortGroup. -- Ticket URL: <http://trac.macports.org/ticket/19218#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19218: trac ----------------------------------+----------------------------------------- Reporter: takeshi@… | Owner: dluke@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: trac subversion-python26bindings ----------------------------------+----------------------------------------- Comment(by takeshi@…): In fact trac does not work with subversion. Perhaps svn-python.pth should be installed at ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages rather than ${prefix}/local/lib/python2.6/site-packages? Now trac finds the subversion bindings but aborts with the following message: {{{ Fatal Python error: Interpreter not initialized (version mismatch?) Abort trap }}} -- Ticket URL: <http://trac.macports.org/ticket/19218#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19218: trac ----------------------------------+----------------------------------------- Reporter: takeshi@… | Owner: dluke@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: trac subversion-python26bindings ----------------------------------+----------------------------------------- Comment(by dluke@…): Replying to [comment:4 takeshi@…]:
In fact trac does not work with subversion. Perhaps svn-python.pth should be installed at ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages
The port needs to be updated to ask python25 where to put the .pth file (since macports allows the framework path to be configurable).
rather than ${prefix}/local/lib/python2.6/site-packages?
Now trac finds the subversion bindings but aborts with the following message:
{{{ Fatal Python error: Interpreter not initialized (version mismatch?) Abort trap }}}
I believe this is because of #19223 -- Ticket URL: <http://trac.macports.org/ticket/19218#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19218: trac -----------------------------------------------+---------------------------- Reporter: takeshi@… | Owner: dluke@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: trac subversion-python26bindings | -----------------------------------------------+---------------------------- Changes (by dluke@…): * status: assigned => closed * resolution: => fixed Comment: The trac port has been updated to use python26 in r49378 -- Ticket URL: <http://trac.macports.org/ticket/19218#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19218: trac -----------------------------------------------+---------------------------- Reporter: takeshi@… | Owner: dluke@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: trac subversion-python26bindings | -----------------------------------------------+---------------------------- Comment(by takeshi@…): Thank you. Now I am able to run tracd. Now I get the following message. {{{ Can't synchronize with the repository (Couldn't open Subversion repository /Library/WebServer/repository: SubversionException: ("Couldn't perform atomic initialization", 200029)) }}} This problem is reported at Trac's trac and set wontfix. Cf. [http://trac.edgewall.org/ticket/8199 Trac] -- Ticket URL: <http://trac.macports.org/ticket/19218#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19218: trac -----------------------------------------------+---------------------------- Reporter: takeshi@… | Owner: dluke@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: trac subversion-python26bindings | -----------------------------------------------+---------------------------- Comment(by dluke@…): Are you using freebsd? I don't see this problem with trac on Mac OS X 10.5.6 -- Ticket URL: <http://trac.macports.org/ticket/19218#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19218: trac -----------------------------------------------+---------------------------- Reporter: takeshi@… | Owner: dluke@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: trac subversion-python26bindings | -----------------------------------------------+---------------------------- Comment(by blb@…): What action led to that message? My quick bit of testing with trac seems to be okay; {{{ $ port installed python26 subversion subversion-python26bindings trac The following ports are currently installed: python26 @2.6.1_2 (active) subversion @1.6.0_1+mod_dav_svn+tools (active) subversion-python26bindings @1.6.0_0 (active) trac @0.11.4_1+postgres (active) }}} -- Ticket URL: <http://trac.macports.org/ticket/19218#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19218: trac -----------------------------------------------+---------------------------- Reporter: takeshi@… | Owner: dluke@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: trac subversion-python26bindings | -----------------------------------------------+---------------------------- Comment(by takeshi@…): I am running Mac OS X 10.5.6 on a MacBook. I was using subverion and trac w/o variants. I tested subversion +mod_dav_svn+tools with trac but I have a problem with tracd so the mod_dav_svn should not affect anythin. Since I get error message of Sqlite so I should test postgres. I have ever used sqlite and mysql but postgres. I have to learn postgres first. -- Ticket URL: <http://trac.macports.org/ticket/19218#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19218: trac -----------------------------------------------+---------------------------- Reporter: takeshi@… | Owner: dluke@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: trac subversion-python26bindings | -----------------------------------------------+---------------------------- Comment(by dluke@…): I tested tracd with sqlite on 10.5.6 and didn't see that error message. I'm not sure what steps are needed to replicate the problem. The bug you linked to seemed to indicate that subversion 1.6.1 should fix the problem, and 1.6.1 was just released (I hopefully will have the ports updated later today), so maybe that will fix it for you. -- Ticket URL: <http://trac.macports.org/ticket/19218#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts