Giter VIP home page Giter VIP logo

Comments (8)

xiazemin avatar xiazemin commented on May 26, 2024 3

image

注释掉golang 源码里这几行就解决了

from xlsx.

tealeg avatar tealeg commented on May 26, 2024 1

Note that this is a problem of xlsx v1.0.5 not the v3 version.

from xlsx.

tealeg avatar tealeg commented on May 26, 2024

There are potential problems with legacy code and go1.2.1 around the use of init functions - I'm going to start looking there.

from xlsx.

tealeg avatar tealeg commented on May 26, 2024

Another piece of information - I ran the code above (fixing the variable name rowOfferName to rowName), it compiled, ran and the output loaded fine in LibreOffice. I suspect that this is one of those occasions where Excel is extremely picky about the XML (it wants the XML exactly as it would write it, and won't accept it in any other logically valid form). I don't have Excel to hand, but if you send me the working and not-working xlsx files I can try and work out what changed between them. @givsly-stephen

from xlsx.

tealeg avatar tealeg commented on May 26, 2024

@givsly-stephen - if you're in fact using V3 you should try the latest release as I have recently fixed an issue with similar results. (See #786 )

from xlsx.

givsly-stephen avatar givsly-stephen commented on May 26, 2024

Yes, I was using github.com/tealeg/xlsx v1.0.5 see my go.mod

OK - I will take a look at v3.

It's funny though it works perfectly with golang 1.20, but fails with 1.21 -- did golang break compatibility???

from xlsx.

tealeg avatar tealeg commented on May 26, 2024

Yeah, I did think so. Moving to V3 would require quite a lot of changes on your front, but it's likely to be better maintained going forward.

from xlsx.

github-actions avatar github-actions commented on May 26, 2024

Stale issue message

from xlsx.

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.