[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: sample python scripts to get logs from the repository

From: Aditya Gandhi <agandhi_at_sapient.com>
Date: 2004-06-28 16:26:50 CEST

Hi all,
When I tried the scripts available at
http://svn.collab.net/repos/svn/trunk/tools/examples/ I got a System
Error ..
The error message is attached below....

Could this be because my repository is https based? If so how do I login
to the rep and then work on it.

Note: I got the same error message (null argument to internal routine)
while trying out most of the sample scripts.

Any help in correcting the error will be really appreciated.

SystemError: null argument to internal routine
Traceback (most recent call last):
  File
"C:\Python23\Lib\site-packages\Pythonwin\pywin\framework\scriptutils.py"
, line 305, in RunScript
    debugger.run(codeObject, __main__.__dict__, start_stepping=1)
  File
"C:\Python23\Lib\site-packages\Pythonwin\pywin\debugger\__init__.py",
line 60, in run
    _GetCurrentDebugger().run(cmd, globals,locals, start_stepping)
  File
"C:\Python23\Lib\site-packages\Pythonwin\pywin\debugger\debugger.py",
line 592, in run
    exec cmd in globals, locals
  File
"D:\SVNCheckoutFolder\OnStage\test-ag-svn2\trunk\sample_getpropdump.py",
line 72, in ?
    main()
  File
"D:\SVNCheckoutFolder\OnStage\test-ag-svn2\trunk\sample_getpropdump.py",
line 67, in main
    core.run_app(dumpprops, args[0], "", rev)
  File "C:\Python23\Lib\svn\core.py", line 33, in run_app
    return apply(func, (pool,) + args, kw)
  File
"D:\SVNCheckoutFolder\OnStage\test-ag-svn2\trunk\sample_getpropdump.py",
line 21, in dumpprops
    repos_ptr = repos.svn_repos_open(path, pool)
SystemError: null argument to internal routine

Regards
- Aditya Gandhi

  -----Original Message-----
  From: Max Bowsher [mailto:maxb@ukf.net]
  Sent: Monday, June 28, 2004 6:47 PM
  To: Aditya Gandhi; users@subversion.tigris.org
  Subject: Re: sample python scripts to get logs from the repository
  
  Aditya Gandhi wrote:
> Hi all,
> I am planning to use the python bindings that are available with
> subversion to extract and process some data from my subversion
> repository. I am planning to mostly use the "client.svn_client_log"
> method to get some logs from the repository and then parse and
process
> them.
> It will be great if somebody can share some sample scripts that
people
> have created in python to access the subversion repository. A
related
> question - do we already have a framework for it which will parse
the
> logs into a neat object with the required info so that I can use it/
> filter it as I wish. If any body can guide me to this info then that
> will be great.
  
  Have a look at:
  http://svn.collab.net/repos/svn/trunk/tools/examples/
  
  When you've finished, please consider submitting your script for
inclusion
  with the existing examples.
  
  Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 28 16:29:50 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.