biolab / orange3-geo

:tangerine: :earth_africa: Orange add-on for dealing with geography and geo-location
GNU General Public License v3.0
25 stars 28 forks source link

No Chloropleth or Geo Caching widget in GEO Add-On #106

Closed danakw closed 4 years ago

danakw commented 4 years ago
Geo version
Orange version
Expected behavior

3 widgets

Actual behavior

1 widget - Geo Map

Steps to reproduce the behavior

Various reinstalls of Anaconda, Orange Standalone, Different versions of Python and Orange, .... I was able to get Geo-Cache and Geo-Map at one time

Additional info (worksheets, data, screenshots, ...)

image

Below are multiple runs of the requested command 'python -m Orange.canvas -l 4' from an Anaconda Virtual environment.....

(Mining) C:\Users\dan-w>python -m Orange.canvas -l 4 INFO:main:Starting 'Orange Canvas' application. DEBUG:main:Starting CanvasApplicaiton with argv = ['C:\Users\dan-w\.conda\envs\Mining\lib\site-packages\Orange\canvas\main.py']. INFO:orangecanvas.document.usagestatistics:Enabling usage statistics tracking INFO:main:Adding search path 'orange' for prefix, 'canvas_icons' INFO:orangecanvas.application.canvasmain:Setting up Canvas main window. DEBUG:orangecanvas.config:Activating configuration for <Orange.canvas.config.Config object at 0x0000022D0DF12B50> DEBUG:orangewidget.workflow.widgetsscheme:Scheme node properties sync (changed: False) DEBUG:orangecanvas.gui.stackedwidget:Stack transition start () DEBUG:orangecanvas.gui.stackedwidget:Stack transition finished () DEBUG:orangecanvas.registry.cache:Loading widget registry cache ('C:/Users/dan-w/AppData/Local/Orange/cache\3.24.1\registry-cache.pck'). INFO:main:Running widget discovery process. DEBUG:sql_log:Logging started: 2020-04-15 08:15:58 INFO:keyring.backend:Loading KWallet INFO:keyring.backend:Loading SecretService INFO:keyring.backend:Loading Windows INFO:keyring.backend:Loading chainer INFO:keyring.backend:Loading macOS INFO:keyring.backend:Loading Gnome INFO:keyring.backend:Loading Google INFO:keyring.backend:Loading Windows (alt) INFO:keyring.backend:Loading file INFO:keyring.backend:Loading keyczar INFO:keyring.backend:Loading multi INFO:keyring.backend:Loading pyfs DEBUG:orangecanvas.registry.cache:Saving widget registry cache with 589 entries ('C:/Users/dan-w/AppData/Local/Orange/cache\3.24.1\registry-cache.pck'). DEBUG:orangecanvas.registry:'set_global_registry()' - setting registry. INFO:orangecanvas.help.manager:Local doc root 'C:\Users\dan-w.conda\envs\Mining\share/help/en/orange3/htmlhelp/index.html' does not exist INFO:orangecanvas.help.manager:Created <class 'orangecanvas.help.provider.HtmlIndexProvider'> provider for Orange3 3.24.1 DEBUG:orangecanvas.help.provider: GET: https://docs.biolab.si//3/visual-programming/ Date : Wed, 15 Apr 2020 16:16:09 GMT Content-Type : text/html Transfer-Encoding : chunked Connection : keep-alive Set-Cookie : __cfduid=d156376ac58a773bab6db162803a9b3ec1586967369; expires=Fri, 15-May-20 16:16:09 GMT; path=/; domain=.biolab.si; HttpOnly; SameSite=Lax Last-Modified : Wed, 15 Apr 2020 08:07:45 GMT CF-Cache-Status : DYNAMIC Expect-CT : max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" Server : cloudflare CF-RAY : 5846f8286b0fc9b1-SEA Content-Encoding : gzip cf-request-id : 0220396d430000c9b1d3037200000001

