Comments (5)
Zippy does not require a content to create an archive, but some adapter do. I'm gonna update the doc.
Your exception is a NotSupportedException
. It means the adapter you're using does not support empty zip archives.
from zippy.
Same issue for me, I'm working on mac. Do I need to install extra binaries ?
I tried different extension but the command appear to be wrong on this os.
Here is the error when I use "tar" :
Unable to execute the following command '/usr/bin/bsdtar' '--create' '-' '--files-from /dev/null' '> /Users/vince/work/web/ps/designerbox/modules/invoices/invoices.tar' {output: bsdtar: Option --files-from /dev/null is not supported Usage: List: bsdtar -tf Extract: bsdtar -xf Create: bsdtar -cf [filenames...] Help: bsdtar --help }
from zippy.
Hello @sdevilcry
It's not the same issue, you're creating a tar archive (this issue was about the zip adapter). Can you fill a new issue, providing the code snippet and exception name/message ?
from zippy.
Sure I can, but my first issue was the same as @makasim then I tried with tar and got a new issue.
Gonna create an issue for the tar.
Any idea about the "zip" ?
from zippy.
@romainneutron I tried using Zippy on laravel 4 but all i get is an error saying "Unable to create archive" can you help?
from zippy.
Related Issues (20)
- empty files are defined as directories
- Full example
- 0.4.9 fatal error 'ProcessBuilder not found' HOT 10
- Question: Are gzip (.gz) files supported? HOT 1
- Tar Parser is failed
- Fatal error: Uncaught Alchemy\Zippy\Exception\FormatNotSupportedException: No strategy for extension in
- Protection against Zip Bomb HOT 1
- Request for a new release tag "0.4.10" HOT 3
- Doc url 404
- Symfony 5 Support HOT 2
- Error when only single url passed to create() HOT 1
- it isn't support chinese file name
- Can't run composer update after adding alchemy/zippy
- Unable To Extract GNU Tar With Overwrite false
- Md5 changes after the file is repeatedly compressed
- Support php8 HOT 1
- Question, feature request. Open from stream
- Symfony 6 support
- Support more compression algorithms with GNU tar
- Please upgrade it. HOT 1
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 zippy.