Re: PYTHON bindings

2022-11-16 Thread Yasuhito FUTATSUKI
gt;> /usr/lib/python2.7/dist-packages/libsvn/_core.x86_64-linux-gnu.so: undefined >> symbol: svn_relpath__internal_style >> >> I submitted this to the ViewVC GitHub issue site for ViewVC and got back: >> >> This seems like a problem with Subversion's python bindings (which ViewVC

Re: PYTHON bindings

2022-11-16 Thread Pavel Lyalyakin via users
tted this to the ViewVC GitHub issue site for ViewVC and got back: > > This seems like a problem with Subversion's python bindings (which ViewVC > depends on to do its thing for Subversion repositories), and specifically an > issue with the packaging of those bindings on your spe

PYTHON bindings

2022-11-16 Thread Robert Fetter via users
I run this I get: ImportError: /usr/lib/python2.7/dist-packages/libsvn/_core.x86_64-linux-gnu.so: undefined symbol: svn_relpath__internal_style I submitted this to the ViewVC GitHub issue site for ViewVC and got back: This seems like a problem with Subversion's python bindings (which ViewVC

Re: Re: subversion 1.14.1: could not build python bindings (1.41.0 is Ok)

2021-02-19 Thread Yasuhito FUTATSUKI
On 2021/02/17 6:17, Lev Serebryakov wrote: > On 16.02.2021 23:52, Yasuhito FUTATSUKI wrote: >> > >>> However, I don't think it is not an issue of Subversion release tarball >>> but an issue of FreeBSD ports. >> >> This may be incorrect. It seems it is caused by wrong rule of >> copy-swig-py: targe

Re: subversion 1.14.1: could not build python bindings (1.41.0 is Ok)

2021-02-16 Thread Lev Serebryakov
On 16.02.2021 23:52, Yasuhito FUTATSUKI wrote: However, I don't think it is not an issue of Subversion release tarball but an issue of FreeBSD ports. This may be incorrect. It seems it is caused by wrong rule of copy-swig-py: target. Yep, it is wrong in case of multi-job build. It works

Re: subversion 1.14.1: could not build python bindings (1.41.0 is Ok)

2021-02-16 Thread Lev Serebryakov
:13 work-py37/subversion-1.14.1/subversion/bindings/swig/python/libsvn/_repos.so -> ../.libs/_repos.so lrwxr-xr-x 1 lev lev 15 17 Feb 00:13 work-py37/subversion-1.14.1/subversion/bindings/swig/python/libsvn/_wc.so -> ../.libs/_wc.so ]]] So, there IS bug in subversion Makefiles: building of

Re: subversion 1.14.1: could not build python bindings (1.41.0 is Ok)

2021-02-16 Thread Yasuhito FUTATSUKI
In article <210217035914.m0144...@mkii.yf.bsdclub.org> futat...@yf.bsdclub.org writes: > However, I don't think it is not an issue of Subversion release tarball > but an issue of FreeBSD ports. This may be incorrect. It seems it is caused by wrong rule of copy-swig-py: target. > Perhaps symb

Re: subversion 1.14.1: could not build python bindings (1.41.0 is Ok)

2021-02-16 Thread futatuki
In article hartman.nat...@gmail.com writes: > Are you building from a distribution tarball? (As opposed to a > checkout or export of the 1.14.1 tag in our repository...) If so, did > you run autogen.sh? I noticed some changes in > subversion/bindings/swig/INSTALL on trunk that haven't been backpo

Re: subversion 1.14.1: could not build python bindings (1.41.0 is Ok)

2021-02-16 Thread Yasuhito FUTATSUKI
In article hartman.nat...@gmail.com writes: > On Tue, Feb 16, 2021 at 12:32 PM Lev Serebryakov > wrote: > > I found cause, but as I'm not python programmer, I don't understand it. > > > > Old "import _XXX" (like "import _core" in > > subversion/bindings/swig/python/core.py) works, new "from

Re: subversion 1.14.1: could not build python bindings (1.41.0 is Ok)

2021-02-16 Thread Daniel Shahaf
Nathan Hartman wrote on Tue, 16 Feb 2021 17:15 +00:00: > You can generate a diff to view the changes with: > > $ svn diff \ > https://svn.apache.org/repos/asf/subversion/trunk/subversion/bindings/swig/INSTALL\ > https://svn.apache.org/repos/asf/subversion/tags/1.14.1/subversion/bindings/swig/INSTA

