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

mailer.py + Win32 ?

From: Nicklas Norling <exinor_at_exinor.net>
Date: 2004-12-20 16:08:24 CET

Hi.

I've tried all day long to get commit mails to work not only on my linux
box but also on a win32 machine. I have to say that it's not for the
feeble minded. Minimal documentation (if any). Anyway, I think I've
finally arrived at the end of the road:

E:\Svnrepo\Test1\hooks>post-commit.cmd E:\Svnrepo\Test1 13

E:\Svnrepo\Test1\hooks>mailer.py commit "E:\Svnrepo\Test1" 13
Traceback (most recent call last):
  File "D:\Program Files\Subversion\bin\mailer.py", line 754, in ?
    author, propname)
  File "D:\Python\lib\site-packages\svn\core.py", line 33, in run_app
    return apply(func, (pool,) + args, kw)
  File "D:\Program Files\Subversion\bin\mailer.py", line 49, in main
    messenger.generate()
  File "D:\Program Files\Subversion\bin\mailer.py", line 322, in generate
    group, params, subpool)
  File "D:\Program Files\Subversion\bin\mailer.py", line 377, in
generate_content
    generate_diff(output, cfg, repos, date, change, group, params, pool)
  File "D:\Program Files\Subversion\bin\mailer.py", line 537, in
generate_diff
    output.run(cfg.get_diff_cmd({
  File "D:\Program Files\Subversion\bin\mailer.py", line 97, in run
    pipe_ob = popen2.Popen3(cmd)
AttributeError: 'module' object has no attribute 'Popen3'

I'm doing a dummy testrun of the commit script as you can and this
eminates in the use of popen2.Popen3. As far as I understand this module
is not available on Win32, so why use it and exclude Win32 users from this
awsome script? Or have I misunderstod something?

/Nicke

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Dec 20 16:09:47 2004

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

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