INFO:main:Entering main event loop. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): orange.biolab.si:443 DEBUG:urllib3.connectionpool:https://orange.biolab.si:443 "POST /usage-statistics HTTP/1.1" 200 None INFO:main:Usage statistics sent. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): orange.biolab.si:443 DEBUG:urllib3.connectionpool:https://orange.biolab.si:443 "GET /addons/list HTTP/1.1" 200 380789 DEBUG:cachecontrol.controller:Looking up "https://pypi.org/pypi/orange3/json" in the cache DEBUG:cachecontrol.controller:Returning cached "301 Moved Permanently" response (ignoring date and etag information) DEBUG:cachecontrol.controller:Looking up "https://pypi.org/pypi/Orange3/json" in the cache DEBUG:cachecontrol.controller:Current age based on date: 59646 DEBUG:cachecontrol.controller:Freshness lifetime from max-age: 900 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pypi.org:443 DEBUG:urllib3.connectionpool:https://pypi.org:443 "GET /pypi/Orange3/json HTTP/1.1" 304 0 INFO:orangecanvas.application.addons:Running python -m pip install --constraint C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt Orange3-Geo Collecting Orange3-Geo Using cached Orange3-Geo-0.2.7.tar.gz (16.9 MB) Requirement already satisfied: Orange3<4.0a,>=3.20 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from -c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (3.24.1) Requirement already satisfied: scikit-learn in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3-Geo) (0.22.2.post1) Requirement already satisfied: pandas in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3-Geo) (1.0.3) Requirement already satisfied: scipy>=0.17 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3-Geo) (1.3.2) Collecting shapely Downloading Shapely-1.7.0-cp38-cp38-win_amd64.whl (1.0 MB) Collecting simplejson Downloading simplejson-3.17.0.tar.gz (83 kB) Collecting Pillow Downloading Pillow-7.1.1-cp38-cp38-win_amd64.whl (2.0 MB) Requirement already satisfied: bottleneck>=1.0.0 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (1.3.2) Requirement already satisfied: joblib>=0.9.4 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (0.14.1) Requirement already satisfied: serverfiles in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (0.3.0) Requirement already satisfied: pyyaml in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (5.3.1) Requirement already satisfied: requests in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (2.23.0) Requirement already satisfied: networkx in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (2.4) Requirement already satisfied: keyrings.alt in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (3.1) Requirement already satisfied: orange-canvas-core<0.2a,>=0.1.9 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (0.1.12) Requirement already satisfied: matplotlib>=2.0.0 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (3.2.1) Requirement already satisfied: keyring in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (21.1.1) Requirement already satisfied: numpy>=1.16.0 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (1.18.1) Requirement already satisfied: pip>=9.0 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (20.0.2) Requirement already satisfied: docutils in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (0.16) Requirement already satisfied: orange-widget-base>=4.2.0a in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (4.5.0) Requirement already satisfied: openTSNE>=0.3.11 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (0.3.12) Requirement already satisfied: setuptools>=36.3 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (46.1.3.post20200325) Requirement already satisfied: xlrd>=0.9.2 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (1.2.0) Requirement already satisfied: openpyxl in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (3.0.3) Requirement already satisfied: AnyQt>=0.0.8 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (0.0.10) Requirement already satisfied: python-louvain>=0.13 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (0.13) Requirement already satisfied: xlsxwriter in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (1.2.8) Requirement already satisfied: pyqtgraph==0.10.0 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (0.10.0) Requirement already satisfied: chardet>=3.0.2 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (3.0.4) Requirement already satisfied: python-dateutil>=2.6.1 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from pandas->Orange3-Geo) (2.8.1) Requirement already satisfied: pytz>=2017.2 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from pandas->Orange3-Geo) (2019.3) Requirement already satisfied: certifi>=2017.4.17 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from requests->Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (2020.4.5.1) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from requests->Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (1.25.8) Requirement already satisfied: idna<3,>=2.5 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from requests->Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (2.9) Requirement already satisfied: decorator>=4.3.0 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from networkx->Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (4.4.2) Requirement already satisfied: six in c:\users\dan-w.conda\envs\mining\lib\site-packages (from keyrings.alt->Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (1.14.0) Requirement already satisfied: cachecontrol[filecache] in c:\users\dan-w.conda\envs\mining\lib\site-packages (from orange-canvas-core<0.2a,>=0.1.9->Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (0.12.6) Requirement already satisfied: commonmark in c:\users\dan-w.conda\envs\mining\lib\site-packages (from orange-canvas-core<0.2a,>=0.1.9->Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (0.9.1) Requirement already satisfied: dictdiffer in c:\users\dan-w.conda\envs\mining\lib\site-packages (from orange-canvas-core<0.2a,>=0.1.9->Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (0.8.0) Requirement already satisfied: cycler>=0.10 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from matplotlib>=2.0.0->Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (0.10.0) Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from matplotlib>=2.0.0->Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (1.2.0) Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from matplotlib>=2.0.0->Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (2.4.7) Requirement already satisfied: pywin32-ctypes!=0.1.0,!=0.1.1; sys_platform == "win32" in c:\users\dan-w.conda\envs\mining\lib\site-packages (from keyring->Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (0.2.0) Requirement already satisfied: pynndescent>=0.4 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from openTSNE>=0.3.11->Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (0.4.3) Requirement already satisfied: et-xmlfile in c:\users\dan-w.conda\envs\mining\lib\site-packages (from openpyxl->Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (1.0.1) Requirement already satisfied: jdcal in c:\users\dan-w.conda\envs\mining\lib\site-packages (from openpyxl->Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (1.4.1) Requirement already satisfied: msgpack>=0.5.2 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from cachecontrol[filecache]->orange-canvas-core<0.2a,>=0.1.9->Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (1.0.0) Requirement already satisfied: lockfile>=0.9; extra == "filecache" in c:\users\dan-w.conda\envs\mining\lib\site-packages (from cachecontrol[filecache]->orange-canvas-core<0.2a,>=0.1.9->Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (0.12.2) Requirement already satisfied: numba>=0.46 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from pynndescent>=0.4->openTSNE>=0.3.11->Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (0.48.0) Requirement already satisfied: llvmlite<0.32.0,>=0.31.0dev0 in c:\users\dan-w.conda\envs\mining\lib\site-packages (from numba>=0.46->pynndescent>=0.4->openTSNE>=0.3.11->Orange3<4.0a,>=3.20->-c C:\Users\dan-w\AppData\Local\Temp\tmp64v6u7ch.txt (line 1)) (0.31.0) Building wheels for collected packages: Orange3-Geo, simplejson Building wheel for Orange3-Geo (setup.py): started Building wheel for Orange3-Geo (setup.py): finished with status 'done' Created wheel for Orange3-Geo: filename=Orange3_Geo-0.2.7-py3-none-any.whl size=13858563 sha256=a57ba233978793c697fbff563fe65dc2e3b2b8f8ae977c40ddb85733e7adfc9c Stored in directory: c:\users\dan-w\appdata\local\pip\cache\wheels\30\3c\73\9da5116fae991679c1449dc17d64744972a32a4b56a785a998 Building wheel for simplejson (setup.py): started Building wheel for simplejson (setup.py): finished with status 'done' Created wheel for simplejson: filename=simplejson-3.17.0-py3-none-any.whl size=55467 sha256=c03d9f867505c6f387008f92d5d952ee2087eea81becea19b817caaf90c4f952 Stored in directory: c:\users\dan-w\appdata\local\pip\cache\wheels\79\a1\9f\a28ec96c5663fca58b4c735c54b202b4ae08fc4f7624bddb06 Successfully built Orange3-Geo simplejson ERROR: orange3-geo 0.2.7 has requirement Orange3>=3.25.0, but you'll have orange3 3.24.1 which is incompatible. Installing collected packages: shapely, simplejson, Pillow, Orange3-Geo Successfully installed Orange3-Geo-0.2.7 Pillow-7.1.1 shapely-1.7.0 simplejson-3.17.0 DEBUG:orangewidget.workflow.widgetsscheme:Scheme node properties sync (changed: False) DEBUG:orangecanvas.document.schemeedit:Modified strict check (modified flag: False, undo stack clean: True, properties: False) DEBUG:orangewidget.workflow.widgetsscheme:Scheme node properties sync (changed: False)

(Mining) C:\Users\dan-w>python -m Orange.canvas -l 4 INFO:main:Starting 'Orange Canvas' application. DEBUG:main:Starting CanvasApplicaiton with argv = ['C:\Users\dan-w\.conda\envs\Mining\lib\site-packages\Orange\canvas\main.py']. INFO:orangecanvas.document.usagestatistics:Enabling usage statistics tracking INFO:main:Adding search path 'orange' for prefix, 'canvas_icons' INFO:orangecanvas.application.canvasmain:Setting up Canvas main window. DEBUG:orangecanvas.config:Activating configuration for <Orange.canvas.config.Config object at 0x000001614A9E9E50> DEBUG:orangewidget.workflow.widgetsscheme:Scheme node properties sync (changed: False) DEBUG:orangecanvas.gui.stackedwidget:Stack transition start () DEBUG:orangecanvas.gui.stackedwidget:Stack transition finished () DEBUG:orangecanvas.registry.cache:Loading widget registry cache ('C:/Users/dan-w/AppData/Local/Orange/cache\3.24.1\registry-cache.pck'). INFO:main:Running widget discovery process. INFO:orangecanvas.registry.discovery:Ignoring 'C:\Users\dan-w\.conda\envs\Mining\lib\site-packages\Orange\widgets\data\contexthandlers.py'. INFO:orangecanvas.registry.discovery:Ignoring 'C:\Users\dan-w\.conda\envs\Mining\lib\site-packages\Orange\widgets\visualize\owscatterplotgraph.py'. INFO:orangecanvas.registry.discovery:Ignoring 'C:\Users\dan-w\.conda\envs\Mining\lib\site-packages\Orange\widgets\visualize\owscatterplotgraph_obsolete.py'. INFO:orangecanvas.registry.discovery:Ignoring 'C:\Users\dan-w\.conda\envs\Mining\lib\site-packages\Orange\widgets\visualize\owtreeviewer2d.py'. INFO:orangecanvas.registry.discovery:Ignoring 'C:\Users\dan-w\.conda\envs\Mining\lib\site-packages\Orange\widgets\visualize\pythagorastreeviewer.py'. INFO:orangecanvas.registry.discovery:Ignoring 'C:\Users\dan-w\.conda\envs\Mining\lib\site-packages\Orange\widgets\evaluate\contexthandlers.py'. INFO:orangecanvas.registry.discovery:Ignoring 'C:\Users\dan-w\.conda\envs\Mining\lib\site-packages\Orange\widgets\evaluate\utils.py'. WARNING:orangecanvas.registry.discovery:Error while importing 'orangecontrib.geo.widgets.owchoropleth'. Traceback (most recent call last): File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\orangecanvas\registry\discovery.py", line 260, in iter_widget_descriptions module = asmodule(name) File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\orangecanvas\registry\discovery.py", line 503, in asmodule return import(module, fromlist=[""]) File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\orangecontrib\geo\widgets\owchoropleth.py", line 14, in from shapely.geometry import Polygon, MultiPolygon File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\shapely\geometry__init.py", line 4, in from .base import CAP_STYLE, JOIN_STYLE File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\shapely\geometry\base.py", line 18, in from shapely.coords import CoordinateSequence File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\shapely\coords.py", line 8, in from shapely.geos import lgeos File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\shapely\geos.py", line 145, in _lgeos = CDLL(os.path.join(sys.prefix, 'Library', 'bin', 'geos_c.dll')) File "C:\Users\dan-w.conda\envs\Mining\lib\ctypes__init.py", line 373, in init__ self._handle = _dlopen(self._name, mode) FileNotFoundError: Could not find module 'C:\Users\dan-w.conda\envs\Mining\Library\bin\geos_c.dll' (or one of its dependencies). Try using the full path with constructor syntax. DEBUG:sql_log:Logging started: 2020-04-15 08:17:08 WARNING:orangecanvas.registry.discovery:Error while importing 'orangecontrib.geo.widgets.owgeocoding'. Traceback (most recent call last): File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\orangecanvas\registry\discovery.py", line 260, in iter_widget_descriptions module = asmodule(name) File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\orangecanvas\registry\discovery.py", line 503, in asmodule return import(module, fromlist=[""]) File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\orangecontrib\geo\widgets\owgeocoding.py", line 18, in from orangecontrib.geo.mapper import latlon2region, ToLatLon File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\orangecontrib\geo\mapper.py", line 15, in import shapely.speedups File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\shapely\speedups\init.py", line 4, in from shapely.geometry import linestring, polygon File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\shapely\geometry\init.py", line 4, in from .base import CAP_STYLE, JOIN_STYLE File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\shapely\geometry\base.py", line 18, in from shapely.coords import CoordinateSequence File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\shapely\coords.py", line 8, in from shapely.geos import lgeos File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\shapely\geos.py", line 145, in _lgeos = CDLL(os.path.join(sys.prefix, 'Library', 'bin', 'geos_c.dll')) File "C:\Users\dan-w.conda\envs\Mining\lib\ctypes\init.py", line 373, in init__ self._handle = _dlopen(self._name, mode) FileNotFoundError: Could not find module 'C:\Users\dan-w.conda\envs\Mining\Library\bin\geos_c.dll' (or one of its dependencies). Try using the full path with constructor syntax. DEBUG:orangecanvas.registry.cache:Saving widget registry cache with 591 entries ('C:/Users/dan-w/AppData/Local/Orange/cache\3.24.1\registry-cache.pck'). DEBUG:orangecanvas.registry:'set_global_registry()' - setting registry. INFO:orangecanvas.help.manager:Created <class 'orangecanvas.help.provider.HtmlIndexProvider'> provider for Orange3-Geo 0.2.7 INFO:orangecanvas.help.manager:Local doc root 'C:\Users\dan-w.conda\envs\Mining\share/help/en/orange3/htmlhelp/index.html' does not exist INFO:orangecanvas.help.manager:Created <class 'orangecanvas.help.provider.HtmlIndexProvider'> provider for Orange3 3.24.1 DEBUG:orangecanvas.help.provider: GET: https://docs.biolab.si//3/visual-programming/ (served from cache) Date : Wed, 15 Apr 2020 16:16:09 GMT Content-Type : text/html Last-Modified : Wed, 15 Apr 2020 08:07:45 GMT CF-Cache-Status : DYNAMIC Expect-CT : max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" Server : cloudflare CF-RAY : 5846f8286b0fc9b1-SEA Content-Encoding : gzip cf-request-id : 0220396d430000c9b1d3037200000001

