| Anonymous | Login | 2026-03-22 09:18 CET |
| Main | My View | View Issues |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
| 0005144 | [py_subversion] packaging | major | always | 2014-02-05 10:11 | 2016-09-29 23:17 | ||
| Reporter | schwindt | View Status | public | ||||
| Assigned To | dam | ||||||
| Priority | normal | Resolution | fixed | ||||
| Status | closed | ||||||
| Summary | 0005144: pyhton modules not found by apache | ||||||
| Description |
I just upgraded to CSWpythonsvn 1.8.5,REV=2014.01.19. After that the trac instances could no longer sync to the repositories. upon symlinking /opt/csw/lib/svn/python/site-packages/* to /opt/csw/lib/python2.6/site-packages/ everyting went back to normal |
||||||
| Additional Information | |||||||
| Tags | No tags attached. | ||||||
| Attached Files | |||||||
|
|
|||||||
Notes |
|
|
(0010699) dam (administrator) 2014-02-05 11:32 |
TL;DR: We now about this and a fix is in progress. This problem is related to the python strategy and new simplified directory layout. New python packages must be compiled with the python category scripts. Unfortunately this is only possible at the moment for real python modules and not modules which are produced as a side effect of a larger build with configure etc. (this is also the case for e.g. py-rrdtool). Sorry for the inconvenience. |
|
(0010892) maciej (reporter) 2014-08-15 11:07 |
FYI This bug is blocking the integration of subversion packages from unstable to testing. http://buildfarm.opencsw.org/package-promotions/promote-packages.html#subversion [^] |
|
(0011171) dam (administrator) 2016-07-14 00:03 |
The issue has finally been resolved. Please see experimental packages at http://buildfarm.opencsw.org/experimental.html#subversion [^] However, please note that Subversion 1.9.4 only supports Python 2.7 and therefore no 2.6 module is available. |
|
(0011185) pfelecan (developer) 2016-09-17 20:09 edited on: 2016-09-18 15:26 |
If I do this: from svn import core I get: ImportError: No module named svn Even though the py_subversion package is installed in /opt/csw/lib/python2.7/site-packages/subversion Beside, if I do help(modules) the svn module is not listed ! What gets ? |
|
(0011186) pfelecan (developer) 2016-09-18 15:25 |
If I use the following stanza: PYTHONPATH=/opt/csw/lib/python2.7/site-packages/subversion python from svn import core works |
|
(0011187) pfelecan (developer) 2016-09-18 15:33 |
Even better, by creating the file /opt/csw/lib/python2.7/site-packages/svn.pth with the following content: /opt/csw/lib/python2.7/site-packages/subversion the module is found. I think that the same need to be done for libsvn. What do you think ? |
|
(0011188) dam (administrator) 2016-09-19 10:46 |
I think the python paths in the package should be changed so that workarounds wouldn't be necessary. I'll take a look. |
|
(0011189) pfelecan (developer) 2016-09-19 13:01 |
Totally agree with you. Just wished to have a work-around documented. |
|
(0011190) dam (administrator) 2016-09-20 11:03 |
New packages are available at http://buildfarm.opencsw.org/experimental.html#subversion [^] Please give them a try. |
|
(0011191) pfelecan (developer) 2016-09-20 14:32 |
Verifies positively. Everything seems fine. Can be released. Thank you. |
|
(0011193) pfelecan (developer) 2016-09-29 17:43 |
Is there an issue which precludes releasing these packages ? |
|
(0011194) dam (administrator) 2016-09-29 23:16 |
Didn't get your feedback, pushing now. |
| Copyright © 2000 - 2008 Mantis Group |