Re: subversion 1.14.1: could not build python bindings (1.41.0 is Ok)

2021-02-16 Thread Nathan Hartman
On Tue, Feb 16, 2021 at 12:32 PM Lev Serebryakov wrote: > I found cause, but as I'm not python programmer, I don't understand it. > > Old "import _XXX" (like "import _core" in > subversion/bindings/swig/python/core.py) works, new "from . import XXX" > doesn't. > >I've patched these lines

Re: subversion 1.14.1: could not build python bindings (1.41.0 is Ok)

2021-02-16 Thread Lev Serebryakov
On 16.02.2021 20:15, Nathan Hartman wrote: Update to 1.14.1 break out-of-tree build of python bindings (with python 3.7). Are you building from a distribution tarball? (As opposed to a checkout or export of the 1.14.1 tag in our repository...) If so, did you run autogen.sh? I noticed

Re: subversion 1.14.1: could not build python bindings (1.41.0 is Ok)

2021-02-16 Thread Lev Serebryakov
On 16.02.2021 19:51, Yasuhito FUTATSUKI wrote:   Update to 1.14.1 break out-of-tree build of python bindings (with python 3.7).   1.14.0 works with same options, makefiles, etc. 1.14.1 fails to build bindings when libraries are installed and swig is not installed (bindings are built as

Re: subversion 1.14.1: could not build python bindings (1.41.0 is Ok)

2021-02-16 Thread Nathan Hartman
On Tue, Feb 16, 2021 at 10:05 AM Lev Serebryakov wrote: > > >Update to 1.14.1 break out-of-tree build of python bindings (with python > 3.7). Are you building from a distribution tarball? (As opposed to a checkout or export of the 1.14.1 tag in our repository...) If so,

Re: subversion 1.14.1: could not build python bindings (1.41.0 is Ok)

2021-02-16 Thread Yasuhito FUTATSUKI
Hi, On 2021/02/17 0:04, Lev Serebryakov wrote: > >   Update to 1.14.1 break out-of-tree build of python bindings (with python > 3.7). >   1.14.0 works with same options, makefiles, etc. 1.14.1 fails to build > bindings when libraries are installed and swig is not installe

subversion 1.14.1: could not build python bindings (1.41.0 is Ok)

2021-02-16 Thread Lev Serebryakov
Update to 1.14.1 break out-of-tree build of python bindings (with python 3.7). 1.14.0 works with same options, makefiles, etc. 1.14.1 fails to build bindings when libraries are installed and swig is not installed (bindings are built as separate ntity, not together with subversion

Re: Re: CentOS 8 Python bindings - opensource.wandisco.com

2020-04-12 Thread Yasuhito FUTATSUKI
Hi, On 2020/04/13 4:04, Mark Phippard wrote: > On Sun, Apr 12, 2020 at 1:10 PM Nico Kadel-Garcia wrote: > >> On Sat, Apr 11, 2020 at 3:21 PM Jarkko Hyvärinen >> wrote: >>> >>> Hi >>> >>> >>> >>> I have installed Subvers

Re: CentOS 8 Python bindings - opensource.wandisco.com

2020-04-12 Thread Mark Phippard
On Sun, Apr 12, 2020 at 1:10 PM Nico Kadel-Garcia wrote: > On Sat, Apr 11, 2020 at 3:21 PM Jarkko Hyvärinen > wrote: > > > > Hi > > > > > > > > I have installed Subversion 1.10.6 and python bindings > (subversion-python) to CentOS 8 server from open

Re: CentOS 8 Python bindings - opensource.wandisco.com

2020-04-12 Thread Nico Kadel-Garcia
On Sat, Apr 11, 2020 at 3:21 PM Jarkko Hyvärinen wrote: > > Hi > > > > I have installed Subversion 1.10.6 and python bindings (subversion-python) to > CentOS 8 server from opensource.wandisco.com repo. My goal is to get Trac and > Subversion working with CentOS 8. >

CentOS 8 Python bindings - opensource.wandisco.com

2020-04-11 Thread Jarkko Hyvärinen
Hi I have installed Subversion 1.10.6 and python bindings (subversion-python) to CentOS 8 server from opensource.wandisco.com repo. My goal is to get Trac and Subversion working with CentOS 8. After installation I encoutered two problems with python bindings: 1. If I run > ’python2

Re: Python bindings and python 3?

2019-04-29 Thread Yasuhito FUTATSUKI
Hi, In article l...@serebryakov.spb.ru writes: > > Looks like python bindings doesn't work with pyhton 3. It could be > built no problem, but "check-swig-py" target fails (see log below) > > Is it known problem or something wrong on my side? It's kn

Python bindings and python 3?

2019-04-29 Thread Lev Serebryakov
Looks like python bindings doesn't work with pyhton 3. It could be built no problem, but "check-swig-py" target fails (see log below) Is it known problem or something wrong on my side? === if [ "LD_LIBRARY_PATH" = "DYLD_LIBRARY_PATH" ]; then for d in /

Minor Python bindings/API question

2017-11-08 Thread Jens Restemeier
Hi, I’m trying to use the python-swig bindings to copy the log entries of our repository into a database for indexing and cross referencing. There is one minor problem: The callback seems to be called a few times with invalid log entries: (-1L, {}, None) That is obviously easy to filter out, and

RE: Compiling python bindings (VS2012, Windows 7)

2014-10-09 Thread Bert Huijben
> -Original Message- > From: Cooke, Mark [mailto:mark.co...@siemens.com] > Sent: donderdag 9 oktober 2014 14:32 > To: users@subversion.apache.org > Subject: Compiling python bindings (VS2012, Windows 7) > > Dear list, > > I thought I had subversion compiled

Compiling python bindings (VS2012, Windows 7)

2014-10-09 Thread Cooke, Mark
Dear list, I thought I had subversion compiled OK, all the tests appear to be passing, but when I went looking for the python bindings they were missing. Looking at the VS2012 solution file, the __SWIG_PYTHON__ project seems to be empty and does nothing when rebuilt. So I have re-built the

RE: Get subversion python bindings on existing subversion setup

2013-05-28 Thread Tony Sweeney
From: kapila narang [mailto:kapilanar...@gmail.com] Sent: 28 May 2013 12:08 To: users@subversion.apache.org Subject: Get subversion python bindings on existing subversion setup Hi, I have subversion 1.6.11 installed on redhat 64bit server used since long

Get subversion python bindings on existing subversion setup

2013-05-28 Thread kapila narang
Hi, I have subversion 1.6.11 installed on redhat 64bit server used since long. Seems to be installed using rpm/yum not from source. Can you suggest me how i get svn python binding for existing setup without effective my current environment? everyone says of compiling from source, which i am not

Re: Avoinding file handle leak using the Python bindings & core.Stream

2012-04-17 Thread Trent Nelson
n in a repository. So, it's not unfathomable that there could be a leak.) > > The work-around has fixed our file-handle leak for, but I believe it points > to a bug in the Subversion bindings for which I'll try and provide a patch. > Before I file a bug I'd like to c

Re: Avoinding file handle leak using the Python bindings & core.Stream

2012-04-16 Thread Alex Willmer
;m not really familiar with the SVN/Python bindings. > However, concerning Python in general, explicitly calling close() is the > wrong way. Instead you should make sure files are closed by opening them > in a with clause: > > with open(...) as f: > ... # use f Unfortunately

Re: Avoinding file handle leak using the Python bindings & core.Stream

2012-04-16 Thread Ulrich Eckhardt
n_stream_close, which is used > in a try/finally block. Disclaimer: I'm not really familiar with the SVN/Python bindings. However, concerning Python in general, explicitly calling close() is the wrong way. Instead you should make sure files are closed by opening them in a with clause: w

Avoinding file handle leak using the Python bindings & core.Stream

2012-04-16 Thread Willmer, Alex (PTS)
file-handle leak for, but I believe it points to a bug in the Subversion bindings for which I'll try and provide a patch. Before I file a bug I'd like to check I haven't misunderstood anything: 1. In the Python bindings core.Stream doesn't have a .close() method [a]. Is there

RE: Problem with Python bindings to SVN 1.7.4 on Windows

2012-03-22 Thread Cooke, Mark
> -Original Message- > From: Alagazam.net Subversion [mailto:s...@alagazam.net] > Sent: 21 March 2012 19:41 > To: Brian Neal > Cc: users@subversion.apache.org > Subject: Re: Problem with Python bindings to SVN 1.7.4 on Windows > > On 2012-03-21 20:14, Brian Neal w

Re: Problem with Python bindings to SVN 1.7.4 on Windows

2012-03-21 Thread Alagazam.net Subversion
Subversion binaries (svn-win32-1.7.4.zip) and extract it (or at least the dll:s) in the same folder where you have the Python bindings. /David a.k.a. Alagazam

Re: Problem with Python bindings to SVN 1.7.4 on Windows

2012-03-21 Thread Thorsten Schöning
Guten Tag Brian Neal, am Mittwoch, 21. März 2012 um 20:14 schrieben Sie: > Is there anything that can be done to avoid a problem like that in the > future? Perhaps a note in the readme? I have noticed that Bitnami and > Collabnet dump all the SVN and Python binding DLL's into the same > folder. I'

Re: Problem with Python bindings to SVN 1.7.4 on Windows

2012-03-21 Thread Brian Neal
On Wed, Mar 21, 2012 at 1:41 PM, Alagazam.net Subversion wrote: > > Do you have another libeay32.dll and ssleay32.dll in some other folder that > is before Subversion\bin in your path ? > If that's the case and these are older versions there might be trouble. > > /David a.k.a. Alagazam > Why yes,

Re: Problem with Python bindings to SVN 1.7.4 on Windows

2012-03-21 Thread Alagazam.net Subversion
ies. It is strange that I also need to copy those 2 DLL's to the Python bindings folder. Thanks, BN Do you have another libeay32.dll and ssleay32.dll in some other folder that is before Subversion\bin in your path ? If that's the case and these are older versions there might be trouble. /David a.k.a. Alagazam

Re: Problem with Python bindings to SVN 1.7.4 on Windows

2012-03-21 Thread Brian Neal
Subversion\bin is on the path. It is needed for Apache to find the SVN binaries. It is strange that I also need to copy those 2 DLL's to the Python bindings folder. Thanks, BN

RE: Problem with Python bindings to SVN 1.7.4 on Windows

2012-03-21 Thread Cooke, Mark
> -Original Message- > From: Brian Neal [mailto:bgn...@gmail.com] > Sent: 21 March 2012 17:02 > To: users@subversion.apache.org > Subject: Re: Problem with Python bindings to SVN 1.7.4 on Windows > > On Wed, Mar 21, 2012 at 11:12 AM, Brian Neal wrote: >

Re: Problem with Python bindings to SVN 1.7.4 on Windows

2012-03-21 Thread Brian Neal
On Wed, Mar 21, 2012 at 11:12 AM, Brian Neal wrote: [... snip ..] > Hello - > > I'm trying to upgrade a Subversion and Trac install running on Windows > Server 2003 sp2. > > I've installed Subversion 1.7.4 from the .msi file found here: > http://sourceforge.net/projects/win32svn/files/1.7.4/ > > I

RE: Problem with Python bindings to SVN 1.7.4 on Windows

2012-03-21 Thread Cooke, Mark
> -Original Message- > From: Brian Neal [mailto:bgn...@gmail.com] > Sent: 21 March 2012 16:13 > To: users@subversion.apache.org > Subject: Problem with Python bindings to SVN 1.7.4 on Windows > > Hello - > > I'm trying to upgrade a Subversion and Trac ins

Problem with Python bindings to SVN 1.7.4 on Windows

2012-03-21 Thread Brian Neal
Hello - I'm trying to upgrade a Subversion and Trac install running on Windows Server 2003 sp2. I've installed Subversion 1.7.4 from the .msi file found here: http://sourceforge.net/projects/win32svn/files/1.7.4/ I'm also using the Python 2.7 bindings found in that same directory (svn-win32-1.7.

ctypes-python-bindings - list files in working copy issue

2012-03-08 Thread Martin Zibricky
Hi all, I'm trying to use csvn (ctypes based python bindings). I have a simple code example. But when trying to run this code I get the following error. I thested csvn with svn 1.6.17 and 1.7.3. The issue is still the same. Could anyone please confirm this issue? --- $ p

build swig python bindings

2010-11-29 Thread Bogdan Stanciu
Dear all, I am new to the list, so please allow me to ask a [maybe] beginner's question. I would like to get the SWIG bindings for svn-python, using Python 2.7 and SVN 1.6.13/15 I understood that unless someone already build them somewhere (couldn't find them) I could build them myself.

Subversion-Python bindings for Windows x64

2010-09-30 Thread Itamar O
Hi, I think I managed to build the python-svn-bindings for Windows x64, with these components: svn-1.6.12 python-2.6.6-x64 apr-1.3.12-win32-src apr-util-1.3.9-win32-src apr-iconv-1.2.1-win32-src-r2 sqlite-3.6.22 swigwin-1.3.39 zlib-1.2.3 neon-0.28.6 (built with VS-2008) I'm not sure how to test t

Re: subversion python bindings fail to build in separate directory.

2010-07-29 Thread Stefan Sperling
ductive, I just decided to do in-tree builds. > Michael. > > P.S. The documentation about how to build the bindings is > *extremely* poorly advertised. A search for "python bindings" > on the main page should at least turn up something that tells > people to

subversion python bindings fail to build in separate directory.

2010-07-29 Thread Michael McNeil Forbes
configure process should probably be modified so that the bindings can also be built out of tree. Michael. P.S. The documentation about how to build the bindings is *extremely* poorly advertised. A search for "python bindings" on the main page should at least turn up something that tells

Re: Python bindings for Subversion for ViewVC

2010-07-07 Thread Mark Phippard
VC running on a windows system. I have downloaded > ViewVC 1.1.6, Python 2.6 and the Python windows extensions. I am running > Subversion 1.5.2 (r32768) on a Windows pc. > > > > The instructions provided by ViewVC tell me that For Subversion support, I'll > need to

Python bindings for Subversion for ViewVC

2010-07-07 Thread Joe Baumgarten
have the Subversion Python bindings installed. It tells me to go here http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91, but that location does not contain the binaries. It suggests two other sites, but I didn't have any luck finding the binaries there either. Where

svn python bindings

2010-04-18 Thread Simon Butler
We installed Subversion (SVN) 1.5 from CollabNet on CentOS 4 and are looking for the Python binding to the client-side SVN programming interface (API). The obvious choice would be PySVN from . However, since no pre-builts package for RedHat or CentOS are available, we ne

Re: python bindings

2010-02-16 Thread Ulrich Eckhardt
On Monday 15 February 2010, Ramachandran, Vishwanath(IE10) wrote: > Will python-bindings swig support svn hooks scripts? Hook scripts are executable file which can do pretty much anything they want. What kind of python-bindings swig do you want? > There is a Collabnet subversion, which

Re: python bindings

2010-02-15 Thread vishwajeet singh
ngh [mailto:dextrou...@gmail.com] > *Sent:* Tuesday, February 16, 2010 12:41 PM > *To:* Ramachandran, Vishwanath(IE10) > *Cc:* users@subversion.apache.org > *Subject:* Re: python bindings > > > > > > We have subversion 1.4.6, Does swig support 1.4? Any suggestions w

RE: python bindings

2010-02-15 Thread Ramachandran, Vishwanath(IE10)
Does it means, subversion 1.4.6 does support swig, ? Regards Vishwanath From: vishwajeet singh [mailto:dextrou...@gmail.com] Sent: Tuesday, February 16, 2010 12:41 PM To: Ramachandran, Vishwanath(IE10) Cc: users@subversion.apache.org Subject: Re: python bindings We

Re: python bindings

2010-02-15 Thread vishwajeet singh
used it can interact with Subversion. > > *From:* Ramachandran, Vishwanath(IE10) > *Sent:* Monday, February 15, 2010 5:33 PM > *To:* users@subversion.apache.org > *Subject:* python bindings > > > > Hi there > > > > Will python-bindings* swig* support sv

RE: python bindings

2010-02-15 Thread Ramachandran, Vishwanath(IE10)
We have subversion 1.4.6, Does swig support 1.4? Any suggestions welcome Regards Vishwanath From: Ramachandran, Vishwanath(IE10) Sent: Monday, February 15, 2010 5:33 PM To: users@subversion.apache.org Subject: python bindings Hi there Will python-bindings swig support svn

python bindings

2010-02-15 Thread Ramachandran, Vishwanath(IE10)
Hi there Will python-bindings swig support svn hooks scripts? There is a Collabnet subversion, which comes with all the packages including python which supports the scripts But since we do not use Collabnet subversion, we are in need of only python bindings, which supports hooks scripts