Coder Social home page Coder Social logo

Comments (8)

martijn10kb avatar martijn10kb commented on May 27, 2024 1

@anti-the-social Yeah, that's an good question, I could give you the document..
Currently I haven't isolated the problem, for now I was hoping that you could already point to the general area with these error messages.
This document keeps generating corrupted. But hundreds of other are generated alright.

Anyway, tomorrow I can try to isolate the problem a bit further, maybe then I can resolve it myself or I have a more isolated report.

from docx.

martijn10kb avatar martijn10kb commented on May 27, 2024 1

#2395 Added this issue, I will be closing this one.

from docx.

anti-the-social avatar anti-the-social commented on May 27, 2024

Hi!

So what are the steps to reproduce your issue?

from docx.

anti-the-social avatar anti-the-social commented on May 27, 2024

Isolating is the way to go I believe. I personally guess it is some sort of logic issue in the code.

p.s. libreoffice isn't really well compatible with word so it didn't tell much to me

from docx.

martijn10kb avatar martijn10kb commented on May 27, 2024

It would have been so nice if word would have said: "Yeah this specific paragraph is garbage.., because of this error...".

from docx.

martijn10kb avatar martijn10kb commented on May 27, 2024

...I was trying to do a paragraph inside a paragraph :)

I think it would be really nice if this package would raise an exception if you would try something illegal though. :)

from docx.

anti-the-social avatar anti-the-social commented on May 27, 2024

Some sort of validator could be very helpful I agree, but that's not a minor thing to do unfortunately..
May be another issue as feature request (If there isn't one already. Altho I think there is. Check opened issue pls if you are willing to open one)

from docx.

martijn10kb avatar martijn10kb commented on May 27, 2024

Yeah I imagine, can't find it though. I will make a new issue.
There is an issue where they are talking about the final ooxml validator. But in my opinion that is a stage to late. I want to know it at the moment I insert a paragraph inside a paragraph. With callstack and nice error message :)

from docx.

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.