-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Submissions are exported twice #1240
Comments
I've not been able to reproduce with the same nightly version yet -- I only get one copy per export operation. If you can reliably reproduce, it would be helpful to have exact steps, as the order of operations (when does |
I can reproduce on the latest nightly (20210316) as well, regardless of the order of operations (plug in before sd-devices VM is started, plug in before the "insert usb drive" prompt) |
Still no "luck" reproducing it here. @creviera mentioned that it may be related to the USB device or formatting; I've only tested with the same export device so far. It is formatted as follows: Or in
The device itself is a USB-based Flash Card reader, not a traditional USB stick. I'll test with the same device using the latest nightlies with the changes in freedomofpress/securedrop-export#67 to test for any regression on this device. For folks who've seen the issue, it would be useful to compare the above output or other debugging info. |
OK, I think we can discount the device/formatting hypothesis. After updating (including the nightlies with freedomofpress/securedrop-export#67) I've now seen the issue a couple of times with the exact same device. However, I'm still not able to reliably reproduce it -- I restarted Note that my last update also pulled in |
Based on logs, it looks like the |
I'm able to repro every time by pressing "Enter" instead of clicking the "Continue" button, which tells you that our QKeyEvent handler isn't handling the even properly. I'll have a fix shortly and would appreciate some extra eyes on testing in case there's another way to repro the issue. |
Recently during Workstation QA, I was surprised to see that files exported to a physical USB stick were exported twice from the client. After tinkering for a bit with package versions, it appears that on my system the latest nightly
securedrop-export_0.2.4-dev-20210315-061408
reliably doubles exports, whereas the prod version 0.2.4 does not.Here's an example of the timestamps generated:
There were three (3) export operations performed:
surf.mp4
on latest nightly, was doubledwikipedia.jpg
on latest nightly, was doubledsurf.mp4
on 0.2.4 prod, was not doubledThe text was updated successfully, but these errors were encountered: