With InstaDMG b2 and the version of InstaUp2Date that comes along with it, calling instaup2date.py from a bash script was no problem at all. But now with rc1, I get the following error:
[code]Traceback (most recent call last):
File “instaUp2Date.py”, line 716, in
main()
File “instaUp2Date.py”, line 671, in main
thisController.findItems()
File “instaUp2Date.py”, line 329, in findItems
progressReporter = displayTools.statusHandler(taskMessage=’ ‘ + thisItem.displayName + ‘ -‘)
File “/Work area/InstaDMG/10.6/AddOns/InstaUp2Date/Resources/displayTools.py”, line 94, in __init__
self.update(taskMessage=taskMessage, statusMessage=statusMessage, progressTemplate=progressTemplate, value=value, expectedLength=expectedLength)
File “/Work area/InstaDMG/10.6/AddOns/InstaUp2Date/Resources/displayTools.py”, line 110, in update
self.outputChannel.seek(-1 * (len(self.lastTaskMessage) + len(self.lastStatusMessage) + len(self.lastProgressMessage)), 1)
IOError: [Errno 29] Illegal seek[/code]
I don’t know any python, but I think it has to do with the progress indicator of the checksumming. Is it possible to run instaup2date.py silent so it doesn’t show the progress?
The script that calls instaup2date.py is run nightly to rebuild my images if there have been any changes to the catalog files since last run, so I don’t need to see the progress of the checksumming.
Comments are closed