mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 12:05:58 +03:00
[GH-ISSUE #562] Error "Preview not ready yet" when trying to preview uploaded PDF via REST API #436
Labels
No labels
2.1
3.0
3.0.1
3.0.2
3.0.3
3.0.3
3.1
3.2
3.2
3.3
3.5
3.x
Fixed. Waiting for feedback.
Fixed. Waiting for feedback.
UX
Version 2.1 - alpha
XSS
announcement
beta
blocker
bug
cannot reproduce
confirmed
confirmed
critical
demo
dependencies
deployment
detchnical debt
discussion
docker
documentation
donations
duplicate
enhancement
feature request
frontend
fundraising
good first issue
good issue
help wanted
high
implemented
important
improvement
incomplete
invalid
investigation
kubernetes
low
low impact
medium
medium
medium impact
migration from 2.0
migration from 2.1
missing-language
missing-ocr-language
no-activity
note
ocr
outofscope
packaging
performance
popular request
pull-request
pypi
question
raspberry pi
roadmap
search
security
setup
status
task
technical debt
updates
user xp
version 1.4.0 - demo
will be implemented
will not be implemented
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/papermerge#436
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @maheshj01 on GitHub (Nov 26, 2023).
Original GitHub issue: https://github.com/ciur/papermerge/issues/562
Originally assigned to: @ciur on GitHub.
Description
Hey @ciur
I am trying to consume the paper merge REST API following the docs, When I upload a pdf file (tested using postman) the preview is not visible, I see an error when viewing the document in paper merge client
error: preview not ready yet
Steps to reproduce
http://localhost:16000/api/auth/login/http://localhost:16000/api/nodes/Heres the equivalent curl request for step 3
Heres the equivalent curl request for step 4
Note that In both steps 3 and 4 the status code is 201. However the uploaded document can be downloaed and viewed but it would be good to have the preview feature working
Expected
The uploaded document can be previewed in papermerge client
Actual
Let me know if you need any further info to investigate the issue.
@ciur commented on GitHub (Nov 27, 2023):
Maybe you give a try to version 3?
I will officially release version 3.0 it in a month or so.
One of the differences between 3.0 and previous version(s) is that in 3.0 the frontend was completely rewritten - it is all new.
@maheshj01 commented on GitHub (Nov 28, 2023):
Thanks will take a look, Keep up the great work.
@maheshj01 commented on GitHub (Dec 4, 2023):
Hello @ciur,
I was trying to run the papermerge app using docker-compose, I think there is an issue with arm64 machines I am using a Mac with Apple silicon
I tried all three configuration on this link https://papermerge.github.io/documentation/3.0-dev/setup/docker-compose/
@ciur commented on GitHub (Dec 5, 2023):
Yes it is because of arm architecture of your cpu. Currently there are no docker image for arm.