You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by bryan rasmussen <ra...@gmail.com> on 2013/03/23 18:24:58 UTC

attachments can't be found in couchapp?

Hi,

I'm trying to run the CouchDB-Kanban-Board app, when I do
erica init
erica push kanban

and I go to 127.0.0.1:5984/kanban/_design/kanbancouch/ the index.html
is found fine but all the attachments return
{"error":"not_found","reason":"Document is missing attachment"}

for example http://127.0.0.1:5984/kanban/_design/kanbancouch/vendor/couchdb/loader.js
although when I look at
http://localhost:5984/_utils/document.html?kanban/_design/kanbancouch
then the vendor field has an object containing
backbone
couchdb
jquery.utils
jqueryui
mustache
plots
protovis
and couchdb has an object _attachments with a loader field in it.

this is my first try with couchapps, normally I just use couchdb as a
backend db.

thanks,
Bryan Rasmussen

Re: attachments can't be found in couchapp?

Posted by Simon Metson <si...@cloudant.com>.
Ah, I see you already did - thanks!  


On Sunday, 24 March 2013 at 14:48, Simon Metson wrote:

> Yeah, that's the one we did. Can you file an issue on the github page and I'll see if I can find some time to look at it? It's due a bit of a refresh.
>  
>  
>  
> On 24 Mar 2013, at 12:43, bryan rasmussen <rasmussen.bryan@gmail.com (mailto:rasmussen.bryan@gmail.com)> wrote:
>  
> > it's https://github.com/drsm79/CouchDB-Kanban-Board
> >  
> > thanks,
> > Bryan Rasmussen
> >  
> > On Sun, Mar 24, 2013 at 1:00 PM, Simon Metson <simon@cloudant.com (mailto:simon@cloudant.com)> wrote:
> > > Which Kanban app is this? I remember there being a breaking change in the one me and Mike Wallace did a while back which I've not had the time to fix.
> > >  
> > >  
> > > On Saturday, 23 March 2013 at 17:52, bryan rasmussen wrote:
> > >  
> > > > > any rewriting rule that could prevent it? Can you share them?
> > > > >  
> > > > > - benoît
> > > >  
> > > > nothing in my local.ini or default.ini has been changed from
> > > > installation, so I don't think that would be it?
> > > >  
> > > > There isn't a rewrites.json in the project either, but actually when I
> > > > look at the folder structure files are inside a folder vendor that is
> > > > not inside of _attachments, it looks like I can get to them if I move
> > > > the vendor folder inside of _attachments, and change the script that
> > > > writes their path to point to those files. I guess this wouldn't be a
> > > > bad thing would it?
> > > >  
> > > > Thanks,
> > > > Bryan Rasmussen
> > > >  
> > > >  
> > > >  
> > > >  
> > > > On Sat, Mar 23, 2013 at 6:27 PM, Benoit Chesneau <bchesneau@gmail.com (mailto:bchesneau@gmail.com)> wrote:
> > > > > On Sat, Mar 23, 2013 at 10:24 AM, bryan rasmussen
> > > > > <rasmussen.bryan@gmail.com (mailto:rasmussen.bryan@gmail.com)> wrote:
> > > > > > Hi,
> > > > > >  
> > > > > > I'm trying to run the CouchDB-Kanban-Board app, when I do
> > > > > > erica init
> > > > > > erica push kanban
> > > > > >  
> > > > > > and I go to 127.0.0.1:5984/kanban/_design/kanbancouch/ the index.html
> > > > > > is found fine but all the attachments return
> > > > > > {"error":"not_found","reason":"Document is missing attachment"}
> > > > > >  
> > > > > > for example http://127.0.0.1:5984/kanban/_design/kanbancouch/vendor/couchdb/loader.js
> > > > > > although when I look at
> > > > > > http://localhost:5984/_utils/document.html?kanban/_design/kanbancouch
> > > > > > then the vendor field has an object containing
> > > > > > backbone
> > > > > > couchdb
> > > > > > jquery.utils
> > > > > > jqueryui
> > > > > > mustache
> > > > > > plots
> > > > > > protovis
> > > > > > and couchdb has an object _attachments with a loader field in it.
> > > > > >  
> > > > > > this is my first try with couchapps, normally I just use couchdb as a
> > > > > > backend db.
> > > > > >  
> > > > > > thanks,
> > > > > > Bryan Rasmussen
> > > > >  
> > > >  
> > >  
> >  
>  




Re: attachments can't be found in couchapp?

Posted by Simon Metson <si...@cloudant.com>.
Yeah, that's the one we did. Can you file an issue on the github page and I'll see if I can find some time to look at it? It's due a bit of a refresh.



On 24 Mar 2013, at 12:43, bryan rasmussen <ra...@gmail.com> wrote:

