Re: [SQLObject] Keyword argument error
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Scott R. <sc...@to...> - 2004-05-09 14:13:21
|
On Sun, 2004-05-09 at 09:30, Gavin wrote: > streamcast.StreamSources(stream_name='Enemy Combatant > Radio',stream_source='http://radio.indymedia.org:8001/sf-hifi.mp3',start_date='2004-05-09 > 23:25:00',end_date='2004-05-09 23:30:00') > > I get this error: > TypeError: __new__() got an unexpected keyword argument 'stream_name' > What version of SO? If it's an older one (even maybe the current stable), you need to change streamcast.StreamSources(stream_name='Enemy Combatant to streamcast.StreamSources.new(stream_name='Enemy Combatant This has changed in recent versions, though, so YMMV. |