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

Please provide media upload error details #445

Open
c-holtermann opened this issue May 26, 2024 · 6 comments
Open

Please provide media upload error details #445

c-holtermann opened this issue May 26, 2024 · 6 comments
Labels
question Further information is requested

Comments

@c-holtermann
Copy link

c-holtermann commented May 26, 2024

I have had a hard time uploading my media data to the web. I had a lot of problems with media files. In the beginning none of them would upload. Only after a long time I realized that that was due to absolute paths (all my files had absolute paths). It would be helpful to show error messages in that case, something like "image {path} failed to upload because of ...". It would be helpful if the upload process would continue and present a list in the end with all the failed files and the reasons, maybe an option to retry. That makes it easier to figure out the different reasons. Another reason is files that are too big (and get stuck in a proxy). That in itself is not an issue of the gramps web app but can still happen and would be nice to mention. Error is 413. There might be different reasons for other errors: unstable internet connection, server overload...
I have put some debug statements into the upload code so I could see which errors arise at which files. Finally I have fixed all media issues and uploaded all files.
I find it very helpful that there now is a list of nonexistant media files in gramps web.
BTW it would be nice to have an abort button for the whole process at all stages.

Gramps 5.1.6
Gramps Web API 1.5.1
Gramps Web Frontend 24.1.2
locale: en
multi-tree: false
task queue: true

I realize this might be the wrong bug tracker (as this is mostly about the web sync tool)

@c-holtermann c-holtermann changed the title Media upload error details Please provide media upload error details May 26, 2024
@DavidMStraub
Copy link
Member

I realize this might be the wrong bug tracker (as this is mostly about the web sync tool)

This is the bug tracker of the web interface (frontend), not the sync tool.

What error was shown to you? When the upload failes, there is a red error symbol; hovering over it shows the error.

@DavidMStraub DavidMStraub added the question Further information is requested label May 31, 2024
@c-holtermann
Copy link
Author

I'll check.

@DavidMStraub
Copy link
Member

Please let me know if you can provide more details, otherwise we can close this issue.

@patvdleer
Copy link

Where would I find these errors, while my media files are in GrampsWeb I'm missing a lot of them at the same time. 1306 out of the 1364 are shown as missing. I tried zipping the files and uploading them manually, and using the the sync tool in Gramps on the desktop but both don't work. Gramps (desktop) itself keeps stating that there are 1306 missing images even after the message Successfully uploaded 1304 media files. Encountered 2 errors during upload.

@DavidMStraub
Copy link
Member

What do you mean by Gramps Desktop is stating there are 1306 missing images? Where does it state that?

@patvdleer
Copy link

The Gramps to web sync tool.

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants