Skip to content
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

Upload failed, but says "total success" #50

Closed
meirion opened this issue Jul 4, 2020 · 22 comments
Closed

Upload failed, but says "total success" #50

meirion opened this issue Jul 4, 2020 · 22 comments
Labels
good first issue Good for newcomers

Comments

@meirion
Copy link

meirion commented Jul 4, 2020

Firstly. thanks for this, seems like it could be incredibly useful!
Unfortunately I can't get it to work on a small set of test images...

image

image

@meirion
Copy link
Author

meirion commented Jul 4, 2020

My mistake, I poked around and found out I could click on 'Failures' to get more details. turned out my photos storage was maxed out.

image

Perhaps 'Failures' could look more clickable?

@meirion
Copy link
Author

meirion commented Jul 4, 2020

tried again on another account with space available, this time got an error about needing a valid upload token.

image

@ylexus
Copy link
Owner

ylexus commented Jul 4, 2020

Interesting, can you please zip and attach here the contents of ~/.jiottyphotosuploader/logs and ~/.jiottyphotosuploader/data.json after you’ve reproduced the problem?

@ylexus
Copy link
Owner

ylexus commented Jul 4, 2020

My mistake, I poked around and found out I could click on 'Failures' to get more details. turned out my photos storage was maxed out.

image

Perhaps 'Failures' could look more clickable?

Yes I’ll see if I can decorate it to look more like a link.

@ylexus
Copy link
Owner

ylexus commented Jul 5, 2020

I think I know why it happened. Jiotty remembers upload tokens for files you previously tried to upload, not to re-upload them again. However, when you log out and log in as another google user, those upload tokens are no longer valid. In fact, the whole upload state needs to be invalidated on logout. I’ll fix this.

@ylexus ylexus added the good first issue Good for newcomers label Jul 5, 2020
@ylexus
Copy link
Owner

ylexus commented Jul 5, 2020

@wheleph just in case you’d still want to contribute this one is quite simple. A css change to make links look more like links (underline) and also remove more files on logout (it already removes credentials, just need to also delete data.json).

@ylexus
Copy link
Owner

ylexus commented Jul 5, 2020

@wheleph just in case you’d still want to contribute this one is quite simple. A css change to make links look more like links (underline) and also remove more files on logout (it already removes credentials, just need to also delete data.json).

Actually, It’s a bit more involved, sorry. I’ve started working on it today.

@meirion
Copy link
Author

meirion commented Jul 6, 2020

Archive.zip
Sure, here are the files you need.
Let me know when I can try the app again :)

@ylexus
Copy link
Owner

ylexus commented Jul 6, 2020

Archive.zip

Sure, here are the files you need.

Let me know when I can try the app again :)

Thanks. Can you quit the app, delete data.json and then launch the app and try again? If it works this time, then this confirms why I think it fails. It should also fix the problem for you.

@meirion
Copy link
Author

meirion commented Jul 6, 2020

OK I deleted the app and emptied the ~/.jiotty... folder
Reinstalled the app, logged in with the correct google account and tried the same test folder of images.
Got different errors this time:

image

New log files
Archive.zip

@ylexus
Copy link
Owner

ylexus commented Jul 6, 2020

Looks like this time you hit an existing limitation where you are trying to re-upload a photo that's been uploaded manually, or via a different app. It was actually previously possible to do it, but I made it worse later, see #49
To check this is the issue, can you tell me what Google Photos web shows when you click on the information (i) icon on this photo https://photos.google.com/lr/photo/ANo0wPyc2v9-sQO04sO_wPaM8CIvhpXKkowDslXRcjeXDQlUQq2DjpBdp9fS3WwAUtj2v5uyjV9-4HG77tnhY6JNlyNXv4yEgQ (with the file name IMG_20200704_151559.jpg") - does it say "Uploaded from Jiotty Photos Uploader" like on the screenshot below? If it doesn't, it's an externally uploaded photo and Jiotty would skip it with the error on your screenshot and won't add it to any albums. After this issue, I'll work on #49 which will basically allow you to choose between supporting already-uploaded photos (which guess is what you'd want here) and order of items in the album. Unfortunately, I can't make both work at the same time due to API limitations.

Screenshot 2020-07-06 at 16 54 40

ylexus pushed a commit that referenced this issue Jul 6, 2020
ylexus pushed a commit that referenced this issue Jul 6, 2020
…; make links underlined; fix resume option not appearing for the very first time
@ylexus
Copy link
Owner

ylexus commented Jul 6, 2020

@axylee can I please ask you to translate the following line in all Chinese resources, like before? Please leave %s placeholder - it will display the value of "progressBoxFailuresHyperlinkText" resource, for example, 错误:
uploadPaneLogAreaPartialSuccessLabel=Done with some failures, to review click on "%s" links above

