Giter VIP home page Giter VIP logo

Comments (5)

aronmolnar avatar aronmolnar commented on May 18, 2024

Hi Richard,

Can you check whether you see anything in the Dev Tools console?
And can you post your exact Chrome version?
(could not reproduce the error with latest Chrome and Brave)

from sysreptor.

richardschwabe avatar richardschwabe commented on May 18, 2024
Google Chrome | 114.0.5735.106 (Official Build) (64-bit)
-- | --
Revision | 5148e93c94b4990618801dd6918f26936be770f9-refs/branch-heads/5735_90@{#9}
OS | Linux
JavaScript | V8 11.4.183.19


image

Console Output:

image

Raw Console Output

api.js:140 Uncaught (in promise) Error: Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.
    at getDocument (api.js:140:1)
    at Object.open (app.js:655:1)
    at index.js:97:31
getDocument @ api.js:140
open @ app.js:655
(anonymous) @ index.js:97
postMessage (async)
_postMessage @ contentscript.js:1
_write @ contentscript.js:1
_onData @ contentscript.js:1
_onMessage @ contentscript.js:1
postMessage (async)
_postMessage @ inpage.js:1
_write @ inpage.js:1
_handshake @ inpage.js:1
l @ inpage.js:1
(anonymous) @ inpage.js:1
(anonymous) @ inpage.js:1
1.../../shared/modules/provider-injection @ inpage.js:1
i @ inpage.js:1
e @ inpage.js:1
(anonymous) @ inpage.js:1
(anonymous) @ contentscript.js:1
1.../../shared/constants/app @ contentscript.js:1
i @ contentscript.js:1
e @ contentscript.js:1
(anonymous) @ contentscript.js:1
api.js:140 Uncaught (in promise) Error: Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.
    at getDocument (api.js:140:1)
    at Object.open (app.js:655:1)
    at index.js:97:31
getDocument @ api.js:140
open @ app.js:655
(anonymous) @ index.js:97
postMessage (async)
_postMessage @ inpage.js:1
_write @ inpage.js:1
_onData @ inpage.js:1
_onMessage @ inpage.js:1
postMessage (async)
_postMessage @ contentscript.js:1
_write @ contentscript.js:1
_handshake @ contentscript.js:1
l @ contentscript.js:1
(anonymous) @ contentscript.js:1
ie @ contentscript.js:1
1.../../shared/constants/app @ contentscript.js:1
i @ contentscript.js:1
e @ contentscript.js:1
(anonymous) @ contentscript.js:1
2api.js:140 Uncaught (in promise) Error: Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.
    at getDocument (api.js:140:1)
    at Object.open (app.js:655:1)
    at index.js:97:31
getDocument @ api.js:140
open @ app.js:655
(anonymous) @ index.js:97
postMessage (async)
_postMessage @ inpage.js:1
_write @ inpage.js:1
b @ inpage.js:1
_ @ inpage.js:1
v.uncork @ inpage.js:1
_onData @ inpage.js:1
_onMessage @ inpage.js:1
postMessage (async)
_postMessage @ contentscript.js:1
_write @ contentscript.js:1
_onData @ contentscript.js:1
_onMessage @ contentscript.js:1
postMessage (async)
_postMessage @ inpage.js:1
_write @ inpage.js:1
_handshake @ inpage.js:1
l @ inpage.js:1
(anonymous) @ inpage.js:1
(anonymous) @ inpage.js:1
1.../../shared/modules/provider-injection @ inpage.js:1
i @ inpage.js:1
e @ inpage.js:1
(anonymous) @ inpage.js:1
(anonymous) @ contentscript.js:1
1.../../shared/constants/app @ contentscript.js:1
i @ contentscript.js:1
e @ contentscript.js:1
(anonymous) @ contentscript.js:1
3api.js:140 Uncaught (in promise) Error: Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.
    at getDocument (api.js:140:1)
    at Object.open (app.js:655:1)
    at index.js:97:31

from sysreptor.

aronmolnar avatar aronmolnar commented on May 18, 2024

Can you try to run the rendering process in an incognito tab? Maybe there is some browser caching issue.

If this does not work, can you rebuild your containers by going to deploy and running docker compose -f docker-compose.yml build --no-cache --pull and docker compose -f docker-compose.yml up -d

(The output looks quite strange because the line numbers of the js files do not fit to the current or last version of pdfjs.)

from sysreptor.

richardschwabe avatar richardschwabe commented on May 18, 2024

Strange. It works in incognito. I ran the commands as well to rebuild it.

I will investigate further, seems to be a "my" issue.

from sysreptor.

aronmolnar avatar aronmolnar commented on May 18, 2024

I suspect that one of your JavaScript files of the old version was cached (but not in incognito mode).

We will have a look if we can resolve this issue on our side (e.g. by setting http headers).

from sysreptor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.