Comments (3)
Could you please provide the file you are trying to extract, or even better (if possible) create a small one that shows the issue?
from pylzma.
I was trying to extract 'ux.stackexchange.com.7z' (39 MB) using pylzma.
This dataset can be obtained from following link:
https://archive.org/download/stackexchange/ux.stackexchange.com.7z
Here's the code I am using
archive = py7zlib.Archive7z(fp)
outfile = open(outfilename, 'wb')
outfile.write(archive.getmember('Posts.xml').read())
outfile.close()
Though I am able to perfectly extract the file using 7z in command line
7z x -o<outputFile> <compressedFile> -y'
from pylzma.
Sorry for the noise, took a while to get this tested by Travis.
from pylzma.
Related Issues (20)
- Bugs Report : Incorrect stream properties
- Data error during extraction HOT 20
- Feature request: read 7zip file line by line HOT 1
- py7zlib fails with `IndexError: list index out of range` when opening specific 7z archive HOT 13
- py7zlib fails when decompressing lzma2 bcj2 7z file HOT 2
- Feature: py7zlib: archive file mode and format API HOT 2
- Can't decompress the lzma1900.7z file using py7zlib.Archive7z HOT 1
- py7zlib: _read64Bit() returns None when reading bytes start with 0xff HOT 1
- Incorrect stream properties (TypeError) while trying to decompress HOT 1
- How read a 7z file with volumes?
- Do not automatically skip directory entries
- Feature: Add support for streaming ArchiveFiles HOT 2
- Hope to achieve the function of encryption
- Recent important updates not on pypi HOT 2
- Requested pylzma==0.5.0 but installing version is 0.5.0.post0 HOT 1
- index error
- python2 syntax in test_usage.py
- "pip instal pylzma" not working
- Building FreeBSD port archivers/py-lzma fails with error
- compliation fails on OpenBSD 7.3 / Python 3.10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pylzma.