google / GiftStick

1-Click push forensics evidence to the cloud
Apache License 2.0
137 stars 21 forks source link

ProgressBar raises exceptions #92

Closed rgayon closed 3 years ago

rgayon commented 4 years ago

sda %(percent).1f%% 2020-06-17 19:02:33,797 - INFO - LinuxDiskArtifact - Opening disk with command '['/usr/bin/dcfldd', 'if=/dev/sda', 'hashlog=sda.hash', 'hash=md5,sha1', 'bs=2M', 'conv=noerror', 'hashwindow=128M']' 2020-06-17 19:02:33,837 - ERROR - AutoForensicate - Unable to upload artifact sda Traceback (most recent call last): File "auto_forensicate/auto_acquire.py", line 352, in _UploadArtifact artifact, update_callback=update_callback) File "/usr/local/google/home/romaing/dev/gift_github/auto_forensicate/uploader.py", line 104, in UploadArtifact artifact.OpenStream(), remote_path, update_callback=update_callback) File "/usr/local/google/home/romaing/dev/gift_github/auto_forensicate/uploader.py", line 145, in _UploadStream update_callback(len(buf), copied) File "auto_forensicate/auto_acquire.py", line 120, in update_with_total self._Update(current_bytes) File "auto_forensicate/auto_acquire.py", line 84, in _Update self.update() File "/usr/local/google/home/romaing/venvs/gift_github/lib/python3.7/site-packages/progress/bar.py", line 80, in update suffix = self.suffix % self File "/usr/local/google/home/romaing/venvs/gift_github/lib/python3.7/site-packages/progress/init.py", line 61, in getitem return getattr(self, key, None) File "/usr/local/google/home/romaing/venvs/gift_github/lib/python3.7/site-packages/progress/init.py", line 147, in eta_td return timedelta(seconds=self.eta) OverflowError: Python int too large to convert to C int