Re: get document = unknown_error undef

2010-03-19 Thread Jan Lehnardt
Can you set the log level to debug and show the trace for the config page again? Cheers Jan -- On 18 Mar 2010, at 21:21, John Merrells wrote: On Mar 18, 2010, at 5:48 PM, J Chris Anderson wrote: I got the file, and

get document = unknown_error undef

2010-03-18 Thread John Merrells
Hello I wrote a bunch of documents into couch and one of them can't be read back. I can see it in the list of documents in Futon, but when I click through to look at it there's an error. This is the url to the document. http://127.0.0.1:6095/pages/http://foodbazaar.info/recipes This is what

Re: get document = unknown_error undef

2010-03-18 Thread Brian Candler
On Thu, Mar 18, 2010 at 01:49:51PM -0700, John Merrells wrote: This is the url to the document. http://127.0.0.1:6095/pages/http://foodbazaar.info/recipes Erm, which part is the document _id? If it's http://foodbazaar.info/recipes; then you'll need to URL-encode those slashes into %2F's, and

Re: get document = unknown_error undef

2010-03-18 Thread John Merrells
On Mar 18, 2010, at 1:57 PM, Brian Candler wrote: On Thu, Mar 18, 2010 at 01:49:51PM -0700, John Merrells wrote: This is the url to the document. http://127.0.0.1:6095/pages/http://foodbazaar.info/recipes Erm, which part is the document _id? If it's http://foodbazaar.info/recipes;

Re: get document = unknown_error undef

2010-03-18 Thread J Chris Anderson
On Mar 18, 2010, at 2:07 PM, John Merrells wrote: On Mar 18, 2010, at 1:57 PM, Brian Candler wrote: On Thu, Mar 18, 2010 at 01:49:51PM -0700, John Merrells wrote: This is the url to the document. http://127.0.0.1:6095/pages/http://foodbazaar.info/recipes Erm, which part is the

Re: get document = unknown_error undef

2010-03-18 Thread John Merrells
On Mar 18, 2010, at 4:41 PM, J Chris Anderson wrote: If you raise the log level to debug (via local.ini or the Futon config page) you should get a stacktrace which might help. Good tip. Thanks. Stack trace below. So, it looks like I have a problematical document attribute value.

Re: get document = unknown_error undef

2010-03-18 Thread J Chris Anderson
On Mar 18, 2010, at 5:09 PM, John Merrells wrote: On Mar 18, 2010, at 4:41 PM, J Chris Anderson wrote: If you raise the log level to debug (via local.ini or the Futon config page) you should get a stacktrace which might help. Good tip. Thanks. Stack trace below. So, it looks

Re: get document = unknown_error undef

2010-03-18 Thread John Merrells
On Mar 18, 2010, at 5:19 PM, J Chris Anderson wrote: It's hard to tell exactly from here. Does removing ?revs_info=true from the URL string help? I don't actually send that... so that kinda gets added along the way actually. You could add more debug logging to the couch_httpd:send_json

Re: get document = unknown_error undef

2010-03-18 Thread J Chris Anderson
On Mar 18, 2010, at 5:25 PM, John Merrells wrote: On Mar 18, 2010, at 5:19 PM, J Chris Anderson wrote: It's hard to tell exactly from here. Does removing ?revs_info=true from the URL string help? I don't actually send that... so that kinda gets added along the way actually. You

Re: get document = unknown_error undef

2010-03-18 Thread John Merrells
On Mar 18, 2010, at 5:48 PM, J Chris Anderson wrote: I got the file, and http://localhost:5984/pages/http%3A%2F%2Ffoodbazaar.info%2Frecipes?revs_info=true works for me on my machine. (current CouchDB trunk and the 0.10.x branch) It shouldn't be a bad ICU as that is not invoked except by