Labels: Type-Defect Priority-Medium
New issue 715 by kirbysol...@gmail.com
: The DeleteRow function results in
the deletion of every other row when iterating through a ListFeed in a
spreadsheet using python gdata in New Google Spreadsheets
What steps will reproduce the problem?
1. Prepare two *NEW* google spreadsheets, “input". Enter multiple rows of
data into the worksheet. For example, put the following in column A, each
on its own row: ID, 1,2,3,4,5,6,7,8,9,10,11,12
2. Perform deleterow() in a loop over a ListFeed
ss_key = “google spreadsheet key";
gd_client = gdata.spreadsheet.service.SpreadsheetsService();
feed = gd_client.GetWorksheetsFeed(ss_key);
listFeed = gd_client.GetListFeed(ss_key, worksheetID);
for row in listFeed.entry:
What is the expected output? What do you see instead?
Expected output would be for the rows except the header to be deleted.
What I see is that rows 2,4,6,8,10 and 12 remain. If I run it again, rows
4,8,12 remain. It is deleting every other row.
What version of the product are you using?
gdata 2.0.18 and new google spreadsheets
Please provide any additional information below.
This approach continues to work the old google spreadsheets. It does not
work with the new google spreadsheets.
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at: