question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 2 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
shaneahmedcommented, Jan 12, 2022

Thanks @ghadjigeorghiou
@John-P please can you check this? Please can you also check this on Windows?

0reactions
shaneahmedcommented, Jan 24, 2022

Fixed in this PR #266

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found