Comments (3)
Fixed upstream, fix merged in #265, released in version 3.6.0. Enjoy!
from treepoem.
Full stack trace, using the minimum number of bytes and dropping the options which don't seem to affect this:
$ python
Python 3.8.5 (default, Sep 3 2020, 10:31:10)
[Clang 11.0.0 (clang-1100.0.20.17)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import treepoem
>>> treepoem.generate_barcode( barcode_type="azteccode", data=bytes(range(49)))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/chainz/Documents/Projects/treepoem/src/treepoem/__init__.py", line 148, in generate_barcode
bbox_lines = _get_bbox(code)
File "/Users/chainz/Documents/Projects/treepoem/src/treepoem/__init__.py", line 100, in _get_bbox
raise TreepoemError(err_output)
treepoem.TreepoemError: GPL Ghostscript 9.52: Unrecoverable error, exit code 1
It seems the maximum is bytes(range(48))
- bytes(range(49))
fails.
This also happens with the latest BWIPP, 2020-10-02 - https://github.com/bwipp/postscriptbarcode/releases
The latest version it didn't happen with is 2020-07-20.
I'm reporting upstream on BWIPP's issue tracker.
from treepoem.
Issue: bwipp/postscriptbarcode#132 .
from treepoem.
Related Issues (20)
- test failures on PowerPC ppc64le HOT 3
- Ghostscript v9.26 build fails on PowerPC ppc64le HOT 1
- code93 barcodes are apparently invalid HOT 5
- Not able to find barcode.ps' HOT 12
- How to add barcode margins? HOT 2
- How to get nice EAN13 and EAN14? HOT 2
- Modify values at runtime HOT 4
- Ghostscript crashes when using round brackets in 'alttext' option value HOT 4
- Insert FCN1 character into Code128 string HOT 3
- Configurable gap size in Codabar HOT 1
- Byte string data HOT 3
- All generated barcodes have dark backgrounds HOT 3
- Create PD417 fails HOT 3
- Incompatibility with GS10 HOT 2
- Text under barcode is pixelated and although readable its not very clear HOT 1
- Unexpected aztec code size limitation HOT 3
- qrcode: Fix version information for version 33 model HOT 2
- EAN13 bbox out of bounds after bwipp change HOT 2
- Licensing question 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 treepoem.