【问题标题】:Issue with JAVASCRIPT SDK for EVERNOTEEVERNOTE 的 JAVASCRIPT SDK 问题
【发布时间】:2017-09-01 16:02:13
【问题描述】:

我正在开发evernote javascript SDK [evernote@2.0.1-beta],在我尝试进行以下调用之前一切正常::

 noteStore.getNoteWithResultSpec(guid, {includeContent:true, includeResourcesData: true})

当我在 Evernote 上的笔记包含二进制数据时,调用此函数 getNoteWithResultSpecfails [img / pdf] 等但是如果我的笔记只包含文本数据 [没有 img / pdf] 那么这个功能可以正常工作。

控制台显示如下 ::

 evernote/node_modules/evernote/lib/thrift/transport/memBuffer.js:32
    if (this.offset + len > this.buffer.length) throw Error('MemBuffer overrun');
                                                ^

Error: MemBuffer overrun
    at Error (native)
    at MemBuffer.read (/evernote/node_modules/evernote/lib/thrift/transport/memBuffer.js:32:55)
    at BinaryProtocol.readBinary (/evernote/node_modules/evernote/lib/thrift/protocol/binaryProto
col.js:327:29)
    at BinaryProtocol.readType (/evernote/node_modules/evernote/lib/thrift/protocol/binaryProtoco
l.js:355:25)
    at Object.Thrift.Struct.readFields (/evernote/node_modules/evernote/lib/thrift/thrift.js:505:
49)
    at Thrift.Struct.read (/evernote/node_modules/evernote/lib/thrift/thrift.js:485:19)

【问题讨论】:

    标签: javascript evernote


    【解决方案1】:

    不是完全相同的问题,但this 看起来很相似。我建议你在 Github 上创建一个新问题,以便处理它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-07-07
      • 1970-01-01
      • 2015-08-26
      • 1970-01-01
      相关资源
      最近更新 更多