Giter VIP home page Giter VIP logo

Comments (12)

thiswillbeyourgithub avatar thiswillbeyourgithub commented on June 25, 2024 1

Hi, I have the same feeling. I feel bad creating issues with no logs nor ideas of what went wrong.

I support the idea of improving the logging situation!

from logseq-omnivore.

jacksonh avatar jacksonh commented on June 25, 2024 1

Hey first, thanks for the great plugin. Unfortunatly, since recently I can't sync my articles anymore, and the error I get is failed to fetch articles There was no change in the API key, just a little update to have date-read in my template. But even returning to the previous version of the template, the sync doesn't work. How can I check, what's going on?

hi, in logseq you can go "View" -> "Toggle Developer Tools"

from logseq-omnivore.

richd67 avatar richd67 commented on June 25, 2024 1

Another Logseq user here with the same problem, no sync for the last 6 days or so? No changes on my side?

from logseq-omnivore.

marcfree avatar marcfree commented on June 25, 2024

Hi, thanks for the advice with the developer tools.
So I've enabled the developer tools and found a log file which says exactly nothing. I've updated to config for Omnivore, and requested the articles - and there is just nothing in the logs.
I found the file main.log right here:
/Users/xy/Library/Logs/Logseq
and here is the content:
main2.log
Spoiler: not one line for Omnivore :(

from logseq-omnivore.

thiswillbeyourgithub avatar thiswillbeyourgithub commented on June 25, 2024

(For the record I was already aware of the way to toggle the developper tools but, finding nothing useful for the omnivore plugin, I came to the conclusion that adding a few debug prints would be useful)

from logseq-omnivore.

jacksonh avatar jacksonh commented on June 25, 2024

Hi, thanks for the advice with the developer tools. So I've enabled the developer tools and found a log file which says exactly nothing. I've updated to config for Omnivore, and requested the articles - and there is just nothing in the logs. I found the file main.log right here: /Users/xy/Library/Logs/Logseq and here is the content: main2.log Spoiler: not one line for Omnivore :(

Hi, there should be a console that is printed to in the developer tools. Something like this:

Screenshot 2024-04-24 at 12 44 24

from logseq-omnivore.

marcfree avatar marcfree commented on June 25, 2024

Hi Jackson, thanks again for your help.
In Logseg I can't find such a console. There are also no commands in the command list or menus ;( (have looked for DEV, Error, Entwickler (DEV in German :) ), failure etc.
Any other idea ?
Thanks, Marc

from logseq-omnivore.

marcfree avatar marcfree commented on June 25, 2024

I just played around with Wireshark, to figure out, what's going on. And it seems to me, just absolutely nothing.
1st) I tried using the Omnivore-App on MacOS. It calls up the API like desired and fetches the article I've chosen.
2nd) I start LogSeq, and there is no visible package addressed to the API of Omnivore and as such, no error message.
To be sure, I tried yesterday, and had another try today - same result. No outgoing API Call from Logseq-omnivore plugin :(

from logseq-omnivore.

marcfree avatar marcfree commented on June 25, 2024

So, today I have had again a look into this topic. I guess it's a user error (at least on my side).
I've recently added a new field in my template for new articles. I pretty sure, it has worked until a previous version, as I wasn't aware of this behaviour. Here's what happened:
First: I found the development console in the Mac Version of Logseq is triggered by Command-Option-I. So, I've acitivated Dev-Mode, and started the Dev-Console. Finally, I pressed the "Omnivore" button in Legseq.
The console showed then an error, saying
image

So, then I had a look here:
https://docs.omnivore.app/integrations/logseq.html#controlling-the-layout-of-the-data-imported-to-logseq
While it was not the first time, I found, that there is different handling for variables and sections - wasn't aware of this. So, I've removed the sections for date-saved, published and read - and voila - Omnivore is syncing again 👍
Section:
{{#labels.length}} labels:: {{#labels}}[[{{{name}}}]] {{/labels}} {{/labels.length}}
Fields:
date-saved:: {{{dateSaved}}} date-published:: {{{datePublished}}} date-read:: {{{dateRead}}}

from logseq-omnivore.

thiswillbeyourgithub avatar thiswillbeyourgithub commented on June 25, 2024

Sadly this is the not case for me. And I still have the plugin disabled on startup, for no reason that left something in the log.

from logseq-omnivore.

richd67 avatar richd67 commented on June 25, 2024

Still not working for me??

from logseq-omnivore.

jacksonh avatar jacksonh commented on June 25, 2024

Hi Jackson, thanks again for your help. In Logseg I can't find such a console. There are also no commands in the command list or menus ;( (have looked for DEV, Error, Entwickler (DEV in German :) ), failure etc. Any other idea ? Thanks, Marc

Hey here is a video: https://www.loom.com/share/d404390368e6434db572dc2d837bd4cc

from logseq-omnivore.

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.