@meirion
Copy link
Author

meirion commented Jul 6, 2020

Alright thanks for the explanation, I think I understand. From a novice user POV perhaps the type of thing you could say here could be "X photos skipped which already existed in Google Photos". In my opinion that wouldn't be a failure or error as such, but a notification or info type message.

I checked that photo URL and it says Uploaded by Android.

I must admit I was a bit lost trying to understand the choices you were discussing relating to either re-uploading existing photos or preserving album image order!

@ylexus
Copy link
Owner

ylexus commented Jul 6, 2020

@

Alright thanks for the explanation, I think I understand. From a novice user POV perhaps the type of thing you could say here could be "X photos skipped which already existed in Google Photos". In my opinion that wouldn't be a failure or error as such, but a notification or info type message.

Unfortunately, it's impossible to devise what the cause of this error is. All I get from Google Photos is the generic "INVALID_ARGUMENT" error, so assuming this error means exactly what you said above may confuse a user, if the actual cause is different.

I checked that photo URL and it says Uploaded by Android.

I must admit I was a bit lost trying to understand the choices you were discussing relating to either re-uploading existing photos or preserving album image order!

In order to understand this, you need to read through issue #49. In short, with current Google Photos API, Jiotty can either

  1. add pre-existing items, like your "Uploaded by Android" one above, to the new album OR
  2. upload the items in such a way that they are ordered by date

but not both (1) and (2). Currently, Jiotty is on setting (2). Issue #49 will allow the user to decide.

@meirion
Copy link
Author

meirion commented Jul 6, 2020

OK I did a test, I edited the 3 images on my machine and cropped them so that they are visually different from the ones already uploaded.

I ran the upload again and it didn't show any errors this time.
However the new edited photos or the albums are neither appearing in Google Photos.

Latest from the log:

