On 01/11/2010 12:45, Adam Charrett wrote:
> On Sat, 30 Oct 2010, John Molohan wrote:
>
>> Hi Adam,
>>
>> I'm just having a quick look at current svn and get this traceback when
>> I launch freevo:
>>
>> Freevo 1.9.2 r11704 ready
>> skin error: unable to parse expression in info_area
>> Traceback (most recent call last):
>> File
>> "/usr/lib/python2.6/site-packages/freevo/skins/main/info_area.py", line
>> 100, in update_content
>> self.sellist = self.eval_expressions(self.list)
>> File
>> "/usr/lib/python2.6/site-packages/freevo/skins/main/info_area.py", line
>> 257, in eval_expressions
>> ret_list += self.eval_expressions(list[ i ].content, index + [ i ])
>> File
>> "/usr/lib/python2.6/site-packages/freevo/skins/main/info_area.py", line
>> 271, in eval_expressions
>> exp = eval(exp, {'attr': item.getattr}, function_calls)
>> File "<string>", line 1, in<module>
>> File "/usr/lib/python2.6/site-packages/freevo/item.py", line 602, in
>> getattr
>> r = self.__getitem__(attr)
>> File "/usr/lib/python2.6/site-packages/freevo/directory.py", line
>> 335, in __getitem__
>> return self['num_%s_items' % display_type] + self['num_dir_items']
>> TypeError: cannot concatenate 'str' and 'int' objects
>>
>>
>> John
> I've not seen this error before, what where you trying to view at the
> time, Music, Images, Videos or something else? Having looked at the code
> it looks like whatever it was there wasn't any there!
>
> I'll try and delve further but if you can give me the situation it crashed
> that would be most useful.
>
> Cheers
> Adam
Sorry, I was a big vague there in fairness. Thing is I don't think I had
viewed or done anything at the time, I think I saw this straight after
launching Freevo. I'll double check this weekend and make sure I've got
a clean install running too (though I'm pretty sure I do) and report
back what I find.
John
------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware,
phishing sites, and compromised hosts - saving your company time,
money, and embarrassment. Learn More!
http://p.sf.net/sfu/hpdev2dev-nov
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel