[reportlab-users] grid number of row errors
Timothy Smith
timothy at open-networks.net
Mon May 2 03:05:48 EDT 2005
maybe i'm blind but i get this error
raise ValueError, "%s data error - %d columns in data but %d in grid" %
with this data, but it just can't be right? a table is just an list of
lists, which is what this is?
[['Category', 'Comment', 'Score'], ['Speed of Service', 'Waited for over
5 mintues', '1'], ['Friendly bar staff', 'Were having fun but were not
smiling when serving', '2'], ['On arrival', "I felt very welcomed but
didn't meet the manager", '3'], ['Visual entertainment', 'Yes but not a
great variety', '3'], ['Visual entertainment', 'Could have been cleaned
more often', '3'], ['Room', 'Not clean in some areas but other areas
were ok', '1'], ['Toilets', 'Not clean enough, very untidy', '0'],
['Wait/floor staff', 'Were quite polite and happy', '5'], ['Atmosphere',
'The whole room felt great, everyone seemed to be having fun', '8'],
['Speed of Service', 'Waited 3-5 mintues but was aknowledged', '3'],
['Friendly bar staff', 'Very friendly, happy, having fun, very
confident', '4'], ['On arrival', 'Yes, I felt very welcomed and met the
manager', '5'], ['Visual entertainment', 'Yes but not a great variety',
'3'], ['Visual entertainment', 'Cleaned very regularly - very clean',
'4'], ['Room', 'Very clean, cleaned regularly', '5'], ['Toilets', 'No
paper towels, no toilet paper, no checkd often', '1'], ['Wait/floor
staff', 'Were very courteous, friendly and made conversations', '7'],
['Atmosphere', 'The whole room felt great, everyone seemed to be having
fun', '8'], ['Atmosphere', 'It was really good in some areas, but then
too loud in others', '3'], ['Speed of Service', 'Was served very
quickly', '4'], ['Friendly bar staff', 'Very friendly, happy, having
fun, very confident', '4'], ['On arrival', 'Yes, I felt very welcomed
and met the manager', '5'], ['Visual entertainment', 'Yes they were very
entertaining', '4'], ['Visual entertainment', 'Cleaned very regularly -
very clean', '4'], ['Room', 'Could have been a little cleaner but not
too bad', '3'], ['Toilets', 'Could have been cleaner but not too bad',
'2'], ['Wait/floor staff', 'Were very courteous, friendly and made
conversations', '7'], ['Atmosphere', 'The whole room felt great,
everyone seemed to be having fun', '8'], ['Atmosphere', 'There was a
great mix all around the venue', '4']]
More information about the reportlab-users
mailing list