[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: Arnout Standaert <arnout.standaert_at_student.kuleuven.ac.be>
Date: 2004-12-10 16:38:06 CET

François Beausoleil wrote:

> On 10/12/2004 05:57, Arnout Standaert wrote:
>
>> File "e:/svn/testing\hooks\mailer.py", line 593, in __init__
>> self.repos_ptr = svn.repos.open(repos_dir, pool)
>> AttributeError: 'module' object has no attribute 'open'
>
> The function is named "svn_repos_open" in 1.1.1. It looks like you're
> using the trunk version of mailer.py. Use the one from the 1.1.1 tag:
>
> http://svn.collab.net/repos/svn/tags/1.1.1

Thanks, Francois! That was the problem indeed, I downloaded the correct
version and the svn.repos.open command is found correctly now.

But I'm slipping into more serious trouble, so it seems :-)
Currently I'm not able to solve this one:

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

There seems to be something wrong with the arguments for the
revision_root command (in fs.dll, I presume). Printing the arguments to
the commandline didn't show any arguments being null, "rev" holds the
correct revision number, self.fs_ptr and self.pool hold *some* value
other than null, but I can't really get my head around those.

So, once again, any ideas are appreciated...

Kind regards,
Arnout Standaert

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 10 16:40:42 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.