You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Nicklas Norling <ex...@exinor.net> on 2004/12/20 15:08:24 UTC

mailer.py + Win32 ?

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

Re: mailer.py + Win32 ?

Posted by Nicklas Norling <ex...@exinor.net>.
Max Bowsher wrote:

> Nicklas Norling wrote:
>
>> 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:
>>
> ...
>
>>    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?
>
>
> Yes. No intentional smiting of Win32 users is taking place here. :-)
>
> Trunk mailer.py will probably be gaining Win32 support sometime this 
> week.
>
> Max. 

That will be wonderfull, thanks!
/Nicke

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

Re: mailer.py + Win32 ?

Posted by Max Bowsher <ma...@ukf.net>.
Nicklas Norling wrote:
> 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:
>
...
>    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?

Yes. No intentional smiting of Win32 users is taking place here. :-)

Trunk mailer.py will probably be gaining Win32 support sometime this week.

Max.




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