You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by Andy Wenk <an...@nms.de> on 2014/01/08 00:23:09 UTC
CouchDB Plugins - no_erlang_checksum error
Hi,
I have watched and followed Jason's talk about CouchDB plugins at CouchConf
2013. Jason, thanks for the awesome talk.
As far as I understood, Jason did all that against the 1.5.0 master branch.
But I could not get it working and received the following error:
[info] [<0.117.0>] 127.0.0.1 - - GET
/plugins/first/my_first_couchdb_plugin-0.0.1-R16B03-1.5.0.tar.gz 404
[error] [<0.107.0>] [couch_plugins] Can't find checksum for Erlang Version
'R16B03'
[error] [<0.107.0>] Uncaught error in HTTP request: {error,
{badmatch,
{error,
no_erlang_checksum}}}
[info] [<0.107.0>] Stacktrace: [{couch_plugins,install,1,
[{file,"src/couch_plugins.erl"},
{line,34}]},
{couch_plugins_httpd,handle_req,1,
[{file,"src/couch_plugins_httpd.erl"},
{line,31}]},
{couch_httpd,handle_request_int,5,
[{file,"couch_httpd.erl"},{line,332}]},
{mochiweb_http,headers,5,
[{file,"mochiweb_http.erl"},{line,94}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,239}]}]
[info] [<0.107.0>] 127.0.0.1 - - POST /_plugins 500
[error] [<0.107.0>] httpd 500 error response:
{"error":"badmatch","reason":"{error,no_erlang_checksum}"}
Is this because I did not work against the 1867-feature-plugins branch
(actually it's called 1867-feature-plugins-jhs) like said in
my_first_couchdb_plugin/README or is that error caused by something else? I
recompiled the plugin to get another checksum and repeated everything but
still failing ...
Plugins are awesome :) I would like to get it running. Thanks for any
suggestions and help.
Cheers
Andy
--
Andy Wenk
Hamburg - Germany
RockIt!
http://www.couchdb-buch.de
http://www.pg-praxisbuch.de
GPG fingerprint: C044 8322 9E12 1483 4FEC 9452 B65D 6BE3 9ED3 9588
https://people.apache.org/keys/committer/andywenk.asc
Re: CouchDB Plugins - no_erlang_checksum error
Posted by Jan Lehnardt <ja...@apache.org>.
On 12 Jan 2014, at 01:29 , Andy Wenk <an...@nms.de> wrote:
> On 8 January 2014 16:12, Andy Wenk <an...@nms.de> wrote:
> On 8 January 2014 15:47, Jan Lehnardt <ja...@apache.org> wrote:
>
> On 08 Jan 2014, at 15:34 , Jan Lehnardt <ja...@apache.org> wrote:
>
> >
> > On 08 Jan 2014, at 15:00 , Andy Wenk <an...@nms.de> wrote:
> >
> >> On 8 January 2014 13:48, Jan Lehnardt <ja...@apache.org> wrote:
> >>
> >>>
> >>> On 08 Jan 2014, at 00:23 , Andy Wenk <an...@nms.de> wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> I have watched and followed Jason's talk about CouchDB plugins at
> >>> CouchConf
> >>>> 2013. Jason, thanks for the awesome talk.
> >>>>
> >>>> As far as I understood, Jason did all that against the 1.5.0 master
> >>> branch.
> >>>> But I could not get it working and received the following error:
> >>>>
> >>>> [info] [<0.117.0>] 127.0.0.1 - - GET
> >>>> /plugins/first/my_first_couchdb_plugin-0.0.1-R16B03-1.5.0.tar.gz 404
> >>>> [error] [<0.107.0>] [couch_plugins] Can't find checksum for Erlang
> >>> Version
> >>>> 'R16B03'
> >>>> [error] [<0.107.0>] Uncaught error in HTTP request: {error,
> >>>> {badmatch,
> >>>> {error,
> >>>>
> >>> no_erlang_checksum}}}
> >>>> [info] [<0.107.0>] Stacktrace: [{couch_plugins,install,1,
> >>>> [{file,"src/couch_plugins.erl"},
> >>>> {line,34}]},
> >>>> {couch_plugins_httpd,handle_req,1,
> >>>> [{file,"src/couch_plugins_httpd.erl"},
> >>>> {line,31}]},
> >>>> {couch_httpd,handle_request_int,5,
> >>>>
> >>> [{file,"couch_httpd.erl"},{line,332}]},
> >>>> {mochiweb_http,headers,5,
> >>>>
> >>> [{file,"mochiweb_http.erl"},{line,94}]},
> >>>> {proc_lib,init_p_do_apply,3,
> >>>> [{file,"proc_lib.erl"},{line,239}]}]
> >>>> [info] [<0.107.0>] 127.0.0.1 - - POST /_plugins 500
> >>>> [error] [<0.107.0>] httpd 500 error response:
> >>>> {"error":"badmatch","reason":"{error,no_erlang_checksum}"}
> >>>>
> >>>> Is this because I did not work against the 1867-feature-plugins branch
> >>>> (actually it's called 1867-feature-plugins-jhs) like said in
> >>>> my_first_couchdb_plugin/README or is that error caused by something
> >>> else? I
> >>>> recompiled the plugin to get another checksum and repeated everything but
> >>>> still failing ...
> >>>
> >>> master should be fine. Can you post your plugin specification somewhere?
> >>>
> >>
> >> plugin.json right?
> >>
> >> https://gist.github.com/andywenk/8317116
> >
> > Yup, and does this match the CouchDB installation you are trying to install this into?
> >
> > E.g. is it CouchDB 1.5.0 running on R16B02? :)
>
> And also, how do you start the plugin installation?
>
> erm - I did it the way Jason in his couchconf talk
>
> iirc basically uploading the generated tar.gz file into a doc as an attachment and then
>
> curl -XPOST -HContent-Type:application/json http://localhost:5984/_plugins -d @plugin.json
>
> I have tried this again, and now it's working. I have built against the wrong CouchDB version, hence Erlang version before.
>
> Thanks :)
Cool, glad it works :)
Best
Jan
--
Re: CouchDB Plugins - no_erlang_checksum error
Posted by Andy Wenk <an...@nms.de>.
On 8 January 2014 16:12, Andy Wenk <an...@nms.de> wrote:
> On 8 January 2014 15:47, Jan Lehnardt <ja...@apache.org> wrote:
>
>>
>> On 08 Jan 2014, at 15:34 , Jan Lehnardt <ja...@apache.org> wrote:
>>
>> >
>> > On 08 Jan 2014, at 15:00 , Andy Wenk <an...@nms.de> wrote:
>> >
>> >> On 8 January 2014 13:48, Jan Lehnardt <ja...@apache.org> wrote:
>> >>
>> >>>
>> >>> On 08 Jan 2014, at 00:23 , Andy Wenk <an...@nms.de> wrote:
>> >>>
>> >>>> Hi,
>> >>>>
>> >>>> I have watched and followed Jason's talk about CouchDB plugins at
>> >>> CouchConf
>> >>>> 2013. Jason, thanks for the awesome talk.
>> >>>>
>> >>>> As far as I understood, Jason did all that against the 1.5.0 master
>> >>> branch.
>> >>>> But I could not get it working and received the following error:
>> >>>>
>> >>>> [info] [<0.117.0>] 127.0.0.1 - - GET
>> >>>> /plugins/first/my_first_couchdb_plugin-0.0.1-R16B03-1.5.0.tar.gz 404
>> >>>> [error] [<0.107.0>] [couch_plugins] Can't find checksum for Erlang
>> >>> Version
>> >>>> 'R16B03'
>> >>>> [error] [<0.107.0>] Uncaught error in HTTP request: {error,
>> >>>> {badmatch,
>> >>>> {error,
>> >>>>
>> >>> no_erlang_checksum}}}
>> >>>> [info] [<0.107.0>] Stacktrace: [{couch_plugins,install,1,
>> >>>> [{file,"src/couch_plugins.erl"},
>> >>>> {line,34}]},
>> >>>> {couch_plugins_httpd,handle_req,1,
>> >>>>
>> [{file,"src/couch_plugins_httpd.erl"},
>> >>>> {line,31}]},
>> >>>> {couch_httpd,handle_request_int,5,
>> >>>>
>> >>> [{file,"couch_httpd.erl"},{line,332}]},
>> >>>> {mochiweb_http,headers,5,
>> >>>>
>> >>> [{file,"mochiweb_http.erl"},{line,94}]},
>> >>>> {proc_lib,init_p_do_apply,3,
>> >>>> [{file,"proc_lib.erl"},{line,239}]}]
>> >>>> [info] [<0.107.0>] 127.0.0.1 - - POST /_plugins 500
>> >>>> [error] [<0.107.0>] httpd 500 error response:
>> >>>> {"error":"badmatch","reason":"{error,no_erlang_checksum}"}
>> >>>>
>> >>>> Is this because I did not work against the 1867-feature-plugins
>> branch
>> >>>> (actually it's called 1867-feature-plugins-jhs) like said in
>> >>>> my_first_couchdb_plugin/README or is that error caused by something
>> >>> else? I
>> >>>> recompiled the plugin to get another checksum and repeated
>> everything but
>> >>>> still failing ...
>> >>>
>> >>> master should be fine. Can you post your plugin specification
>> somewhere?
>> >>>
>> >>
>> >> plugin.json right?
>> >>
>> >> https://gist.github.com/andywenk/8317116
>> >
>> > Yup, and does this match the CouchDB installation you are trying to
>> install this into?
>> >
>> > E.g. is it CouchDB 1.5.0 running on R16B02? :)
>>
>> And also, how do you start the plugin installation?
>>
>
> erm - I did it the way Jason in his couchconf talk
>
> iirc basically uploading the generated tar.gz file into a doc as an
> attachment and then
>
> curl -XPOST -HContent-Type:application/json http://localhost:5984/_plugins-d @plugin.json
>
I have tried this again, and now it's working. I have built against the
wrong CouchDB version, hence Erlang version before.
Thanks :)
Andy
--
Andy Wenk
Hamburg - Germany
RockIt!
http://www.couchdb-buch.de
http://www.pg-praxisbuch.de
GPG fingerprint: C044 8322 9E12 1483 4FEC 9452 B65D 6BE3 9ED3 9588
https://people.apache.org/keys/committer/andywenk.asc
Re: CouchDB Plugins - no_erlang_checksum error
Posted by Andy Wenk <an...@nms.de>.
On 8 January 2014 15:47, Jan Lehnardt <ja...@apache.org> wrote:
>
> On 08 Jan 2014, at 15:34 , Jan Lehnardt <ja...@apache.org> wrote:
>
> >
> > On 08 Jan 2014, at 15:00 , Andy Wenk <an...@nms.de> wrote:
> >
> >> On 8 January 2014 13:48, Jan Lehnardt <ja...@apache.org> wrote:
> >>
> >>>
> >>> On 08 Jan 2014, at 00:23 , Andy Wenk <an...@nms.de> wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> I have watched and followed Jason's talk about CouchDB plugins at
> >>> CouchConf
> >>>> 2013. Jason, thanks for the awesome talk.
> >>>>
> >>>> As far as I understood, Jason did all that against the 1.5.0 master
> >>> branch.
> >>>> But I could not get it working and received the following error:
> >>>>
> >>>> [info] [<0.117.0>] 127.0.0.1 - - GET
> >>>> /plugins/first/my_first_couchdb_plugin-0.0.1-R16B03-1.5.0.tar.gz 404
> >>>> [error] [<0.107.0>] [couch_plugins] Can't find checksum for Erlang
> >>> Version
> >>>> 'R16B03'
> >>>> [error] [<0.107.0>] Uncaught error in HTTP request: {error,
> >>>> {badmatch,
> >>>> {error,
> >>>>
> >>> no_erlang_checksum}}}
> >>>> [info] [<0.107.0>] Stacktrace: [{couch_plugins,install,1,
> >>>> [{file,"src/couch_plugins.erl"},
> >>>> {line,34}]},
> >>>> {couch_plugins_httpd,handle_req,1,
> >>>>
> [{file,"src/couch_plugins_httpd.erl"},
> >>>> {line,31}]},
> >>>> {couch_httpd,handle_request_int,5,
> >>>>
> >>> [{file,"couch_httpd.erl"},{line,332}]},
> >>>> {mochiweb_http,headers,5,
> >>>>
> >>> [{file,"mochiweb_http.erl"},{line,94}]},
> >>>> {proc_lib,init_p_do_apply,3,
> >>>> [{file,"proc_lib.erl"},{line,239}]}]
> >>>> [info] [<0.107.0>] 127.0.0.1 - - POST /_plugins 500
> >>>> [error] [<0.107.0>] httpd 500 error response:
> >>>> {"error":"badmatch","reason":"{error,no_erlang_checksum}"}
> >>>>
> >>>> Is this because I did not work against the 1867-feature-plugins branch
> >>>> (actually it's called 1867-feature-plugins-jhs) like said in
> >>>> my_first_couchdb_plugin/README or is that error caused by something
> >>> else? I
> >>>> recompiled the plugin to get another checksum and repeated everything
> but
> >>>> still failing ...
> >>>
> >>> master should be fine. Can you post your plugin specification
> somewhere?
> >>>
> >>
> >> plugin.json right?
> >>
> >> https://gist.github.com/andywenk/8317116
> >
> > Yup, and does this match the CouchDB installation you are trying to
> install this into?
> >
> > E.g. is it CouchDB 1.5.0 running on R16B02? :)
>
> And also, how do you start the plugin installation?
>
erm - I did it the way Jason in his couchconf talk
iirc basically uploading the generated tar.gz file into a doc as an
attachment and then
curl -XPOST -HContent-Type:application/json
http://localhost:5984/_plugins-d @plugin.json
--
Andy Wenk
Hamburg - Germany
RockIt!
http://www.couchdb-buch.de
http://www.pg-praxisbuch.de
GPG fingerprint: C044 8322 9E12 1483 4FEC 9452 B65D 6BE3 9ED3 9588
https://people.apache.org/keys/committer/andywenk.asc
Re: CouchDB Plugins - no_erlang_checksum error
Posted by Jan Lehnardt <ja...@apache.org>.
On 08 Jan 2014, at 15:34 , Jan Lehnardt <ja...@apache.org> wrote:
>
> On 08 Jan 2014, at 15:00 , Andy Wenk <an...@nms.de> wrote:
>
>> On 8 January 2014 13:48, Jan Lehnardt <ja...@apache.org> wrote:
>>
>>>
>>> On 08 Jan 2014, at 00:23 , Andy Wenk <an...@nms.de> wrote:
>>>
>>>> Hi,
>>>>
>>>> I have watched and followed Jason's talk about CouchDB plugins at
>>> CouchConf
>>>> 2013. Jason, thanks for the awesome talk.
>>>>
>>>> As far as I understood, Jason did all that against the 1.5.0 master
>>> branch.
>>>> But I could not get it working and received the following error:
>>>>
>>>> [info] [<0.117.0>] 127.0.0.1 - - GET
>>>> /plugins/first/my_first_couchdb_plugin-0.0.1-R16B03-1.5.0.tar.gz 404
>>>> [error] [<0.107.0>] [couch_plugins] Can't find checksum for Erlang
>>> Version
>>>> 'R16B03'
>>>> [error] [<0.107.0>] Uncaught error in HTTP request: {error,
>>>> {badmatch,
>>>> {error,
>>>>
>>> no_erlang_checksum}}}
>>>> [info] [<0.107.0>] Stacktrace: [{couch_plugins,install,1,
>>>> [{file,"src/couch_plugins.erl"},
>>>> {line,34}]},
>>>> {couch_plugins_httpd,handle_req,1,
>>>> [{file,"src/couch_plugins_httpd.erl"},
>>>> {line,31}]},
>>>> {couch_httpd,handle_request_int,5,
>>>>
>>> [{file,"couch_httpd.erl"},{line,332}]},
>>>> {mochiweb_http,headers,5,
>>>>
>>> [{file,"mochiweb_http.erl"},{line,94}]},
>>>> {proc_lib,init_p_do_apply,3,
>>>> [{file,"proc_lib.erl"},{line,239}]}]
>>>> [info] [<0.107.0>] 127.0.0.1 - - POST /_plugins 500
>>>> [error] [<0.107.0>] httpd 500 error response:
>>>> {"error":"badmatch","reason":"{error,no_erlang_checksum}"}
>>>>
>>>> Is this because I did not work against the 1867-feature-plugins branch
>>>> (actually it's called 1867-feature-plugins-jhs) like said in
>>>> my_first_couchdb_plugin/README or is that error caused by something
>>> else? I
>>>> recompiled the plugin to get another checksum and repeated everything but
>>>> still failing ...
>>>
>>> master should be fine. Can you post your plugin specification somewhere?
>>>
>>
>> plugin.json right?
>>
>> https://gist.github.com/andywenk/8317116
>
> Yup, and does this match the CouchDB installation you are trying to install this into?
>
> E.g. is it CouchDB 1.5.0 running on R16B02? :)
And also, how do you start the plugin installation?
>
> Best
> Jan
> --
>
>>
>> Thanks!
>>
>> Cheers
>>
>> Andy
>>
>> --
>> Andy Wenk
>> Hamburg - Germany
>> RockIt!
>>
>> http://www.couchdb-buch.de
>> http://www.pg-praxisbuch.de
>>
>> GPG fingerprint: C044 8322 9E12 1483 4FEC 9452 B65D 6BE3 9ED3 9588
>>
>> https://people.apache.org/keys/committer/andywenk.asc
Re: CouchDB Plugins - no_erlang_checksum error
Posted by Andy Wenk <an...@nms.de>.
On 8 January 2014 15:34, Jan Lehnardt <ja...@apache.org> wrote:
>
> On 08 Jan 2014, at 15:00 , Andy Wenk <an...@nms.de> wrote:
>
> > On 8 January 2014 13:48, Jan Lehnardt <ja...@apache.org> wrote:
> >
> >>
> >> On 08 Jan 2014, at 00:23 , Andy Wenk <an...@nms.de> wrote:
> >>
> >>> Hi,
> >>>
> >>> I have watched and followed Jason's talk about CouchDB plugins at
> >> CouchConf
> >>> 2013. Jason, thanks for the awesome talk.
> >>>
> >>> As far as I understood, Jason did all that against the 1.5.0 master
> >> branch.
> >>> But I could not get it working and received the following error:
> >>>
> >>> [info] [<0.117.0>] 127.0.0.1 - - GET
> >>> /plugins/first/my_first_couchdb_plugin-0.0.1-R16B03-1.5.0.tar.gz 404
> >>> [error] [<0.107.0>] [couch_plugins] Can't find checksum for Erlang
> >> Version
> >>> 'R16B03'
> >>> [error] [<0.107.0>] Uncaught error in HTTP request: {error,
> >>> {badmatch,
> >>> {error,
> >>>
> >> no_erlang_checksum}}}
> >>> [info] [<0.107.0>] Stacktrace: [{couch_plugins,install,1,
> >>> [{file,"src/couch_plugins.erl"},
> >>> {line,34}]},
> >>> {couch_plugins_httpd,handle_req,1,
> >>>
> [{file,"src/couch_plugins_httpd.erl"},
> >>> {line,31}]},
> >>> {couch_httpd,handle_request_int,5,
> >>>
> >> [{file,"couch_httpd.erl"},{line,332}]},
> >>> {mochiweb_http,headers,5,
> >>>
> >> [{file,"mochiweb_http.erl"},{line,94}]},
> >>> {proc_lib,init_p_do_apply,3,
> >>> [{file,"proc_lib.erl"},{line,239}]}]
> >>> [info] [<0.107.0>] 127.0.0.1 - - POST /_plugins 500
> >>> [error] [<0.107.0>] httpd 500 error response:
> >>> {"error":"badmatch","reason":"{error,no_erlang_checksum}"}
> >>>
> >>> Is this because I did not work against the 1867-feature-plugins branch
> >>> (actually it's called 1867-feature-plugins-jhs) like said in
> >>> my_first_couchdb_plugin/README or is that error caused by something
> >> else? I
> >>> recompiled the plugin to get another checksum and repeated everything
> but
> >>> still failing ...
> >>
> >> master should be fine. Can you post your plugin specification somewhere?
> >>
> >
> > plugin.json right?
> >
> > https://gist.github.com/andywenk/8317116
>
> Yup, and does this match the CouchDB installation you are trying to
> install this into?
>
> E.g. is it CouchDB 1.5.0 running on R16B02? :)
>
that's the question I was asking myself yesterday night ... I will examine
this but I guess that is the problem! I will report later ...
Thanks Jan :)
--
Andy Wenk
Hamburg - Germany
RockIt!
http://www.couchdb-buch.de
http://www.pg-praxisbuch.de
GPG fingerprint: C044 8322 9E12 1483 4FEC 9452 B65D 6BE3 9ED3 9588
https://people.apache.org/keys/committer/andywenk.asc
Re: CouchDB Plugins - no_erlang_checksum error
Posted by Jan Lehnardt <ja...@apache.org>.
On 08 Jan 2014, at 15:00 , Andy Wenk <an...@nms.de> wrote:
> On 8 January 2014 13:48, Jan Lehnardt <ja...@apache.org> wrote:
>
>>
>> On 08 Jan 2014, at 00:23 , Andy Wenk <an...@nms.de> wrote:
>>
>>> Hi,
>>>
>>> I have watched and followed Jason's talk about CouchDB plugins at
>> CouchConf
>>> 2013. Jason, thanks for the awesome talk.
>>>
>>> As far as I understood, Jason did all that against the 1.5.0 master
>> branch.
>>> But I could not get it working and received the following error:
>>>
>>> [info] [<0.117.0>] 127.0.0.1 - - GET
>>> /plugins/first/my_first_couchdb_plugin-0.0.1-R16B03-1.5.0.tar.gz 404
>>> [error] [<0.107.0>] [couch_plugins] Can't find checksum for Erlang
>> Version
>>> 'R16B03'
>>> [error] [<0.107.0>] Uncaught error in HTTP request: {error,
>>> {badmatch,
>>> {error,
>>>
>> no_erlang_checksum}}}
>>> [info] [<0.107.0>] Stacktrace: [{couch_plugins,install,1,
>>> [{file,"src/couch_plugins.erl"},
>>> {line,34}]},
>>> {couch_plugins_httpd,handle_req,1,
>>> [{file,"src/couch_plugins_httpd.erl"},
>>> {line,31}]},
>>> {couch_httpd,handle_request_int,5,
>>>
>> [{file,"couch_httpd.erl"},{line,332}]},
>>> {mochiweb_http,headers,5,
>>>
>> [{file,"mochiweb_http.erl"},{line,94}]},
>>> {proc_lib,init_p_do_apply,3,
>>> [{file,"proc_lib.erl"},{line,239}]}]
>>> [info] [<0.107.0>] 127.0.0.1 - - POST /_plugins 500
>>> [error] [<0.107.0>] httpd 500 error response:
>>> {"error":"badmatch","reason":"{error,no_erlang_checksum}"}
>>>
>>> Is this because I did not work against the 1867-feature-plugins branch
>>> (actually it's called 1867-feature-plugins-jhs) like said in
>>> my_first_couchdb_plugin/README or is that error caused by something
>> else? I
>>> recompiled the plugin to get another checksum and repeated everything but
>>> still failing ...
>>
>> master should be fine. Can you post your plugin specification somewhere?
>>
>
> plugin.json right?
>
> https://gist.github.com/andywenk/8317116
Yup, and does this match the CouchDB installation you are trying to install this into?
E.g. is it CouchDB 1.5.0 running on R16B02? :)
Best
Jan
--
>
> Thanks!
>
> Cheers
>
> Andy
>
> --
> Andy Wenk
> Hamburg - Germany
> RockIt!
>
> http://www.couchdb-buch.de
> http://www.pg-praxisbuch.de
>
> GPG fingerprint: C044 8322 9E12 1483 4FEC 9452 B65D 6BE3 9ED3 9588
>
> https://people.apache.org/keys/committer/andywenk.asc
Re: CouchDB Plugins - no_erlang_checksum error
Posted by Andy Wenk <an...@nms.de>.
On 8 January 2014 13:48, Jan Lehnardt <ja...@apache.org> wrote:
>
> On 08 Jan 2014, at 00:23 , Andy Wenk <an...@nms.de> wrote:
>
> > Hi,
> >
> > I have watched and followed Jason's talk about CouchDB plugins at
> CouchConf
> > 2013. Jason, thanks for the awesome talk.
> >
> > As far as I understood, Jason did all that against the 1.5.0 master
> branch.
> > But I could not get it working and received the following error:
> >
> > [info] [<0.117.0>] 127.0.0.1 - - GET
> > /plugins/first/my_first_couchdb_plugin-0.0.1-R16B03-1.5.0.tar.gz 404
> > [error] [<0.107.0>] [couch_plugins] Can't find checksum for Erlang
> Version
> > 'R16B03'
> > [error] [<0.107.0>] Uncaught error in HTTP request: {error,
> > {badmatch,
> > {error,
> >
> no_erlang_checksum}}}
> > [info] [<0.107.0>] Stacktrace: [{couch_plugins,install,1,
> > [{file,"src/couch_plugins.erl"},
> > {line,34}]},
> > {couch_plugins_httpd,handle_req,1,
> > [{file,"src/couch_plugins_httpd.erl"},
> > {line,31}]},
> > {couch_httpd,handle_request_int,5,
> >
> [{file,"couch_httpd.erl"},{line,332}]},
> > {mochiweb_http,headers,5,
> >
> [{file,"mochiweb_http.erl"},{line,94}]},
> > {proc_lib,init_p_do_apply,3,
> > [{file,"proc_lib.erl"},{line,239}]}]
> > [info] [<0.107.0>] 127.0.0.1 - - POST /_plugins 500
> > [error] [<0.107.0>] httpd 500 error response:
> > {"error":"badmatch","reason":"{error,no_erlang_checksum}"}
> >
> > Is this because I did not work against the 1867-feature-plugins branch
> > (actually it's called 1867-feature-plugins-jhs) like said in
> > my_first_couchdb_plugin/README or is that error caused by something
> else? I
> > recompiled the plugin to get another checksum and repeated everything but
> > still failing ...
>
> master should be fine. Can you post your plugin specification somewhere?
>
plugin.json right?
https://gist.github.com/andywenk/8317116
Thanks!
Cheers
Andy
--
Andy Wenk
Hamburg - Germany
RockIt!
http://www.couchdb-buch.de
http://www.pg-praxisbuch.de
GPG fingerprint: C044 8322 9E12 1483 4FEC 9452 B65D 6BE3 9ED3 9588
https://people.apache.org/keys/committer/andywenk.asc
Re: CouchDB Plugins - no_erlang_checksum error
Posted by Jan Lehnardt <ja...@apache.org>.
On 08 Jan 2014, at 00:23 , Andy Wenk <an...@nms.de> wrote:
> Hi,
>
> I have watched and followed Jason's talk about CouchDB plugins at CouchConf
> 2013. Jason, thanks for the awesome talk.
>
> As far as I understood, Jason did all that against the 1.5.0 master branch.
> But I could not get it working and received the following error:
>
> [info] [<0.117.0>] 127.0.0.1 - - GET
> /plugins/first/my_first_couchdb_plugin-0.0.1-R16B03-1.5.0.tar.gz 404
> [error] [<0.107.0>] [couch_plugins] Can't find checksum for Erlang Version
> 'R16B03'
> [error] [<0.107.0>] Uncaught error in HTTP request: {error,
> {badmatch,
> {error,
> no_erlang_checksum}}}
> [info] [<0.107.0>] Stacktrace: [{couch_plugins,install,1,
> [{file,"src/couch_plugins.erl"},
> {line,34}]},
> {couch_plugins_httpd,handle_req,1,
> [{file,"src/couch_plugins_httpd.erl"},
> {line,31}]},
> {couch_httpd,handle_request_int,5,
> [{file,"couch_httpd.erl"},{line,332}]},
> {mochiweb_http,headers,5,
> [{file,"mochiweb_http.erl"},{line,94}]},
> {proc_lib,init_p_do_apply,3,
> [{file,"proc_lib.erl"},{line,239}]}]
> [info] [<0.107.0>] 127.0.0.1 - - POST /_plugins 500
> [error] [<0.107.0>] httpd 500 error response:
> {"error":"badmatch","reason":"{error,no_erlang_checksum}"}
>
> Is this because I did not work against the 1867-feature-plugins branch
> (actually it's called 1867-feature-plugins-jhs) like said in
> my_first_couchdb_plugin/README or is that error caused by something else? I
> recompiled the plugin to get another checksum and repeated everything but
> still failing ...
master should be fine. Can you post your plugin specification somewhere?
Jan
--
>
> Plugins are awesome :) I would like to get it running. Thanks for any
> suggestions and help.