hugodecasta / zrmconnector Goto Github PK
View Code? Open in Web Editor NEWZotero / ReMarkable connector
License: MIT License
Zotero / ReMarkable connector
License: MIT License
Hi,
I get this error message just after entering my one-time remarkable code. Any idea why?
Thanks in advance,
ReMarkable credentials Error
/Users/amaurygouverneur/MyDocuments/KTH/Research/zotero_remarkable_connector/ZRMconnector/node_modules/node-fetch/lib/index.js:683
throw new TypeError(${value} is not a legal HTTP header value
);
^
TypeError: Bearer <!doctype html><title>reMarkable</title><script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
I ran "node ." and got the following error:
`ZRMconnector/connector.js:102
let paper = papers[title] ?? { title }
^
SyntaxError: Unexpected token ?
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/home/aos11409/ZRMconnector/index.js:4:19)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)`
I'm unsure if this is my fault in setting up the connectors.json or if this is a error in the main code. Any ideas?
using the following config
{
"zotero_1": {
"remarkable_dir": "/zot",
"remarkable_archive_dir": "bin'",
"zotero_path": [
{
"type": "collection",
"name": "RM"
}
],
"tags": {
"me - toread": "2READ",
"me - reading": "READING",
"me - done": "READ"
}
}
}
resulted in the following error after providing a new one-time-code
❯ node .
[SYSTEM]::launch of ZRMc system v0.4.2
[CONN:zotero_1]::setup local_directories /zot
CREDENTIAL NEEDED - ReMarkable One Time Code: ixslwrza
ReMarkable credentials Error
/Users/faro/repositories/ZRMconnector/node_modules/node-fetch/lib/index.js:1461
reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
^
FetchError: request to https://doesnotexist.remarkable.com/ failed, reason: getaddrinfo ENOTFOUND doesnotexist.remarkable.com
at ClientRequest.<anonymous> (/Users/faro/repositories/ZRMconnector/node_modules/node-fetch/lib/index.js:1461:11)
at ClientRequest.emit (node:events:365:28)
at TLSSocket.socketErrorListener (node:_http_client:447:9)
at TLSSocket.emit (node:events:365:28)
at emitErrorNT (node:internal/streams/destroy:193:8)
at emitErrorCloseNT (node:internal/streams/destroy:158:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
type: 'system',
errno: 'ENOTFOUND',
code: 'ENOTFOUND'
}
any idea?
Hi,
The reMarkable website has changed, and I don't find means to get a reMarkable one time code.
Thanks for your works
VR
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.