Code Monkey home page Code Monkey logo

Comments (9)

chris-aeviator avatar chris-aeviator commented on May 22, 2024 1

@thomasbrueggemann
yes this solved my initial issue.

Will work on debugging the initial problem on this (#33) issue now since I switched from OSX to arch on my mac and would still like to use paperless desktop.

from paperless-desktop.

chris-aeviator avatar chris-aeviator commented on May 22, 2024 1

@thomasbrueggemann

Sure – I started the Dev Tools (through the menu as far as I remember) and used the Application Tab to access the localstorage engines of the electron app.

image
(Screenshot taken from Chromium not Electron, should be the same)

from paperless-desktop.

thomasbrueggemann avatar thomasbrueggemann commented on May 22, 2024

Hey, I can't garantuee this to run on anything else but macOS at the moment. But what you could do is open paperless-desktop, open the settings view (the little gear-icon) and there open the developer tools window. Then, try to open a document and see if there is an error logged in the devtools console window.

Feel free to post the error here!

from paperless-desktop.

rototom avatar rototom commented on May 22, 2024

No error shown....

from paperless-desktop.

chris-aeviator avatar chris-aeviator commented on May 22, 2024

I'm experiencing the same issue on osx. I tried this first with a local installation of paperless (through docker compose) which was a http (local) server. When deploying to my live environment and using https url in paperless desktop ( https goes through nginx reverse proxy to the same http only endpoint but on the live server)

The preview in pl-desktop works just fine, but when opening a document the UI dialog errors out with Could not load document! - please try again

When looking into dev tools the only error shown is TypeError: Cannot read property 'replace' of undefined(…) which happens after closing the beforementioned dialog

from paperless-desktop.

chris-aeviator avatar chris-aeviator commented on May 22, 2024

Looks like it does not have anything to do with paperless-desktop itself as my api endpoint to get a single doc does not respond to the auth header send (sends me to login page) - so it's an issue with paperless itself (at least for my issue).

EDIT

after fixing the api endpoint the problem stays - can't open a document

EDIT 2
after clearing cache & localstorage in the electron dev tools I was able to access the document since the redirect was still cached

from paperless-desktop.

thomasbrueggemann avatar thomasbrueggemann commented on May 22, 2024

@chris-aeviator Cool that you dug deeper into the issue. I saw that you already opened an issue in the paperless repository.

@rototom Could this resolve your initial issue as well?

from paperless-desktop.

rototom avatar rototom commented on May 22, 2024

unfortunatly I have no idea what to do...

from paperless-desktop.

thomasbrueggemann avatar thomasbrueggemann commented on May 22, 2024

@chris-aeviator Could you share the commands you used in the electron dev tools to clear the cache and localstorage? This might help @rototom with his problem as well.

For the future I can imagine adding a "reset" button within the settings page of the app for this very purpose.

from paperless-desktop.

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.