-
Notifications
You must be signed in to change notification settings - Fork 26
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
0.6.0 Release Target #79
Comments
@jreadey You can add checkbox for each of the issues and track progress (how many are checked vs. total). See the first listed issue. |
Builds off the latest dev branch checkins are available here:
Please submit any problems you find as an issue (or update an existing issue). If you can run from the source tree, it will be helpful to note if this problem only shows up in install executable or is present in the source version as well. |
Builds for Windows and Mac are updated: Windows - https://s3.amazonaws.com/hdfgroup.download/HDFCompass/latest/hdfcompass-latest-win_amd64.exe BAG plugin in (based on my limited testing) is working with this build. |
Mac binary works well even for https://eosdap OPeNDAP server. How did you fix it? |
Although not listed in the milestones, the following PRs add/fix the unittest for the current models:
Some additional work could be done to implement tests for other structures (since only |
@giumas - I used PyInstaller to freeze the binary on Mac. With py2app I was hitting the problem you described in #107. Using PyInstaller introducing the problem that @andrewcollette mentioned - dragging files to the toolbar icon does not work. I've created an issue for this: #116. @hyoklee - I didn't do anything special to fix the OpenDAP problem. Maybe it was a beneficial effect of the switch to PyInstaller? |
@jreadey Thanks for explaining how you packaged. I noticed that Mac's OPeNDAP problem is related to openssl used in requests module under Pydap. If requests is built with openssl 1.0.2.d, Pydap works OK with eosdap server. If it is built with 0.9.8zg, Pydap returns SSL error. |
@jreadey Here there are more details on this issue: pyinstaller/pyinstaller#1309 So we could monitor both issues (the PyInstaller and the Py2App) to see what will be fixed first. |
Builds for Windows and Mac are updated: Windows - https://s3.amazonaws.com/hdfgroup.download/HDFCompass/latest/hdfcompass-latest-win_amd64.exe |
@jreadey I have just added some minimal changes to make optional (at runtime) the |
@jreadey did you have time to look at the binaries? |
@giumas - sorry I haven't had time to work on Compass recently. I did try freezing the current dev branch on Windows 7 today. I get a pyinstaller error though, "ImportError: no module named cartopy". So I guess that pyinstaller is building the list of imports by scanning the source files, and thus picks up the cartopy anyway. Do you have access to a Windows 7 box without Cartopy to try this on? Also, are you able to freeze Compass on OS X? |
It is a kind of expected behavior.. You first install I did not have issues to freeze on Win7, the issue with However, did you try these frozen applications? https://github.com/giumas/hdf-compass/releases/tag/0.6.0-beta.1 |
This is the trick that I have added for |
I tried the frozen Yosemite application and get the following error. Have you tried it on any Mac that didn't have cartopy installed?
|
Mmm.. I guess that I set the wrong exception: https://github.com/HDFGroup/hdf-compass/blob/develop/hdf_compass/compass_viewer/geo_surface/plot.py#L23 It should be However, the straight solution would be to fix the @QuLogic: I saw that you are an active contributor of |
No, I don't use OS X. This geos library thing seems to come up a lot there; maybe ask @pelson. |
I'm afraid I don't have any experience of freezing applications either. Looking at the traceback, it looks suspiciously like a shapely issue I have seen go by... shapely/shapely#368 Please feel free to ping me if there is anything I can do. Thanks, |
@pelson and @QuLogic : I have finally been able to solve the issue with freezing HDFCompass on OS X with the new
About this last PR, I am not sure if it would be the case to delete the existing |
Preview 0.6 binaries for OS X (Mountain Lion or later) and Windows 7 (or later) are available here: Windows: https://s3.amazonaws.com/hdfgroup.download/HDFCompass/0.6.0b5/HDFCompass.exe OS X: https://s3.amazonaws.com/hdfgroup.download/HDFCompass/0.6.0b5/HDFCompass.dmg Please try these out and comment here if you find problems. If there are no show stoppers this will go out as the 0.6 release. |
@oyazun, sorry about that. Try it now. |
@jreadey Thanks that one works. |
A new preview binary is available that includes @giumas' fix for the OpenDAP plugin: Windows: http://hdfgroup.download.s3.amazonaws.com/HDFCompass/0.6.0b6/HDFCompass.exe Everyone, please post here if you see any problems. |
It works on Win7 x64 |
Did you see have any problems with the url's mentioned in #60? |
https://eosdap.hdfgroup.org:8080/opendap/data/hdf5/grid_1_2d.h5 works however, the issue that I wrote on #60 is still there: I have looked a bit on it.. and I suspect that the issue is due to the fact that we are using wxFileHistory to store urls: https://github.com/HDFGroup/hdf-compass/blob/develop/hdf_compass/compass_viewer/frame.py#L87. This would agree with the fact that I have this issue only with urls. A dirty fix could be to only have the history for files.. A better way would be to create a |
I have attempted to comment out this row, and then I am not more getting the error. So it should be that! |
My Mac says: "HDFCompass.app" is damaged or corrupted" and cannot be opened. Tried three times with downloading the dmg file. |
@ajelenak-thg - I just tried again downloading from this link: http://hdfgroup.download.s3.amazonaws.com/HDFCompass/0.6.0b6/HDFCompass.dmg. I got the security warning because it is unassigned but otherwise no problems. Has anyone else tried the OS X version above? |
@jreadey Incidentally, I noticed that there are some minor inconsistencies in the naming.. like the link sayes 0.6.b6, the about 0.6.b5, the mounted dmg 0.6.0b3, etc. |
Nope, does not work for me. Still the same "may be damaged or incomplete" error. OS X Yosemite 10.10.5 here, too. I have the Install apps from anywhere setting. It used to work without problem until this latest build. I found several posts about this error and all of them suggest allowing installation of apps from anywhere. I have that. This SO answer points to something else. |
@ajelenak-thg : I apologize in advance for the silly question, but did you delete first any previous installation? If you freeze the app on your machine, does it work? |
I just downloaded the link That John used on Yosemite 10.10.5 and it appears to be working as expected. Are there good geospatial datasets to try the mapping additions? Ted |
I usually use this small size file for testing: https://bitbucket.org/ccomjhc/hyo_bag/downloads/W00275_MB_50cm_MLLW_1of1.bag, but any of the BAG files present on the NOAA Bathymetric Data Viewer should work fine: http://maps.ngdc.noaa.gov/viewers/bathymetry/ |
There are no silly questions at this point... :-)
Yes, tried several times, too.
Never done that before so don't have the required toolset. Don't want to make big deal over this. It's okay if I am the only Mac user in the world who cannot run HDF Compass. :-) |
@ajelenak-thg : here you can find the step-by-step instructions: https://github.com/HDFGroup/hdf-compass/wiki/Notes-on-freezing-with-Mac-OS-X |
I'm not sure @ajelenak-thg following the step by step instructions would be very informative. If there is some missing dependency with the install image, I'd rather resolve that so everyone can run the install image. @ajelenak-thg - Are you able to run the dmg installer? If so, can you runn HDFCompass from the command line? (In shell, cd to: /Applications/HDFCompass.app/Contents/MacOS, and run ./HDFCompass_0.6.0b6) |
Yes. The verification when mounting the dmg passes.
Yes, I can. This is the startup trace displayed in the terminal window: PyInstaller Bootloader 3.x
LOADER: executable is /Applications/HDFCompass.app/Contents/MacOS/HDFCompass_0.6.0b6
LOADER: homepath is /Applications/HDFCompass.app/Contents/MacOS
LOADER: _MEIPASS2 is NULL
LOADER: archivename is /Applications/HDFCompass.app/Contents/MacOS/HDFCompass_0.6.0b6
LOADER: Extracting binaries
LOADER: Executing self as child
LOADER: set _MEIPASS2 to /Applications/HDFCompass.app/Contents/MacOS
PyInstaller Bootloader 3.x
LOADER: executable is /Applications/HDFCompass.app/Contents/MacOS/HDFCompass_0.6.0b6
LOADER: homepath is /Applications/HDFCompass.app/Contents/MacOS
LOADER: _MEIPASS2 is /Applications/HDFCompass.app/Contents/MacOS
LOADER: archivename is /Applications/HDFCompass.app/Contents/MacOS/HDFCompass_0.6.0b6
LOADER: Already in the child - running user's code.
LOADER: Python library: /Applications/HDFCompass.app/Contents/MacOS/Python
LOADER: Loaded functions from Python library.
LOADER: Manipulating environment (sys.path, sys.prefix)
LOADER: sys.prefix is /Applications/HDFCompass.app/Contents/MacOS
LOADER: Setting runtime options
LOADER: Initializing python
LOADER: Overriding Python's sys.path
LOADER: Post-init sys.path is /Applications/HDFCompass.app/Contents/MacOS
LOADER: Setting sys.argv
LOADER: setting sys._MEIPASS
LOADER: importing modules from CArchive
LOADER: extracted struct
LOADER: callfunction returned...
LOADER: extracted pyimod01_os_path
LOADER: callfunction returned...
LOADER: extracted pyimod02_archive
LOADER: callfunction returned...
LOADER: extracted pyimod03_importers
LOADER: callfunction returned...
LOADER: Installing PYZ archive with Python modules.
LOADER: PYZ archive: out00-PYZ.pyz
LOADER: Running pyiboot01_bootstrap.py
LOADER: Running pyi_rth_pkgres.py
LOADER: Running pyi_rth__tkinter.py
LOADER: Running pyi_rth_mplconfig.py
LOADER: Running pyi_rth_mpldata.py
LOADER: Running HDFCompass.py
/Applications/HDFCompass.app/Contents/MacOS/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
Trying `CDLL(/Applications/HDFCompass.app/Contents/MacOS/HDFCompass_0.6.0b6/libgeos_c.dylib)`
DEBUG shapely.geos.load_dll:46 > Trying `CDLL(/Applications/HDFCompass.app/Contents/MacOS/HDFCompass_0.6.0b6/libgeos_c.dylib)`
Failed `CDLL(/Applications/HDFCompass.app/Contents/MacOS/HDFCompass_0.6.0b6/libgeos_c.dylib)`
WARNING shapely.geos.load_dll:50 > Failed `CDLL(/Applications/HDFCompass.app/Contents/MacOS/HDFCompass_0.6.0b6/libgeos_c.dylib)`
Trying `CDLL(/Applications/HDFCompass.app/Contents/MacOS/libgeos_c.1.dylib)`
DEBUG shapely.geos.load_dll:46 > Trying `CDLL(/Applications/HDFCompass.app/Contents/MacOS/libgeos_c.1.dylib)`
Library path: '/Applications/HDFCompass.app/Contents/MacOS/libgeos_c.1.dylib'
DEBUG shapely.geos.load_dll:54 > Library path: '/Applications/HDFCompass.app/Contents/MacOS/libgeos_c.1.dylib'
DLL: <PyInstallerCDLL '/Applications/HDFCompass.app/Contents/MacOS/libgeos_c.1.dylib', handle 7feff3b398f0 at 10b7b1650>
DEBUG shapely.geos.load_dll:55 > DLL: <PyInstallerCDLL '/Applications/HDFCompass.app/Contents/MacOS/libgeos_c.1.dylib', handle 7feff3b398f0 at 10b7b1650>
Trying `CDLL(/usr/lib/libc.dylib)`
DEBUG shapely.geos.load_dll:37 > Trying `CDLL(/usr/lib/libc.dylib)`
Library path: '/usr/lib/libc.dylib'
DEBUG shapely.geos.load_dll:54 > Library path: '/usr/lib/libc.dylib'
DLL: <PyInstallerCDLL '/usr/lib/libc.dylib', handle 7fff64311830 at 10b7b1610>
DEBUG shapely.geos.load_dll:55 > DLL: <PyInstallerCDLL '/usr/lib/libc.dylib', handle 7fff64311830 at 10b7b1610>
DEBUG hdf_compass.compass_viewer.viewer.load_plugins:190 > Python 2.7.11 64bit on Darwin 14.5.0 (x86_64)
DEBUG hdf_compass.compass_viewer.viewer.load_plugins:192 > numpy 1.11.0
DEBUG hdf_compass.compass_viewer.viewer.load_plugins:193 > matplotlib 1.5.1
DEBUG hdf_compass.compass_viewer.viewer.load_plugins:194 > wxPython 3.0.2.0
DEBUG hdf_compass.compass_viewer.viewer.load_plugins:211 > h5py 2.6.0
DEBUG hdf_compass.compass_viewer.viewer.load_plugins:219 > hydroffice.bag 0.2.12
DEBUG hdf_compass.compass_viewer.viewer.load_plugins:222 > lxml 3.6.0 (libxml 2.9.0, libxslt 1.1.28)
DEBUG hdf_compass.compass_viewer.viewer.load_plugins:235 > pydap 3.1.1 (protocol 2.15)
DEBUG hdf_compass.compass_viewer.frame.__init__:71 > new frame -> open frames: 1 |
All, Just used compass on the mac to look at a BAG... It was very pleasant. Will demo to IHO this week... The BAG viewer has an XML view for the ISO metadata... SMAP also has a big blob of ISO - would it be hard to make that viewer work for the SMAP metadata? Ted ==== Ted Habermann ======================== |
Here we go: https://pypi.python.org/pypi/hdf_compass/0.6.0 |
"Official" releases for Windows and Mac are on s3 now: OS X: http://hdfgroup.download.s3.amazonaws.com/HDFCompass/0.6.0/HDFCompass.dmg I verified that plotting and the BAG plugin works correctly and that the version is correct. If anyone spots other issues, please let me know. |
Yes - closing. |
This issue is to document the set of features/bug fixes for the next (v0.6) HDF Compass Release
compass_model
for text and xml #69See issue #61 for discussion of many of these items.
Excluded from this list (but intended for the next release) are some items (e.g. code signing for Mac binaries) that are a HDFGroup build/deploy process and not a source code issue per se.
The text was updated successfully, but these errors were encountered: