<div dir="ltr">Hey,<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 15, 2014 at 7:20 PM, John Smith <span dir="ltr"><<a href="mailto:lbalbalba@gmail.com" target="_blank">lbalbalba@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Tue, Apr 15, 2014 at 6:53 PM, Markus Mohrhard<br>
<<a href="mailto:markus.mohrhard@googlemail.com">markus.mohrhard@googlemail.com</a>> wrote:<br>
><br>
> I already mentioned on IRC that this means it just did not find any test<br>
> files. The connection is working otherwise the NoConnectException would be<br>
> repeated. You need to make sure that you point to the correct directory and<br>
> otherwise debug why the script is not finding the files in your case. It<br>
> works for me so I can't tell you what is wrong in your setup.<br>
><br>
<br>
</div>Hi,<br>
<br>
I think I got it. When I remove the comments before 'print(files)' and<br>
'print( dirs )', I only see the subdirs below<br>
/usr/local/src/libreofficedocs/, but not the files located in those<br>
subdirs. When I copy a file directly in libreofficedocs, the script<br>
does find it. Looks like test-bugzilla-files.py doesnt descend into<br>
the subdirectory's. Since<br>
'dev-tools/test-bugzilla-files/test-bugzilla-files.py' created this<br>
directory structure, I assumed that test-bugzilla-files.py would be<br>
able to parse that.<br>
<br>
I know next time nothing about python, but would it be possible and<br>
reasonably easy/quick to make test-bugzilla-files.py look in all<br>
subdirectory's you point it at too ?<br>
<br>
<br></blockquote><div><br></div><div>It is a feature that it does not look in sub directories. That allows me some freedom in organizing documents and moving broken documents around without too much work. So I would be a bit reluctant to change that behavior as it will break the script on the server. You can just use a script similar to the one that I posted for you that iterates over all directories and inspects each one.<br>
<br></div><div>Regards,<br>Markus <br></div></div><br></div></div>