2020-07-06T17:29:40,976 INFO [JavaFX Application Thread] n.y.g.c.CloudAlbumsProviderImpl Loading albums in cloud (may take several minutes)... 2020-07-06T17:29:40,976 INFO [ForkJoinPool.commonPool-worker-5] n.y.g.c.DirectoryStructureSupplierImpl Building album list from the file system... 2020-07-06T17:29:40,979 INFO [ForkJoinPool.commonPool-worker-5] n.y.g.c.DirectoryStructureSupplierImpl ... done, 4 directories found that will be used as albums 2020-07-06T17:29:41,026 DEBUG [upload-pool-0] n.y.j.c.g.p.GooglePhotosClientImpl List all albums 2020-07-06T17:29:43,852 DEBUG [upload-pool-0] n.y.j.c.g.p.PagedRequest Requesting list, page token [null] 2020-07-06T17:29:43,853 DEBUG [upload-pool-0] n.y.j.c.g.p.PagedRequest Received response to list request, page token [null], next page token [CkQKPnR5cGUuZ29vZ2xlYXBpcy5jb20vZ29vZ2xlLnBob3Rvcy5saWJyYXJ5LnYxLkxpc3RBbGJ1bXNSZXF1ZXN0EgIIMhL3AkFIX3VRNDM4cG5VLW14XzFmVTUtMVU1UXk2LXhsM1FieXNJWU5ndm1teXVLajY0VUttcHQwVS1hQXdoa2NKSHpsb3huaVozTVVuRXl2WklZUFpRRW5HTGdRa3BmY0NGTEdVTWtMcjczMkpmSk1CUzdDV3RadUZ2WWRMMWRlVVI4MzRKWS1MRUVId3A1S0NQM3Nwa2NvNmtxMTBjclNQUGh6ZFdRdmxxSW5QZ2ZtTTRIQ3NsOElfZ0pnTWZLY1lSNEVZWnNyWUFMRkhzVWozWnhRTDdtcjVaMFlqT3d6MkJfVDRYU3VwRURLZUNrendaazRxQUw4SVR5Wko5UlFaV3ZmMENUZkVwWjhxZ1NteEtQWl85Z2hucUpFMmlSM29SUy1Yb3BDTEtKRmh1MzJhck4wNmtYTnUzU2FJVjk2cWZIaE1vRjlmM2FDT0pOSkx6YlN4YmU1REhJZXl0TFhDM0psZWlRUmRfWG9IZUhaN0hYTjdQNHI4WRoA] 2020-07-06T17:29:45,700 DEBUG [upload-pool-0] n.y.j.c.g.p.PagedRequest Requesting list, page token [CkQKPnR5cGUuZ29vZ2xlYXBpcy5jb20vZ29vZ2xlLnBob3Rvcy5saWJyYXJ5LnYxLkxpc3RBbGJ1bXNSZXF1ZXN0EgIIMhL3AkFIX3VRNDM4cG5VLW14XzFmVTUtMVU1UXk2LXhsM1FieXNJWU5ndm1teXVLajY0VUttcHQwVS1hQXdoa2NKSHpsb3huaVozTVVuRXl2WklZUFpRRW5HTGdRa3BmY0NGTEdVTWtMcjczMkpmSk1CUzdDV3RadUZ2WWRMMWRlVVI4MzRKWS1MRUVId3A1S0NQM3Nwa2NvNmtxMTBjclNQUGh6ZFdRdmxxSW5QZ2ZtTTRIQ3N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requesting list, page token [CkQKPnR5cGUuZ29vZ2xlYXBpcy5jb20vZ29vZ2xlLnBob3Rvcy5saWJyYXJ5LnYxLkxpc3RBbGJ1bXNSZXF1ZXN0EgIIMhLMAUFIX3VRNDM4cG5VLW14XzFmVTUtMVU1UXk2LXhsM1FieXNJWU5ndm1teXVLajY0VUtwOExsYUo0NDVDM1ZTU2wtaWV0eEduN2w1MmQwdzhkOURmejNvVjU0cGtzS3JVejdRbktBb1ptQkJPZHhRMmFKVWdjVjNHOE9aOVQzRDR6TktNTU0xQnpsT2w1ckJ2UjVPVWpnSEZhaHlYcTNSZ1Uwb1FSUjRCT1FDdHZWUnJ5YUFkYmIzY2lUZ25WM2sxblQ0aFR0TEZ4MHRldhoA] 2020-07-06T17:29:51,615 DEBUG [upload-pool-0] n.y.j.c.g.p.PagedRequest Received response to list request, page token [CkQKPnR5cGUuZ29vZ2xlYXBpcy5jb20vZ29vZ2xlLnBob3Rvcy5saWJyYXJ5LnYxLkxpc3RBbGJ1bXNSZXF1ZXN0EgIIMhLMAUFIX3VRNDM4cG5VLW14XzFmVTUtMVU1UXk2LXhsM1FieXNJWU5ndm1teXVLajY0VUtwOExsYUo0NDVDM1ZTU2wtaWV0eEduN2w1MmQwdzhkOURmejNvVjU0cGtzS3JVejdRbktBb1ptQkJPZHhRMmFKVWdjVjNHOE9aOVQzRDR6TktNTU0xQnpsT2w1ckJ2UjVPVWpnSEZhaHlYcTNSZ1Uwb1FSUjRCT1FDdHZWUnJ5YUFkYmIzY2lUZ25WM2sxblQ0aFR0TEZ4MHRldhoA], next page token [CkQKPnR5cGUuZ29vZ2xlYXBpcy5jb20vZ29vZ2xlLnBob3Rvcy5saWJyYXJ5LnYxLkxpc3RBbGJ1bXNSZXF1ZXN0EgIIMhLMAUFIX3VRNDM4cG5VLW14XzFmVTUtMVU1UXk2LXhsM1FieXNJWU5ndm1teXVLajY0VUtuUlBLQkVuRjZnMVVwbS1tTnZMaTBKSlE4aVRyRjJuSGotTGxqYURXeU8xdF9EUUFjUHZQRGdlaUlPSWFpM0hfTE5xR2VwMU1ZTjN2WWdWa1VHREMxTGg0d3NtMHg1MjZOZ3lZMndJZ0tfTkNBZjI2UkN4MXBndGdlT0JWcm1tekNIU3AwVHZNUkR1U0FCQWJaMmR5dnpILVlEeBoA] 2020-07-06T17:29:52,695 DEBUG [upload-pool-0] n.y.j.c.g.p.PagedRequest Requesting list, page token [CkQKPnR5cGUuZ29vZ2xlYXBpcy5jb20vZ29vZ2xlLnBob3Rvcy5saWJyYXJ5LnYxLkxpc3RBbGJ1bXNSZXF1ZXN0EgIIMhLMAUFIX3VRNDM4cG5VLW14XzFmVTUtMVU1UXk2LXhsM1FieXNJWU5ndm1teXVLajY0VUtuUlBLQkVuRjZnMVVwbS1tTnZMaTBKSlE4aVRyRjJuSGotTGxqYURXeU8xdF9EUUFjUHZQRGdlaUlPSWFpM0hfTE5xR2VwMU1ZTjN2WWdWa1VHREMxTGg0d3NtMHg1MjZOZ3lZMndJZ0tfTkNBZjI2UkN4MXBndGdlT0JWcm1tekNIU3AwVHZNUkR1U0FCQWJaMmR5dnpILVlEeBoA] 2020-07-06T17:29:52,695 DEBUG [upload-pool-0] n.y.j.c.g.p.PagedRequest Received response to list request, page token [CkQKPnR5cGUuZ29vZ2xlYXBpcy5jb20vZ29vZ2xlLnBob3Rvcy5saWJyYXJ5LnYxLkxpc3RBbGJ1bXNSZXF1ZXN0EgIIMhLMAUFIX3VRNDM4cG5VLW14XzFmVTUtMVU1UXk2LXhsM1FieXNJWU5ndm1teXVLajY0VUtuUlBLQkVuRjZnMVVwbS1tTnZMaTBKSlE4aVRyRjJuSGotTGxqYURXeU8xdF9EUUFjUHZQRGdlaUlPSWFpM0hfTE5xR2VwMU1ZTjN2WWdWa1VHREMxTGg0d3NtMHg1MjZOZ3lZMndJZ0tfTkNBZjI2UkN4MXBndGdlT0JWcm1tekNIU3AwVHZNUkR1U0FCQWJaMmR5dnpILVlEeBoA], next page token [] 2020-07-06T17:29:52,696 DEBUG [upload-pool-0] n.y.j.c.g.p.GooglePhotosClientImpl Listed 278 album(s) 2020-07-06T17:29:52,696 INFO [upload-pool-0] n.y.g.c.CloudAlbumsProviderImpl ... loaded 278 album(s) in cloud 2020-07-06T17:29:52,699 INFO [upload-pool-0] n.y.g.c.AlbumManagerImpl Reconciling 3 albums(s) with Google Photos, may take a bit of time... 2020-07-06T17:29:52,844 INFO [upload-pool-0] n.y.g.c.GooglePhotosUploaderImpl Already uploaded, skipping: /Users/meirion.williams/Pictures/pics to sync/test folder 2/IMG_20200704_151559.jpg 2020-07-06T17:29:52,847 INFO [upload-pool-0] n.y.g.c.GooglePhotosUploaderImpl Already uploaded, skipping: /Users/meirion.williams/Pictures/pics to sync/test folder 1/test folder 1-1/IMG_20200704_185619.jpg 2020-07-06T17:29:52,847 DEBUG [state persistence - uploaded-items-0] n.y.g.c.UploadStateManagerImpl Saved state 1196215124 with 3 item(s) 2020-07-06T17:29:52,848 INFO [upload-pool-0] n.y.g.c.GooglePhotosUploaderImpl Already uploaded, skipping: /Users/meirion.williams/Pictures/pics to sync/test folder 1/IMG_20200704_145033.jpg 2020-07-06T17:29:52,849 INFO [upload-pool-0] n.y.g.c.UploaderImpl All done without errors, files uploaded: 4

@meirion
Copy link
Author

meirion commented Jul 6, 2020

Sorry that's some pretty terrible formatting, don't know why that happened.

@meirion
Copy link
Author

meirion commented Jul 6, 2020

Right, renamed all the photos and they all uploaded and the albums appeared 👍 - so it just needs unique filenames?

what happens if you've got dupe filenames in your collection? eg things like DSC0001.jpg etc?

@ylexus
Copy link
Owner

ylexus commented Jul 6, 2020

Right, renamed all the photos and they all uploaded and the albums appeared 👍 - so it just needs unique filenames?

The reason Jiotty did not even attempt to upload them again was because you left the "resume from last attempt" checkbox on when trying again. It rightly did not attempt to upload the files that it already uploaded. It doesn't know you edited them. Although possible, I don't think I'll be supporting the file change detection yet.

what happens if you've got dupe filenames in your collection? eg things like DSC0001.jpg etc?

They will all be uploaded. There is no requirement for all file names to be unique.

ylexus pushed a commit that referenced this issue Jul 6, 2020
@axylee
Copy link
Contributor

axylee commented Jul 7, 2020

@axylee can I please ask you to translate the following line in all Chinese resources, like before? Please leave %s placeholder - it will display the value of "progressBoxFailuresHyperlinkText" resource, for example, 错误:
uploadPaneLogAreaPartialSuccessLabel=Done with some failures, to review click on "%s" links above

Sure , I am travel this few days , I will finished it by this week . So I just edit the files in "code " , to create a new branch , then pull request ?

image

@ylexus
Copy link
Owner

ylexus commented Jul 8, 2020

@axylee yes, sounds right. Thanks for your help!

@ylexus
Copy link
Owner

ylexus commented Jul 8, 2020

Fixed in 1.3.0

@ylexus
Copy link
Owner

ylexus commented Jul 27, 2020

This one is pending Dutch translations, but will close as these depend on voluntary work by others and are not guaranteed.

@ylexus ylexus closed this as completed Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants