Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Cate Desktop 2.0.0-dev.16 Installation error dev v ECONNREFUSED error (Mac) #738

Closed
paulfisher123 opened this issue Sep 11, 2018 · 6 comments

Comments

@paulfisher123
Copy link

I expected CATE to install then start on my Macbook Pro

I downloaded CATE desktop 2.0.0-dev.16 from following link at git hub:

https://github.com/CCI-Tools/cate-desktop/releases/download/v2.0.0-dev.16/Cate.Desktop-2.0.0-dev.16.dmg

The installation went well but CATE didn't run though. The application was loading but it took longer than 60 seconds and the attached error message came up (attached screen shot)
screen shot 2018-09-11 at 14 06 06

Steps to reproduce the problem

  1. install dmg
  2. move CATE to applications
  3. press end once installed

Specifications

MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports)
3.5Ghz processor intel core i7
OS Mac High Sierra 10.13.6
Intel Iris graphics card
16GB memory

@hans-permana
Copy link
Contributor

Hi @paulfisher123, is there anything on Cate Dekstop log (~/.cate/cate-desktop.log) or webapi log (~/.cate/2.0.0.dev16/webapi.log)?

@hans-permana
Copy link
Contributor

I should have been clearer when asking for the log files.

To open your log files, you could type the following on the Terminal:
open -t ~/.cate/cate-desktop.log
open -t ~/.cate/2.0.0.dev16/webapi.log

Each command should open a log file using the default text editor application in your machine. Then, you can paste the contents of the logs here in this issue.

@CCI-Tools CCI-Tools deleted a comment from paulfisher123 Sep 12, 2018
@CCI-Tools CCI-Tools deleted a comment from paulfisher123 Sep 12, 2018
@forman
Copy link
Member

forman commented Sep 12, 2018

Actual error is a corrupt installation due to wrong or missing shared library dependencies:

[2018-09-12 09:02:52.425] [info] No response from Cate service after 4.13 seconds: Error: connect ECONNREFUSED 127.0.0.1:9090
[2018-09-12 09:02:52.426] [info] Splash says: Waiting for Cate service (4.13s)
[2018-09-12 09:02:52.924] [error] cate-webapi: Traceback (most recent call last):
  File "/Users/paulfisher/cate-2.0.0.dev16/bin/cate-webapi-start", line 7, in <module>
    from cate.webapi.start import main
  File "/Users/paulfisher/cate-2.0.0.dev16/lib/python3.6/site-packages/cate/webapi/start.py", line 54, in <module>
    from cate.core.types import ValidationError
  File "/Users/paulfisher/cate-2.0.0.dev16/lib/python3.6/site-packages/cate/core/__init__.py", line 41, in <module>
    from .ds import DataStore, DataSource, open_dataset, find_data_sources, DATA_STORE_REGISTRY
  File "/Users/paulfisher/cate-2.0.0.dev16/lib/python3.6/site-packages/cate/core/ds.py", line 90, in <module>
    from .cdm import Schema, get_lon_dim_name, get_lat_dim_name
  File "/Users/paulfisher/cate-2.0.0.dev16/lib/python3.6/site-packages/cate/core/cdm.py", line 116, in <module>
    from .opimpl import get_lat_dim_name_impl, get_lon_dim_name_impl
  File "/Users/paulfisher/cate-2.0.0.dev16/lib/python3.6/site-packages/cate/core/opimpl.py", line 33, in <module>
    from .types import PolygonLike, ValidationError
  File "/Users/paulfisher/cate-2.0.0.dev16/lib/python3.6/site-packages/cate/core/types.py", line 44, in <module>
    import geopandas
  File "/Users/paulfisher/cate-2.0.0.dev16/lib/python3.6/site-packages/geopandas/__init__.py", line 4, in <module>
    from geopandas.io.file import read_file
  File "/Users/paulfisher/cate-2.0.0.dev16/lib/python3.6/site-packages/geopandas/io/file.py", line 3, in <module>
    import fiona
  File "/Users/paulfisher/cate-2.0.0.dev16/lib/python3.6/site-packages/fiona/__init__.py", line 69, in <module>
    from fiona.collection import Collection, BytesCollection, vsi_path
  File "/Users/paulfisher/cate-2.0.0.dev16/lib/python3.6/site-packages/fiona/collection.py", line 9, in <module>
    from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
ImportError: dlopen(/Users/paulfisher/cate-2.0.0.dev16/lib/python3.6/site-packages/fiona/ogrext.cpython-36m-darwin.so, 2): Library not loaded: @rpath/libncurses.6.dylib
  Referenced from: /Users/paulfisher/cate-2.0.0.dev16/lib/libspatialite.7.dylib
  Reason: image not found

@paulfisher123
Copy link
Author

paulfisher123 commented Sep 12, 2018 via email

@paulfisher123
Copy link
Author

paulfisher123 commented Sep 12, 2018 via email

forman added a commit that referenced this issue Sep 12, 2018
forman added a commit to CCI-Tools/cate-desktop that referenced this issue Sep 12, 2018
(cherry picked from commit 4171920)
forman added a commit that referenced this issue Sep 12, 2018
hans-permana added a commit to CCI-Tools/cate-desktop that referenced this issue Sep 12, 2018
@forman
Copy link
Member

forman commented Sep 12, 2018

That solved it!

@forman forman closed this as completed Sep 12, 2018
forman added a commit to CCI-Tools/cate-desktop that referenced this issue Sep 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants