Function to detect Pixman version throws Exception
See original GitHub issue- TIA Toolbox version: 1.0.0
- Python version: 3.7
- Operating System: MacOS Big Sur
Description
Toolbox throws an exception for the pixman version.
What I Did
Exception in thread Thread-1:
Traceback (most recent call last):
File "/opt/miniconda3/envs/isyntax2zarr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/opt/miniconda3/envs/isyntax2zarr/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/opt/miniconda3/envs/isyntax2zarr/lib/python3.7/site-packages/tiatoolbox/utils/env_detection.py", line 283, in _show_warning
version, using = pixman_version()
File "/opt/miniconda3/envs/isyntax2zarr/lib/python3.7/site-packages/tiatoolbox/utils/env_detection.py", line 249, in pixman_version
version = tuple(int(part) for part in matches.group(1).split("."))
AttributeError: 'NoneType' object has no attribute 'split'
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Issue or Feature - GitHub
Issue or Feature Error: Build folder and the mentioned file don't exist. Install method: npm ... throw err; ^ Error: Cannot find module...
Read more >How to test the type of a thrown exception in Jest
In Jest you have to pass a function into expect(function).toThrow(<blank or type of error>) . Example: test("Test description", () => { const t ......
Read more >How to Throw Exceptions in Java - Rollbar
The caller has to handle the exception using a try-catch block or propagate the exception. We can throw either checked or unchecked exceptions....
Read more >Pixman
Pixman. Pixman is a low-level software library for pixel manipulation, providing features such as image compositing and trapezoid rasterization.
Read more >Specifying the Exceptions Thrown by a Method
If the writeList method doesn't catch the checked exceptions that can occur within it, the writeList method must specify that it can throw...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @ghadjigeorghiou
@John-P please can you check this? Please can you also check this on Windows?
Fixed in this PR #266