DEBUG:orangecanvas.help.provider: GET: https://orange3-geo.readthedocs.io/en/latest/ (served from cache) Content-Type : text/html Content-Encoding : gzip Last-Modified : Fri, 10 Apr 2020 15:05:55 GMT Vary : Accept-Encoding x-ms-lease-status : unlocked x-ms-blob-type : BlockBlob Server : nginx x-ms-request-id : 20c19c92-901e-0077-7041-13d87a000000 x-ms-version : 2009-09-19 Access-Control-Allow-Origin : * X-Served : Nginx-Proxito-Sendfile X-Backend : web04 Strict-Transport-Security : max-age=31536000; X-RTD-Project : orange3-geo X-RTD-Version : latest X-RTD-Path : /proxito/media/html/orange3-geo/latest/index.html X-RTD-Domain : orange3-geo.readthedocs.io X-RTD-Version-Method : subdomain Cache-Tags : orange3-geo-latest,orange3-geo Date : Wed, 15 Apr 2020 16:17:10 GMT

INFO:main:Entering main event loop. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): orange.biolab.si:443 DEBUG:urllib3.connectionpool:https://orange.biolab.si:443 "POST /usage-statistics HTTP/1.1" 200 None INFO:main:Usage statistics sent. DEBUG:orangewidget.workflow.widgetsscheme:Scheme node properties sync (changed: False) DEBUG:orangecanvas.document.schemeedit:Modified strict check (modified flag: False, undo stack clean: True, properties: False) DEBUG:orangewidget.workflow.widgetsscheme:Scheme node properties sync (changed: False)

(Mining) C:\Users\dan-w>python -m Orange.canvas -l 4 INFO:main:Starting 'Orange Canvas' application. DEBUG:main:Starting CanvasApplicaiton with argv = ['C:\Users\dan-w\.conda\envs\Mining\lib\site-packages\Orange\canvas\main.py']. INFO:orangecanvas.document.usagestatistics:Enabling usage statistics tracking INFO:main:Adding search path 'orange' for prefix, 'canvas_icons' INFO:orangecanvas.application.canvasmain:Setting up Canvas main window. DEBUG:orangecanvas.config:Activating configuration for <Orange.canvas.config.Config object at 0x0000014C13829E50> DEBUG:orangewidget.workflow.widgetsscheme:Scheme node properties sync (changed: False) DEBUG:orangecanvas.gui.stackedwidget:Stack transition start () DEBUG:orangecanvas.gui.stackedwidget:Stack transition finished () DEBUG:orangecanvas.registry.cache:Loading widget registry cache ('C:/Users/dan-w/AppData/Local/Orange/cache\3.24.1\registry-cache.pck'). INFO:main:Running widget discovery process. INFO:orangecanvas.registry.discovery:Ignoring 'C:\Users\dan-w\.conda\envs\Mining\lib\site-packages\Orange\widgets\data\contexthandlers.py'. INFO:orangecanvas.registry.discovery:Ignoring 'C:\Users\dan-w\.conda\envs\Mining\lib\site-packages\Orange\widgets\visualize\owscatterplotgraph.py'. INFO:orangecanvas.registry.discovery:Ignoring 'C:\Users\dan-w\.conda\envs\Mining\lib\site-packages\Orange\widgets\visualize\owscatterplotgraph_obsolete.py'. INFO:orangecanvas.registry.discovery:Ignoring 'C:\Users\dan-w\.conda\envs\Mining\lib\site-packages\Orange\widgets\visualize\owtreeviewer2d.py'. INFO:orangecanvas.registry.discovery:Ignoring 'C:\Users\dan-w\.conda\envs\Mining\lib\site-packages\Orange\widgets\visualize\pythagorastreeviewer.py'. INFO:orangecanvas.registry.discovery:Ignoring 'C:\Users\dan-w\.conda\envs\Mining\lib\site-packages\Orange\widgets\evaluate\contexthandlers.py'. INFO:orangecanvas.registry.discovery:Ignoring 'C:\Users\dan-w\.conda\envs\Mining\lib\site-packages\Orange\widgets\evaluate\utils.py'. WARNING:orangecanvas.registry.discovery:Error while importing 'orangecontrib.geo.widgets.owchoropleth'. Traceback (most recent call last): File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\orangecanvas\registry\discovery.py", line 260, in iter_widget_descriptions module = asmodule(name) File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\orangecanvas\registry\discovery.py", line 503, in asmodule return import(module, fromlist=[""]) File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\orangecontrib\geo\widgets\owchoropleth.py", line 14, in from shapely.geometry import Polygon, MultiPolygon File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\shapely\geometry__init.py", line 4, in from .base import CAP_STYLE, JOIN_STYLE File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\shapely\geometry\base.py", line 18, in from shapely.coords import CoordinateSequence File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\shapely\coords.py", line 8, in from shapely.geos import lgeos File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\shapely\geos.py", line 145, in _lgeos = CDLL(os.path.join(sys.prefix, 'Library', 'bin', 'geos_c.dll')) File "C:\Users\dan-w.conda\envs\Mining\lib\ctypes__init.py", line 373, in init__ self._handle = _dlopen(self._name, mode) FileNotFoundError: Could not find module 'C:\Users\dan-w.conda\envs\Mining\Library\bin\geos_c.dll' (or one of its dependencies). Try using the full path with constructor syntax. DEBUG:sql_log:Logging started: 2020-04-15 08:18:43 WARNING:orangecanvas.registry.discovery:Error while importing 'orangecontrib.geo.widgets.owgeocoding'. Traceback (most recent call last): File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\orangecanvas\registry\discovery.py", line 260, in iter_widget_descriptions module = asmodule(name) File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\orangecanvas\registry\discovery.py", line 503, in asmodule return import(module, fromlist=[""]) File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\orangecontrib\geo\widgets\owgeocoding.py", line 18, in from orangecontrib.geo.mapper import latlon2region, ToLatLon File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\orangecontrib\geo\mapper.py", line 15, in import shapely.speedups File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\shapely\speedups\init.py", line 4, in from shapely.geometry import linestring, polygon File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\shapely\geometry\init.py", line 4, in from .base import CAP_STYLE, JOIN_STYLE File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\shapely\geometry\base.py", line 18, in from shapely.coords import CoordinateSequence File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\shapely\coords.py", line 8, in from shapely.geos import lgeos File "C:\Users\dan-w.conda\envs\Mining\lib\site-packages\shapely\geos.py", line 145, in _lgeos = CDLL(os.path.join(sys.prefix, 'Library', 'bin', 'geos_c.dll')) File "C:\Users\dan-w.conda\envs\Mining\lib\ctypes\init.py", line 373, in init__ self._handle = _dlopen(self._name, mode) FileNotFoundError: Could not find module 'C:\Users\dan-w.conda\envs\Mining\Library\bin\geos_c.dll' (or one of its dependencies). Try using the full path with constructor syntax. INFO:orangecanvas.registry.discovery:Ignoring 'C:\Users\dan-w\.conda\envs\Mining\lib\site-packages\orangecontrib\geo\widgets\plotutils.py'. DEBUG:orangecanvas.registry.cache:Saving widget registry cache with 591 entries ('C:/Users/dan-w/AppData/Local/Orange/cache\3.24.1\registry-cache.pck'). DEBUG:orangecanvas.registry:'set_global_registry()' - setting registry. INFO:orangecanvas.help.manager:Created <class 'orangecanvas.help.provider.HtmlIndexProvider'> provider for Orange3-Geo 0.2.7 INFO:orangecanvas.help.manager:Local doc root 'C:\Users\dan-w.conda\envs\Mining\share/help/en/orange3/htmlhelp/index.html' does not exist INFO:orangecanvas.help.manager:Created <class 'orangecanvas.help.provider.HtmlIndexProvider'> provider for Orange3 3.24.1 DEBUG:orangecanvas.help.provider: GET: https://orange3-geo.readthedocs.io/en/latest/ (served from cache) Content-Type : text/html Content-Encoding : gzip Last-Modified : Fri, 10 Apr 2020 15:05:55 GMT Vary : Accept-Encoding x-ms-lease-status : unlocked x-ms-blob-type : BlockBlob Server : nginx x-ms-request-id : 20c19c92-901e-0077-7041-13d87a000000 x-ms-version : 2009-09-19 Access-Control-Allow-Origin : * X-Served : Nginx-Proxito-Sendfile X-Backend : web04 Strict-Transport-Security : max-age=31536000; X-RTD-Project : orange3-geo X-RTD-Version : latest X-RTD-Path : /proxito/media/html/orange3-geo/latest/index.html X-RTD-Domain : orange3-geo.readthedocs.io X-RTD-Version-Method : subdomain Cache-Tags : orange3-geo-latest,orange3-geo Date : Wed, 15 Apr 2020 16:17:10 GMT

