INTI-CMNB / KiAuto

A bunch of scripts to automate KiCad processes
Apache License 2.0
71 stars 19 forks source link

Update file_util.py #5

Closed jaessy77 closed 3 years ago

jaessy77 commented 3 years ago

Since the timeout is not settled by eeschema_do regardless you type in with --wait_start or --time_out_scale I need to increase this number in my virtual machine (LUbuntu 20.10) as a kind of quick & dirty BUG fix.

I work with Oracle Virtual Box and write to my Windows based file system via shared folder feature of VirtualBox. Therefore you need time to write and read back ;-)

Best would be to put the --time_out_scale in cfg-Array ? Did not really go too much into the depth of this code ..sorry.

set-soft commented 3 years ago

Hi @jaessy77 !

You are right, the scale wasn't applied to the wait_for_file_created_by_process function. The 9cca08928ec912862559d5dbab0540f1d0747974 commit fixes it. Could you check if you can solve your problem using the time-out scale and this patch?

set-soft commented 3 years ago

I assume the fix is working. Report an issue if it isn't so.