-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot import TiggerSkyModel because of astropy 2.0.4? #86
Comments
Yeah it does smell like ratt-ru/tigger#74. @gijzelaerr @sjperkins any comments? This is some kind of python2/3 shizzle going badly wrong. Feeling very astropy-irritated just now 😠 See this too: ratt-ru/montblanc#261 |
See my comments in the montblanc issue
…On Sat, 17 Nov 2018, 13:58 Oleg Smirnov ***@***.*** wrote:
Yeah it does smell like ratt-ru/tigger#74
<ratt-ru/tigger#74>. @gijzelaerr
<https://github.com/gijzelaerr> @sjperkins <https://github.com/sjperkins>
any comments? This is some kind of python2/3 shizzle going badly wrong.
Feeling very astropy-irritated just now 😠 See this too:
ratt-ru/montblanc#261 <ratt-ru/montblanc#261>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#86 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADXd5HANE4-kHTev1AFged4nQOUM_jHuks5uv_n8gaJpZM4Yfjqa>
.
|
Actually it's this issue here again: ratt-ru/meqtrees-timba#34 The 18.04 version of astropy obviously pulls in pkg_resources, which somehow triggers the bug. Gawd I hate this setuptools shizzle. In fact, looking at the current astropy code, looks like they share my high esteem of it, because they've taken that crap out: https://github.com/astropy/astropy/blob/master/astropy/utils/introspection.py Question is @gijzelaerr, can we still ship a compatible astropy in KERN-4? The latest version is Python3-only... |
@lord-blueberry, could you give it a go with the
If this works for you, we can push out a new release. |
Finally got around to it: Almost there. But the tigger-lsm issue-7 fails to import the Tigger package with this error
AFAIK html.parser is a python3 package, but I run it from python2. Or is this a package from Cattery missing? |
i'll fix this next week. |
I seem to be hitting the tigger-lsm issue myself. I'm not sure if astropy is the culprit. I deleted astropy from my ubuntu 16.04 system and I still get the error message: Failure to import TiggerSkyModel module (I still had a version of pyfits in my system so fits calls were still handled OK.) |
working on these issues as we speak, I hope the situation is solved soon. |
This is probably because for some package the name used to request the version number from pkg_resources doesn't match the package name. Some package had to be renamed (like tigger to astro-tigger) since they already existed on pypi. |
This should be solved with the release of tigger-lsm 1.5.0 https://github.com/ska-sa/tigger-lsm/releases/tag/1.5.0 and kittens 1.4.0 https://github.com/ska-sa/kittens/releases/tag/v1.4.0. please let me know if you still experience issues. |
@gijzelaerr I'm using KERN-4 and running into this issue. Is it expected to work there or do I need to upgrade to KERN-5? |
It is not expected to work with KERN-4, if you can switch to KERN-5. |
I can reproduce this behaviour in a clean 18.04 install. After adding the KERN repo, I use:
It installs astropy version 2.0.4-4 and meqtrees
When using the meqtree browser, turbo-sim.py fails to load tigger with the following stack trace:
This seems related to the issue reported here: ratt-ru/tigger#74 . But now with astropy/numpy as the culprit, as far as I can tell.
I've found an ugly hack for init.py, which is inserting
import sys
to line 43. It "fixes" the issue in pkg_resources, but fails later on the astropy package with the trace:Something seems royally screwed. Did I install everything correctly?
The text was updated successfully, but these errors were encountered: