Sometimes, supress_warnings misses one of its attributes
See original GitHub issueWhen trying to compile skimage, I sometimes get the following error:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/build/skimage-0.12.3/debian/tmp/usr/lib/python2.7/dist-packages/skimage/transform/tests/test_integral.py", line 46, in test_vectorized_integrate
assert_equal(expected, integrate(s, r0, c0, r1, c1)) # test deprecated
File "/build/skimage-0.12.3/debian/tmp/usr/lib/python2.7/dist-packages/skimage/transform/integral.py", line 86, in integrate
warn("The syntax 'integrate(ii, r0, c0, r1, c1)' is "
File "/build/skimage-0.12.3/debian/tmp/usr/lib/python2.7/dist-packages/skimage/_shared/_warnings.py", line 16, in warn
warnings.warn(message, stacklevel=stacklevel)
File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 2199, in _showwarning
self._orig_show(message, category, filename, lineno,
AttributeError: 'suppress_warnings' object has no attribute '_orig_show'
I assume this is a numpy problem, but I am not sure.
Issue Analytics
- State:
- Created 7 years ago
- Comments:60 (50 by maintainers)
Top Results From Across the Web
What is the list of valid @SuppressWarnings warning names ...
It depends on your IDE or compiler. Here is a list for Eclipse Galileo: all to suppress all warnings; boxing to suppress warnings...
Read more >Where is the documentation on how to suppress each kind of ...
For instance, I use a logger for my java web server, but I want to output an error and quit if the configuration...
Read more >all that jazz - List of SuppressWarnings arguments
I hate compiler warnings showing in my IDE. It's messy, and it usually indicates that something is bad. But not always. Sometimes, when...
Read more >The @SuppressWarnings Annotation in Java - GeeksforGeeks
Use of @SuppressWarnings is to suppress or ignore warnings coming from the compiler, i.e., the compiler will ignore warnings if any for that ......
Read more >Warning Options (Using the GNU Compiler Collection (GCC))
3.8 Options to Request or Suppress Warnings ... Warn when a declaration of a function is missing one or more attributes that a...
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
I’ve uploaded 1.12.0rc2 (which contains https://github.com/numpy/numpy/pull/8427) to debian and rebuilt 3 times skimage (a slightly old version of teh debian package, without the test suite completely disabled) and all the times it built succesfully.
thanks a lot guys for working on this during the holidays!
Now, any plans for the final 1.12.0 release? 😃
Fixed by #8421.