Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: toString failed #18

Open
sebseb30 opened this issue Dec 2, 2016 · 1 comment
Open

Error: toString failed #18

sebseb30 opened this issue Dec 2, 2016 · 1 comment

Comments

@sebseb30
Copy link

sebseb30 commented Dec 2, 2016

Hi,

I try to dump a big CouchDB base with attachments and I have some problem with this message
It seems depend about the split size I take ...
And when I try to import with pouchdb-load it failed ...

If anywone can help :)

Thanks

Message :

Dumping 5604 docs, [                                        ] 0% 22656.8mbuffer.
js:379
    throw new Error('toString failed');
    ^

Error: toString failed
    at Buffer.toString (buffer.js:379:11)
    at BufferList.toString (C:\Users\SEBROU.DOMEMI02\AppData\Roaming\npm\node_mo
dules\pouchdb-dump-cli\node_modules\request\node_modules\bl\bl.js:178:33)
    at Request.<anonymous> (C:\Users\SEBROU.DOMEMI02\AppData\Roaming\npm\node_mo
dules\pouchdb-dump-cli\node_modules\request\request.js:1042:32)
    at emitOne (events.js:82:20)
    at Request.emit (events.js:169:7)
    at IncomingMessage.<anonymous> (C:\Users\SEBROU.DOMEMI02\AppData\Roaming\npm
\node_modules\pouchdb-dump-cli\node_modules\request\request.js:988:12)
    at emitNone (events.js:72:20)
    at IncomingMessage.emit (events.js:166:7)
    at endReadableNT (_stream_readable.js:913:12)
    at nextTickCallbackWith2Args (node.js:442:9)
@nolanlawson
Copy link
Member

Hi, do you have a test case to reproduce? Otherwise it's hard to tell what needs to be fixed...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants