GithubHelp home page GithubHelp logo

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 about gdata-python-client HOT 7 CLOSED

google avatar google commented on July 2, 2024
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

from gdata-python-client.

Comments (7)

kjumpei avatar kjumpei commented on July 2, 2024

Hi. Is this problem resolved,or not yet?
I have same issue and old spreadsheet is worked too.

from gdata-python-client.

ksiadmin avatar ksiadmin commented on July 2, 2024

Still not resolved

from gdata-python-client.

kjumpei avatar kjumpei commented on July 2, 2024

thanks.

from gdata-python-client.

aliafshar avatar aliafshar commented on July 2, 2024

Likely this is not a client library bug, sorry. If the only difference is New vs Old spreadsheets. @erickoledadevrel

from gdata-python-client.

erickoledadevrel avatar erickoledadevrel commented on July 2, 2024

It looks like the behavior or row IDs have changed in New Sheets, such that the IDs change when rows are deleted. Deleting row 1 causes row 2 to become row 1 and take on it's ID, and row 3 to take on row 2's ID, etc. This would lead to the behavior you are reporting, where only alternating rows are being deleted.

This is a bug with the Spreadsheets API and New Sheets, and should be reported here:

https://code.google.com/a/google.com/p/apps-api-issues/issues/list

You can work around this issue by deleting rows in reverse order (from bottom to top). This is not something that can be fixed in the client library however, so this issue should be closed.

from gdata-python-client.

ksiadmin avatar ksiadmin commented on July 2, 2024

Thank you, I can use that work around! And I posted this at https://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=3739
and this can be closed

from gdata-python-client.

kjumpei avatar kjumpei commented on July 2, 2024

Than you @ksiadmin @aliafshar @erickoledadevrel :-)

from gdata-python-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.