shareplum
                                
                                 shareplum copied to clipboard
                                
                                    shareplum copied to clipboard
                            
                            
                            
                        UpdateListItems - IndexError
First of all - thank you for the magnificent module. I have one recurring error while I try to add new items to the list. I have sharepoint on-premise and I try to upload around 6000 items. The error appears after random number of items already uploaded.
File "C:\Python\lib\site-packages\shareplum\list.py", line 476, in update_list_items results = envelope[0][0][0][0] File "src\lxml\etree.pyx", line 1162, in lxml.etree._Element.__getitem__ IndexError: list index out of range
Could you please check what could be the issue? If I need to upload less items at once, I can split the dictionary.
One comment - I have no issues while I upload 100 items at once.
Do it actually upload the data? It looks like parsing the result is the failure.
On Mon, Apr 6, 2020 at 1:30 PM platocha [email protected] wrote:
One comment - I have no issues while I upload 100 items at once.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jasonrollins/shareplum/issues/75#issuecomment-609963080, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOVTVRB2QGJXQQSQ2HTJVLRLINTZANCNFSM4MB75AJA .
Hi, sorry for the long response. It works when I load 100 items at once. It fails when I try to load all of them at once and it stops at some point e.g. after 1590 lines. I have changed the code, I have changed the data and still see this error. I have the controls to be sure that there are no errors like entering Null where only number is possible.