Comment 2 for bug 215964

Revision history for this message
BrendonD (brendon-makingtheinvisiblevisible) wrote :

I'm downloading the uploader that you attached now.

Some more info:

I tried modifying uploader.py in various ways to see what happened (using print statements), and the behaviour I witnessed was weird. I could be totally wrong, but I noticed the following:

1. If I added the window_title attribute using join(), the same problem occurred. (I created a new string containing "", and called join on that with 'out' as the first in the sequence)
2. If I used join() to create the string for the line containing the window_title attribute, it was fully formed, but when added to 'out' using 'out +=', the whole string did not seem to get added, the same problem ocurred.
3. If the window_title contained "OpenOffice", I added some arbitrary text to the string, using 'out +=', but that extra text never got appended to the end of 'out'.

The whole thing didn't really make sense to me, I hope your debug version can fill in some blanks. I'm dying to find out what's behind all this.

I'll add this data to the bug, since it wasn't in my first post:

Problem:
The file ends at the end of the window_title string, before the closing "</attribute>"
It only seems to occur when reporting OpenOffice.org