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

Re: Mailer.py on Windows

From: François Beausoleil <fbeausoleil_at_ftml.net>
Date: 2004-12-10 17:09:16 CET

Hmm, I have the same kind of problem...

On 10/12/2004 10:38, Arnout Standaert wrote:
> Traceback (most recent call last):
> File "e:\SVN\testing\hooks\mailer.py", line 754, in ?
> author, propname)
> File "c:\Python23\lib\svn\core.py", line 33, in run_app
> return apply(func, (pool,) + args, kw)
> File "e:\SVN\testing\hooks\mailer.py", line 36, in main
> repos = Repository(repos_dir, rev, pool)
> File "e:\SVN\testing\hooks\mailer.py", line 558, in __init__
> self.root_this = self.get_root(rev)
> File "e:\SVN\testing\hooks\mailer.py", line 570, in get_root
> root = self.roots[rev] = svn.fs.revision_root(self.fs_ptr, rev,
> self.pool)
> SystemError: null argument to internal routine

I get the same error when something goes wrong. It looks like the
Subversion Python bindings cannot print the actual error message that
occurs.

See this thread for more information:
http://svn.haxx.se/dev/archive-2004-12/0370.shtml

The gist of it is that the bindings always return "null argument to
internal routine" instead of returning the actual error message, as Mike
showed me on his Linux box.

I think someone who builds the bindings can give us more help, here.

Anyone with the Windows bindings can try the following:
def repro(pool):
    repos.svn_repos_open('no-repos-named-that-way', pool)

def main():
    print core.SVN_VER_MAJOR, core.SVN_VER_MINOR, core.SVN_VER_MICRO
    core.run_app(repro)

if __name__ == '__main__':
    main()

This is copied verbatim from my original message in thread mentionned above.

Thanks for any tips.

Bye !
François

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Fri Dec 10 17:17:56 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.