soca icon indicating copy to clipboard operation
soca copied to clipboard

invalid put json

Open FrancisVarga opened this issue 14 years ago • 3 comments

1> [error] [<0.3738.0>] attempted upload of invalid JSON (set log_level to debug to log it)

by => soca push

sry but i can't get more details...

tell me what u need...

FrancisVarga avatar Oct 19 '10 23:10 FrancisVarga

Hey Francis, did you figure this out?

soca push -d 

will give you more information. It could be that you have some non-text based content that you're trying to push outside of attachments. I'm working on giving better warnings in these situations.

quirkey avatar Oct 27 '10 23:10 quirkey

Hey aaron, thanks for your time here is my output =>

crackdude:BasCoreHomepage LittleBuddha87$ soca push -d creating db: http://localhost:5984/bas_core PUT http://localhost:5984/bas_core body: ... Response: 412 {"error":"file_exists","reason":"The database could not be created, the file already exists."}

running hook: before_build (/Users/LittleBuddha87/Projekte/Basilicom/BasCoreHomepage/hooks/before_build.rb) bundling js adding vendor dir to index js/vendor Bundling to js/default.js finished hook: before_build (/Users/LittleBuddha87/Projekte/Basilicom/BasCoreHomepage/hooks/before_build.rb) building app JSON getting current revision GET http://localhost:5984/bas_core/_design/brainfuck Response: 404 {"error":"not_found","reason":"missing"}

pushing document to http://localhost:5984/bas_core/_design/brainfuck PUT http://localhost:5984/bas_core/_design/brainfuck body: {"README.md":"","lib":{"ext":{"CHANGES.html":"\n

\n\tExt Releas ... Response: 0

FrancisVarga avatar Oct 27 '10 23:10 FrancisVarga

Ohhh another one my beam use 1.8GB RAM increase.

FrancisVarga avatar Oct 27 '10 23:10 FrancisVarga