> it's https://github.com/drsm79/CouchDB-Kanban-Board
> 
> thanks,
> Bryan Rasmussen
> 
> On Sun, Mar 24, 2013 at 1:00 PM, Simon Metson <si...@cloudant.com> wrote:
>> Which Kanban app is this? I remember there being a breaking change in the one me and Mike Wallace did a while back which I've not had the time to fix.
>> 
>> 
>> On Saturday, 23 March 2013 at 17:52, bryan rasmussen wrote:
>> 
>>>> any rewriting rule that could prevent it? Can you share them?
>>>> 
>>>> - benoît
>>> 
>>> nothing in my local.ini or default.ini has been changed from
>>> installation, so I don't think that would be it?
>>> 
>>> There isn't a rewrites.json in the project either, but actually when I
>>> look at the folder structure files are inside a folder vendor that is
>>> not inside of _attachments, it looks like I can get to them if I move
>>> the vendor folder inside of _attachments, and change the script that
>>> writes their path to point to those files. I guess this wouldn't be a
>>> bad thing would it?
>>> 
>>> Thanks,
>>> Bryan Rasmussen
>>> 
>>> 
>>> 
>>> 
>>> On Sat, Mar 23, 2013 at 6:27 PM, Benoit Chesneau <bc...@gmail.com> wrote:
>>>> On Sat, Mar 23, 2013 at 10:24 AM, bryan rasmussen
>>>> <ra...@gmail.com> wrote:
>>>>> Hi,
>>>>> 
>>>>> I'm trying to run the CouchDB-Kanban-Board app, when I do
>>>>> erica init
>>>>> erica push kanban
>>>>> 
>>>>> and I go to 127.0.0.1:5984/kanban/_design/kanbancouch/ the index.html
>>>>> is found fine but all the attachments return
>>>>> {"error":"not_found","reason":"Document is missing attachment"}
>>>>> 
>>>>> for example http://127.0.0.1:5984/kanban/_design/kanbancouch/vendor/couchdb/loader.js
>>>>> although when I look at
>>>>> http://localhost:5984/_utils/document.html?kanban/_design/kanbancouch
>>>>> then the vendor field has an object containing
>>>>> backbone
>>>>> couchdb
>>>>> jquery.utils
>>>>> jqueryui
>>>>> mustache
>>>>> plots
>>>>> protovis
>>>>> and couchdb has an object _attachments with a loader field in it.
>>>>> 
>>>>> this is my first try with couchapps, normally I just use couchdb as a
>>>>> backend db.
>>>>> 
>>>>> thanks,
>>>>> Bryan Rasmussen
>>>>> 
>>>> 
>>>> 
>>> 
>>> 
>>> 
>> 
>> 

Re: attachments can't be found in couchapp?

Posted by bryan rasmussen <ra...@gmail.com>.
it's https://github.com/drsm79/CouchDB-Kanban-Board

thanks,
Bryan Rasmussen

On Sun, Mar 24, 2013 at 1:00 PM, Simon Metson <si...@cloudant.com> wrote:
> Which Kanban app is this? I remember there being a breaking change in the one me and Mike Wallace did a while back which I've not had the time to fix.
>
>
> On Saturday, 23 March 2013 at 17:52, bryan rasmussen wrote:
>
>> > any rewriting rule that could prevent it? Can you share them?
>> >
>> > - benoît
>>
>> nothing in my local.ini or default.ini has been changed from
>> installation, so I don't think that would be it?
>>
>> There isn't a rewrites.json in the project either, but actually when I
>> look at the folder structure files are inside a folder vendor that is
>> not inside of _attachments, it looks like I can get to them if I move
>> the vendor folder inside of _attachments, and change the script that
>> writes their path to point to those files. I guess this wouldn't be a
>> bad thing would it?
>>
>> Thanks,
>> Bryan Rasmussen
>>
>>
>>
>>
>> On Sat, Mar 23, 2013 at 6:27 PM, Benoit Chesneau <bc...@gmail.com> wrote:
>> > On Sat, Mar 23, 2013 at 10:24 AM, bryan rasmussen
>> > <ra...@gmail.com> wrote:
>> > > Hi,
>> > >
>> > > I'm trying to run the CouchDB-Kanban-Board app, when I do
>> > > erica init
>> > > erica push kanban
>> > >
>> > > and I go to 127.0.0.1:5984/kanban/_design/kanbancouch/ the index.html
>> > > is found fine but all the attachments return
>> > > {"error":"not_found","reason":"Document is missing attachment"}
>> > >
>> > > for example http://127.0.0.1:5984/kanban/_design/kanbancouch/vendor/couchdb/loader.js
>> > > although when I look at
>> > > http://localhost:5984/_utils/document.html?kanban/_design/kanbancouch
>> > > then the vendor field has an object containing
>> > > backbone
>> > > couchdb
>> > > jquery.utils
>> > > jqueryui
>> > > mustache
>> > > plots
>> > > protovis
>> > > and couchdb has an object _attachments with a loader field in it.
>> > >
>> > > this is my first try with couchapps, normally I just use couchdb as a
>> > > backend db.
>> > >
>> > > thanks,
>> > > Bryan Rasmussen
>> > >
>> >
>> >
>>
>>
>>
>
>

Re: attachments can't be found in couchapp?