DEBUG:orangecanvas.help.provider: GET: https://docs.biolab.si//3/visual-programming/ (served from cache) Date : Wed, 15 Apr 2020 16:16:09 GMT Content-Type : text/html Last-Modified : Wed, 15 Apr 2020 08:07:45 GMT CF-Cache-Status : DYNAMIC Expect-CT : max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" Server : cloudflare CF-RAY : 5846f8286b0fc9b1-SEA Content-Encoding : gzip cf-request-id : 0220396d430000c9b1d3037200000001

INFO:main:Entering main event loop. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): orange.biolab.si:443 DEBUG:urllib3.connectionpool:https://orange.biolab.si:443 "POST /usage-statistics HTTP/1.1" 200 None INFO:main:Usage statistics sent.

ajdapretnar commented 4 years ago

I looked around it is seems like geos_c.dll files are not found. Apparently, it is an issue of channel priority in conda, where geos lib is installed from the default channel instead of conda-forge.

@danakw First, could you run conda list | grep geos and post the output here? Then, could you please try running conda install -c conda-forge geos from your Orange Command Prompt and see if it solves the problem?

danakw commented 4 years ago

Ajda,

            First I would like to thank you for the quick response. I was able to execute the ‘conda list’ command and since I am on a windows box I simply ported the output to a text file and searched it for ‘geos’…. There were NO results found for search term ‘geos’

            I then executed the ‘conda install –c conda-forge geos’ command which resulted in successfully installing the two missing widgets!

            I am very grateful for your assistance with this issue. Orange has such awesome potential. Your explanation also makes sense and helped me understand a little more of the Anaconda architecture.

