Skip to main content
Martin Thoma's user avatar
Martin Thoma's user avatar
Martin Thoma's user avatar
Martin Thoma
Senior Backend dev with experience in Machine Learning, Data Science, and a bit of Security
  • Member for 13 years, 11 months
  • Last seen more than 1 year ago
awarded
awarded
comment
Can we change the rules for posting duplicate answers / marking questions as duplicate?
The issue is often that the library had a bug. I don't want to waste my time looking details of the bug up. I would be willing to let people know that this was fixed + doing an update of the library version does the trick. I'm not willing to waste more energy on this. Obviously the StackOverflow community prefers rather no answer than a helpful 95% answer šŸ˜¢
comment
Can we change the rules for posting duplicate answers / marking questions as duplicate?
There are hundreds of questions/answers around pypdf which use deprecated classes/methods. People see & copy those parts and ask questions around the deprecated stuff. Removing those unanswered questions that are resolved by just updating the library would be an overall benefit to the Python / pypdf / PyPDF2 community.
comment
Can we change the rules for posting duplicate answers / marking questions as duplicate?
If it solves the problem, it's an answer. Hence I want to post it as an answer. If the StackExchange community thinks it's not solving an issue, I will not bother to comment. If the question doesn't bring value to the site, can we just delete it?
comment
Can we change the rules for posting duplicate answers / marking questions as duplicate?
Question A "pypdf error: encryption algorithm not supported", question B: "pypdf error: wrong whitespace in text extraction". Solution to both: upgrade to pypdf>= 3.4.0. You really suggest to close one as a duplicate of the other?
comment
Can we change the rules for posting duplicate answers / marking questions as duplicate?
I would also be fine with somebody editing my question to focus on that part.
comment
Can we change the rules for posting duplicate answers / marking questions as duplicate?
Should I create a new question on meta focusing on that suggestion?
comment
Can we change the rules for posting duplicate answers / marking questions as duplicate?
@Dharman: "The person who wrote the question is not the primary audience. Don't focus on them." - why not? A lot of the questions around pypdf are the result of people not looking into existing issues on Github / understanding the issue the library has / understanding how PDF data extraction works. Often not even directly related to pypdf, but to working with Python in general (e.g. virtual environments). Those questions will likely only be of interest to beginners. Focusing the style of answer on the type of question asked is exactly the right thing to do, IMO.
comment
Can we change the rules for posting duplicate answers / marking questions as duplicate?
@RyanM This question is my request to get rid of that restriction :-)
comment
Can we change the rules for posting duplicate answers / marking questions as duplicate?
@Dharman '"Please update pypdf" is not an answer. ' - why not? It solves the problem. The problem was a bug/shortcomming of the library.
comment
Can we change the rules for posting duplicate answers / marking questions as duplicate?
Also, most of the pypdf / PyPDF2 questions are clearly written by programming beginners. They would not be interested in the very specific issues around text extraction from PDF documents, where you have to dive deep into the PDF standard.
comment
Can we change the rules for posting duplicate answers / marking questions as duplicate?
"perhaps you could point to the specific fix in each answer" - that is not going to happen. This would simply drain an unacceptable amount of energy for an answer that likely nobody will ever read. People typically just want to see the solution. If they are actually interested in the root cause, they can dive into the changelog / the git history.
revised
Loadingā€¦
Loadingā€¦
awarded
awarded
comment
Make [PyPDF2] a synonym of [pypdf]
Thank you for explaining :-)
comment
asked
Loadingā€¦