Details
-
Type:
Bug
-
Status:
Open
-
Priority:
P2
-
Resolution: Unresolved
-
Fix Version/s: Triage
-
Component/s: Python / Boxee APIs
-
Labels:None
-
Product:Boxee Client
-
Severity:Critical
-
Version:0.9.23.15885
-
Operating System:Windows 7
-
Number of attachments:
Description
Attempting to insert a ListItem into a ListItems object throws an exception. Other list operations also throw exceptions - like pop() - while others appear to work as expected - like append().
Here's the code:
myListItems = mc.ListItems()
myListItems.insert(0, mc.ListItem(mc.ListItem.MEDIA_VIDEO_EPISODE))
print '>>> DONE <<<'
Here's the error:
09:03:42 T:4308 M:1371103232 NOTICE: Traceback (most recent call last):
09:03:42 T:4308 M:1371103232 NOTICE: File "C:\Users\dbattams\AppData\Roaming\BOXEE\userdata\apps\com.googlecode.sagetvboxee.sageboxee\startsage.py", line 57, in ?
09:03:42 T:4308 M:1371103232 NOTICE: myListItems.insert(0, mc.ListItem(mc.ListItem.MEDIA_VIDEO_EPISODE))
09:03:42 T:4308 M:1371103232 NOTICE: File "C:\Program Files\Boxee\system\python\local\mc.py", line 689, in insert
09:03:42 T:4308 M:1371086848 NOTICE: return _mc.stdListItems_insert(*args)
09:03:42 T:4308 M:1371086848 NOTICE: NotImplementedError
09:03:42 T:4308 M:1371086848 NOTICE: :
09:03:42 T:4308 M:1371086848 NOTICE: Wrong number of arguments for overloaded function 'stdListItems_insert'.
Possible C/C++ prototypes are:
insert(std::vector<XAPP::ListItem >::iterator,std::vector<XAPP::ListItem >::value_type const &)
insert(std::vector<XAPP::ListItem >::iterator,std::vector<XAPP::ListItem >::size_type,std::vector<XAPP::ListItem >::value_type const &)
09:03:42 T:4308 M:1371086848 ERROR: Scriptresult: Error
Here's the code:
myListItems = mc.ListItems()
myListItems.insert(0, mc.ListItem(mc.ListItem.MEDIA_VIDEO_EPISODE))
print '>>> DONE <<<'
Here's the error:
09:03:42 T:4308 M:1371103232 NOTICE: Traceback (most recent call last):
09:03:42 T:4308 M:1371103232 NOTICE: File "C:\Users\dbattams\AppData\Roaming\BOXEE\userdata\apps\com.googlecode.sagetvboxee.sageboxee\startsage.py", line 57, in ?
09:03:42 T:4308 M:1371103232 NOTICE: myListItems.insert(0, mc.ListItem(mc.ListItem.MEDIA_VIDEO_EPISODE))
09:03:42 T:4308 M:1371103232 NOTICE: File "C:\Program Files\Boxee\system\python\local\mc.py", line 689, in insert
09:03:42 T:4308 M:1371086848 NOTICE: return _mc.stdListItems_insert(*args)
09:03:42 T:4308 M:1371086848 NOTICE: NotImplementedError
09:03:42 T:4308 M:1371086848 NOTICE: :
09:03:42 T:4308 M:1371086848 NOTICE: Wrong number of arguments for overloaded function 'stdListItems_insert'.
Possible C/C++ prototypes are:
insert(std::vector<XAPP::ListItem >::iterator,std::vector<XAPP::ListItem >::value_type const &)
insert(std::vector<XAPP::ListItem >::iterator,std::vector<XAPP::ListItem >::size_type,std::vector<XAPP::ListItem >::value_type const &)
09:03:42 T:4308 M:1371086848 ERROR: Scriptresult: Error
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions Summary