Very Best Regards,

Dan Wolf

From: Ajda [mailto:notifications@github.com] Sent: Wednesday, April 15, 2020 11:51 PM To: biolab/orange3-geo orange3-geo@noreply.github.com Cc: danakw dan-wolf@gci.net; Mention mention@noreply.github.com Subject: Re: [biolab/orange3-geo] No Chloropleth or Geo Caching widget in GEO Add-On (#106)

I looked around https://gis.stackexchange.com/questions/334373/oserror-could-not-find-lib-geos-c-dll it is seems like geos_c.dll files are not found. Apparently, it is an issue of channel priority in conda, where geos lib is installed from the default channel instead of conda-forge.

@danakw https://github.com/danakw First, could you run conda list | grep geos and post the output here? Then, could you please try running conda install -c conda-forge geos from your Orange Command Prompt and see if it solves the problem?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/biolab/orange3-geo/issues/106#issuecomment-614477182 , or unsubscribe https://github.com/notifications/unsubscribe-auth/APGJGNLDOSYIJU7U6GAPFSDRM22HJANCNFSM4MIXQSHQ .

ajdapretnar commented 4 years ago

This should be fixed when https://github.com/biolab/orange3/issues/4649 is fixed.

Current solution: manually update Orange from the add-on dialogue.

danakw commented 4 years ago

Awesome! I certainly appreciate a means to correct my issue. I really like Orange and its value to the data analytic community is huge!

From: Ajda [mailto:notifications@github.com] Sent: Friday, April 17, 2020 3:07 AM To: biolab/orange3-geo orange3-geo@noreply.github.com Cc: danakw dan-wolf@gci.net; Mention mention@noreply.github.com Subject: Re: [biolab/orange3-geo] No Chloropleth or Geo Caching widget in GEO Add-On (#106)

This should be fixed when biolab/orange3#4649 https://github.com/biolab/orange3/issues/4649 is fixed.

Current solution: manually update Orange from the add-on dialogue.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/biolab/orange3-geo/issues/106#issuecomment-615186162 , or unsubscribe https://github.com/notifications/unsubscribe-auth/APGJGNKRAN5YVTM5ZF3BR2TRNAZ6VANCNFSM4MIXQSHQ .