I followed the tutorial rather meticulously and created the sample application, but CouchGrid doesn't display properly

Asked by Carsten Agger

After following the tutorial of my new quickly project (quickly tutorial) everything works fine (thanks for the good work!) but the couch grid looks like this:

http://www.modspil.dk/images/wrongcouchgrid.png

There's actually three elements in that list though it's hard to see.

I've used the version in Maverick repositories.

Question information

Language:
English Edit question
Status:
Solved
For:
Quickly Edit question
Assignee:
No assignee Edit question
Solved by:
Rick Spencer
Solved:
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Carsten Agger (agger) said :
#2

ons, 29 12 2010 kl. 09:52 +0000, skrev Launchpad Janitor:
> Your question #137545 on Quickly changed:
> https://answers.launchpad.net/quickly/+question/137545
>
> Status: Open => Expired
>
> Launchpad Janitor expired the question:
> This question was expired because it remained in the 'Open' state
> without activity for the last 15 days.
>

Revision history for this message
Best Rick Spencer (rick-rickspencer3) said :
#3

Hello,

It looks like the CouchGrid thinks you passed in the sequence of characters t,i,t,l.e rather than a sequence of strings.

Perhaps your code reads something like:
keys = "title"
rather than
keys = ["title"]

In the first case, the CouchGrid will iterate through the string "title", while in the second case it will iterate through the list of strings, a list that only contains the string "title".

HTH

Cheers, Rick

Revision history for this message
Carsten Agger (agger) said :
#4

Thanks Rick Spencer, that solved my question.