Okay, I executed the command

python -c 'import tempfile; print tempfile.mkdtemp("-meld")'

then I added the following 2 lines to misc.py just before line 244:

     print tempfile.mkdtemp("-meld")
     print command

To my surprise, the problem did not repro. It printed

/tmp/tmp8Tx0aV-meld
['patch', '-p0', '-R', '-d', '/tmp/tmpcfanD4-meld']

and displayed the diff as expected. I then removed the two lines that I 
had added, and it continued to work properly, so I think it was the 
mkdtemp command that fixed it. Meld also works properly now with my 
other repositories, where I originally discovered the issue. So, now I 
can no longer repro the problem either. I do not understand why making a 
temporary dir would fix anything. I hope this means more to you than it 
does to me.

Thanks for your help!
--Mike

On 06/08/2011 10:21 AM, Julian Taylor wrote:
> I can't reproduce it with that repository either.
>
> do you have patch installed?
> sudo apt-get install patch
>
> if yes can you execute:
> python -c 'import tempfile; print tempfile.mkdtemp("-meld")'
> it should print a the location of a directory
>
> if that works can you add a
> print command
> in /usr/lib/meld/meld/misc.py line 244 before proc = 
> subprocess.Popen(command...)
> and post what it prints before the crash
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/794210

Title:
  meld throws exception when diffing against subversion repository

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to