Posted by Simon Metson <si...@cloudant.com>.
Which Kanban app is this? I remember there being a breaking change in the one me and Mike Wallace did a while back which I've not had the time to fix.   


On Saturday, 23 March 2013 at 17:52, bryan rasmussen wrote:

> > any rewriting rule that could prevent it? Can you share them?
> >  
> > - benoît
>  
> nothing in my local.ini or default.ini has been changed from
> installation, so I don't think that would be it?
>  
> There isn't a rewrites.json in the project either, but actually when I
> look at the folder structure files are inside a folder vendor that is
> not inside of _attachments, it looks like I can get to them if I move
> the vendor folder inside of _attachments, and change the script that
> writes their path to point to those files. I guess this wouldn't be a
> bad thing would it?
>  
> Thanks,
> Bryan Rasmussen
>  
>  
>  
>  
> On Sat, Mar 23, 2013 at 6:27 PM, Benoit Chesneau <bc...@gmail.com> wrote:
> > On Sat, Mar 23, 2013 at 10:24 AM, bryan rasmussen
> > <ra...@gmail.com> wrote:
> > > Hi,
> > >  
> > > I'm trying to run the CouchDB-Kanban-Board app, when I do
> > > erica init
> > > erica push kanban
> > >  
> > > and I go to 127.0.0.1:5984/kanban/_design/kanbancouch/ the index.html
> > > is found fine but all the attachments return
> > > {"error":"not_found","reason":"Document is missing attachment"}
> > >  
> > > for example http://127.0.0.1:5984/kanban/_design/kanbancouch/vendor/couchdb/loader.js
> > > although when I look at
> > > http://localhost:5984/_utils/document.html?kanban/_design/kanbancouch
> > > then the vendor field has an object containing
> > > backbone
> > > couchdb
> > > jquery.utils
> > > jqueryui
> > > mustache
> > > plots
> > > protovis
> > > and couchdb has an object _attachments with a loader field in it.
> > >  
> > > this is my first try with couchapps, normally I just use couchdb as a
> > > backend db.
> > >  
> > > thanks,
> > > Bryan Rasmussen
> > >  
> >  
> >  
>  
>  
>  



Re: attachments can't be found in couchapp?

Posted by bryan rasmussen <ra...@gmail.com>.
> any rewriting rule that could prevent it? Can you share them?
>
> - benoît

nothing in my local.ini or default.ini has been changed from
installation, so I don't think that would be it?

There isn't a rewrites.json in the project either, but actually when I
look at the folder structure files are inside a folder vendor that is
not inside of _attachments, it looks like I can get to them if I move
the vendor folder inside of _attachments, and change the script that
writes their path to point to those files. I guess this wouldn't be a
bad thing would it?

Thanks,
Bryan Rasmussen




On Sat, Mar 23, 2013 at 6:27 PM, Benoit Chesneau <bc...@gmail.com> wrote:
> On Sat, Mar 23, 2013 at 10:24 AM, bryan rasmussen
> <ra...@gmail.com> wrote:
>> Hi,
>>
>> I'm trying to run the CouchDB-Kanban-Board app, when I do
>> erica init
>> erica push kanban
>>
>> and I go to 127.0.0.1:5984/kanban/_design/kanbancouch/ the index.html
>> is found fine but all the attachments return
>> {"error":"not_found","reason":"Document is missing attachment"}
>>
>> for example http://127.0.0.1:5984/kanban/_design/kanbancouch/vendor/couchdb/loader.js
>> although when I look at
>> http://localhost:5984/_utils/document.html?kanban/_design/kanbancouch
>> then the vendor field has an object containing
>> backbone
>> couchdb
>> jquery.utils
>> jqueryui
>> mustache
>> plots
>> protovis
>> and couchdb has an object _attachments with a loader field in it.
>>
>> this is my first try with couchapps, normally I just use couchdb as a
>> backend db.
>>
>> thanks,
>> Bryan Rasmussen
>

Re: attachments can't be found in couchapp?

Posted by Benoit Chesneau <bc...@gmail.com>.
On Sat, Mar 23, 2013 at 10:24 AM, bryan rasmussen
<ra...@gmail.com> wrote:
> Hi,
>
> I'm trying to run the CouchDB-Kanban-Board app, when I do
> erica init
> erica push kanban
>
> and I go to 127.0.0.1:5984/kanban/_design/kanbancouch/ the index.html
> is found fine but all the attachments return
> {"error":"not_found","reason":"Document is missing attachment"}
>
> for example http://127.0.0.1:5984/kanban/_design/kanbancouch/vendor/couchdb/loader.js
> although when I look at
> http://localhost:5984/_utils/document.html?kanban/_design/kanbancouch
> then the vendor field has an object containing
> backbone
> couchdb
> jquery.utils
> jqueryui
> mustache
> plots
> protovis
> and couchdb has an object _attachments with a loader field in it.
>
> this is my first try with couchapps, normally I just use couchdb as a
> backend db.
>
> thanks,
> Bryan Rasmussen

any rewriting rule that could prevent it? Can you share them?

- benoît