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

RE: mailer.py failure on windows

From: Arild Fines <arild.fines_at_broadpark.no>
Date: 2003-08-02 03:54:00 CEST

Evan Easton wrote:
> I tried to use the mailer.py hook script (from
> http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/mailer.py
> with Python 2.2.3 on windows. I've got svn 0.26.0 and the python 2.2
> bindings installed. I'm getting the following trace:
>
> I don't know enough python to know exactly what the error means. Any
> experts on the list who can state the obvious for me? Thanks,
> Evan
>
>
d:\Programs\subversion\svn.collab.net\tools\hook-scripts>\Programs\Python22\
python.exe
> mailer.py d:\temp\foobar 1 Traceback (most recent call last):
> File "mailer.py", line 802, in ?
> svn.util.run_app(main, config_fname, repos_dir, revision)
> File "D:\Programs\Python22\lib\svn\core.py", line 33, in run_app
> return apply(func, (pool,) + args, kw)
> File "mailer.py", line 60, in main
> output.generate(groups, pool)
> File "mailer.py", line 144, in generate
> group, params, subpool)
> File "mailer.py", line 328, in generate_content
> generate_diff(output, cfg, repos, date, change, group, params,
> pool) File "mailer.py", line 442, in generate_diff
> output.run_diff(cfg.get_diff_cmd({
> File "mailer.py", line 189, in run_diff
> pipe_ob = popen2.Popen3(cmd)
> AttributeError: 'module' object has no attribute 'Popen3'

The Popen3 and Popen4 classes are not available on Windows, according to the
Python library documentation. The only way to fix that is to rewrite
mailer.py not to use it(at least on Windows).

--
Arild
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Aug 2 03:55:01 2003

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.