domlysz / BlenderGIS

Blender addons to make the bridge between Blender and geographic data
GNU General Public License v3.0
7.76k stars 1.35k forks source link

Enabling hangs Blender #262

Closed DeanVanGreunen closed 4 years ago

DeanVanGreunen commented 4 years ago

Blender and OS versions Blender 2.80 Alpha, Windows 10 x64

Describe the bug After adding to the addon's list (installed), when clicking the enable checkbox blender hangs, and doesn't respond.

Hangs Blender...

Error message N/A

How to Reproduce Install Addon Try to Check Enable Checkbox.

domlysz commented 4 years ago

please try with a more recent version of Blender

Rohit121l commented 4 years ago

its not working with Blender 2.82

DeanVanGreunen commented 4 years ago

Thanks Rohit. i don't want to update to 2.82 just yet.

On Sat, Feb 15, 2020 at 8:54 PM Rohit121l notifications@github.com wrote:

its not working with Blender 2.82

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/domlysz/BlenderGIS/issues/262?email_source=notifications&email_token=AFKDMC5KQMESWL6GSG7IEB3RDA26VA5CNFSM4KV3FBF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3ULWA#issuecomment-586630616, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFKDMC7GV4MSYQ5EXP2AQH3RDA26VANCNFSM4KV3FBFQ .

-- Dean Van Greunen | LinkedIn Profile https://www.linkedin.com/in/deanvangreunen/ 066 392 2868 https://hangouts.google.com/?action=chat&pn=%2B27663922868&hl=en&authuser=0

Rohit121l commented 4 years ago

Is this working for 2.81

On Sun, Feb 16, 2020, 12:35 AM Dean Van Greunen notifications@github.com wrote:

Thanks Rohit. i don't want to update to 2.82 just yet.

On Sat, Feb 15, 2020 at 8:54 PM Rohit121l notifications@github.com wrote:

its not working with Blender 2.82

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/domlysz/BlenderGIS/issues/262?email_source=notifications&email_token=AFKDMC5KQMESWL6GSG7IEB3RDA26VA5CNFSM4KV3FBF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3ULWA#issuecomment-586630616 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AFKDMC7GV4MSYQ5EXP2AQH3RDA26VANCNFSM4KV3FBFQ

.

-- Dean Van Greunen | LinkedIn Profile https://www.linkedin.com/in/deanvangreunen/ 066 392 2868 < https://hangouts.google.com/?action=chat&pn=%2B27663922868&hl=en&authuser=0

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/domlysz/BlenderGIS/issues/262?email_source=notifications&email_token=AMO22UQTI2KCWL7MFAR66E3RDA4HBA5CNFSM4KV3FBF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3UTEQ#issuecomment-586631570, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMO22UV5MAJZEXPACR6B5I3RDA4HBANCNFSM4KV3FBFQ .

DeanVanGreunen commented 4 years ago

just watched a video by CG Geek on youtube.... not sure what version they were using...but it worked fine.

On Sat, Feb 15, 2020 at 9:08 PM Rohit121l notifications@github.com wrote:

Is this working for 2.81

On Sun, Feb 16, 2020, 12:35 AM Dean Van Greunen notifications@github.com wrote:

Thanks Rohit. i don't want to update to 2.82 just yet.

On Sat, Feb 15, 2020 at 8:54 PM Rohit121l notifications@github.com wrote:

its not working with Blender 2.82

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/domlysz/BlenderGIS/issues/262?email_source=notifications&email_token=AFKDMC5KQMESWL6GSG7IEB3RDA26VA5CNFSM4KV3FBF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3ULWA#issuecomment-586630616

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AFKDMC7GV4MSYQ5EXP2AQH3RDA26VANCNFSM4KV3FBFQ

.

-- Dean Van Greunen | LinkedIn Profile https://www.linkedin.com/in/deanvangreunen/ 066 392 2868 <

https://hangouts.google.com/?action=chat&pn=%2B27663922868&hl=en&authuser=0

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/domlysz/BlenderGIS/issues/262?email_source=notifications&email_token=AMO22UQTI2KCWL7MFAR66E3RDA4HBA5CNFSM4KV3FBF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3UTEQ#issuecomment-586631570 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AMO22UV5MAJZEXPACR6B5I3RDA4HBANCNFSM4KV3FBFQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/domlysz/BlenderGIS/issues/262?email_source=notifications&email_token=AFKDMCYIFYYGCIV5RULKKNLRDA4RJA5CNFSM4KV3FBF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3UUZA#issuecomment-586631780, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFKDMC2ZUN4MS57J2EHTTETRDA4RJANCNFSM4KV3FBFQ .

-- Dean Van Greunen | LinkedIn Profile https://www.linkedin.com/in/deanvangreunen/ 066 392 2868 https://hangouts.google.com/?action=chat&pn=%2B27663922868&hl=en&authuser=0

Rohit121l commented 4 years ago

Even I also tried by watching cg Greek video but it's not working in my Mac What operating system? You have.

On Sun, Feb 16, 2020, 12:42 AM Dean Van Greunen notifications@github.com wrote:

just watched a video by CG Geek on youtube.... not sure what version they were using...but it worked fine.

On Sat, Feb 15, 2020 at 9:08 PM Rohit121l notifications@github.com wrote:

Is this working for 2.81

On Sun, Feb 16, 2020, 12:35 AM Dean Van Greunen < notifications@github.com> wrote:

Thanks Rohit. i don't want to update to 2.82 just yet.

On Sat, Feb 15, 2020 at 8:54 PM Rohit121l notifications@github.com wrote:

its not working with Blender 2.82

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/domlysz/BlenderGIS/issues/262?email_source=notifications&email_token=AFKDMC5KQMESWL6GSG7IEB3RDA26VA5CNFSM4KV3FBF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3ULWA#issuecomment-586630616

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AFKDMC7GV4MSYQ5EXP2AQH3RDA26VANCNFSM4KV3FBFQ

.

-- Dean Van Greunen | LinkedIn Profile https://www.linkedin.com/in/deanvangreunen/ 066 392 2868 <

https://hangouts.google.com/?action=chat&pn=%2B27663922868&hl=en&authuser=0

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <

https://github.com/domlysz/BlenderGIS/issues/262?email_source=notifications&email_token=AMO22UQTI2KCWL7MFAR66E3RDA4HBA5CNFSM4KV3FBF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3UTEQ#issuecomment-586631570

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AMO22UV5MAJZEXPACR6B5I3RDA4HBANCNFSM4KV3FBFQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/domlysz/BlenderGIS/issues/262?email_source=notifications&email_token=AFKDMCYIFYYGCIV5RULKKNLRDA4RJA5CNFSM4KV3FBF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3UUZA#issuecomment-586631780 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AFKDMC2ZUN4MS57J2EHTTETRDA4RJANCNFSM4KV3FBFQ

.

-- Dean Van Greunen | LinkedIn Profile https://www.linkedin.com/in/deanvangreunen/ 066 392 2868 < https://hangouts.google.com/?action=chat&pn=%2B27663922868&hl=en&authuser=0

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/domlysz/BlenderGIS/issues/262?email_source=notifications&email_token=AMO22URIRZCOQPCKJODE2QLRDA5CFA5CNFSM4KV3FBF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3UXSQ#issuecomment-586632138, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMO22UTKZTE2JOV4QRJ3OSLRDA5CFANCNFSM4KV3FBFQ .

DeanVanGreunen commented 4 years ago

windows 10

On Sat, Feb 15, 2020 at 9:27 PM Rohit121l notifications@github.com wrote:

Even I also tried by watching cg Greek video but it's not working in my Mac What operating system? You have.

On Sun, Feb 16, 2020, 12:42 AM Dean Van Greunen notifications@github.com wrote:

just watched a video by CG Geek on youtube.... not sure what version they were using...but it worked fine.

On Sat, Feb 15, 2020 at 9:08 PM Rohit121l notifications@github.com wrote:

Is this working for 2.81

On Sun, Feb 16, 2020, 12:35 AM Dean Van Greunen < notifications@github.com> wrote:

Thanks Rohit. i don't want to update to 2.82 just yet.

On Sat, Feb 15, 2020 at 8:54 PM Rohit121l notifications@github.com wrote:

its not working with Blender 2.82

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/domlysz/BlenderGIS/issues/262?email_source=notifications&email_token=AFKDMC5KQMESWL6GSG7IEB3RDA26VA5CNFSM4KV3FBF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3ULWA#issuecomment-586630616

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AFKDMC7GV4MSYQ5EXP2AQH3RDA26VANCNFSM4KV3FBFQ

.

-- Dean Van Greunen | LinkedIn Profile https://www.linkedin.com/in/deanvangreunen/ 066 392 2868 <

https://hangouts.google.com/?action=chat&pn=%2B27663922868&hl=en&authuser=0

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <

https://github.com/domlysz/BlenderGIS/issues/262?email_source=notifications&email_token=AMO22UQTI2KCWL7MFAR66E3RDA4HBA5CNFSM4KV3FBF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3UTEQ#issuecomment-586631570

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AMO22UV5MAJZEXPACR6B5I3RDA4HBANCNFSM4KV3FBFQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/domlysz/BlenderGIS/issues/262?email_source=notifications&email_token=AFKDMCYIFYYGCIV5RULKKNLRDA4RJA5CNFSM4KV3FBF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3UUZA#issuecomment-586631780

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AFKDMC2ZUN4MS57J2EHTTETRDA4RJANCNFSM4KV3FBFQ

.

-- Dean Van Greunen | LinkedIn Profile https://www.linkedin.com/in/deanvangreunen/ 066 392 2868 <

https://hangouts.google.com/?action=chat&pn=%2B27663922868&hl=en&authuser=0

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/domlysz/BlenderGIS/issues/262?email_source=notifications&email_token=AMO22URIRZCOQPCKJODE2QLRDA5CFA5CNFSM4KV3FBF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3UXSQ#issuecomment-586632138 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AMO22UTKZTE2JOV4QRJ3OSLRDA5CFANCNFSM4KV3FBFQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/domlysz/BlenderGIS/issues/262?email_source=notifications&email_token=AFKDMC3M6LYHAVNMJJKA4GTRDA6ZPA5CNFSM4KV3FBF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3VA7Y#issuecomment-586633343, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFKDMC7HTD6EEWZGTJPR5STRDA6ZPANCNFSM4KV3FBFQ .

-- Dean Van Greunen | LinkedIn Profile https://www.linkedin.com/in/deanvangreunen/ 066 392 2868 https://hangouts.google.com/?action=chat&pn=%2B27663922868&hl=en&authuser=0

appitiza commented 4 years ago

I also tried this, .The map is not loading, A kind of white screen appears. Action performed: ->Enabled Blender GIS in preference(set cache folder location) ->on the main screen selected GIS>>Web geodata>>basemap ->selected Google and satellite option and clicked ok -> a white screen appeared Observation: ->As I move the mouse, latitude and longitude displayed on top of screen changes but latitude and longitude value do not contain the point. Eg instead of a latitude value 14.0888 it shows 140888(May it is just a display string). ->Latitude is changing as you move the mouse to select options like file or edit. So I can not select any option as the click is detected as a click on the map(my assumption) ->a cache file(GOOGLE_SAT_WM.gpkg,size 48kb) is getting created in cache folder.

other details Blender version 2.82 Os: windows 10 (These are my observations,, maybe wrong as I am not a regular user of Blender and this is my first time.)

enzyme69 commented 4 years ago

Hello, MacOS, 2.82 official, also cannot enable this addon:

Traceback (most recent call last):
  File "/Applications/Blender.app/Contents/Resources/2.82/scripts/modules/addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "/Users/jimmygunawan/Library/Application Support/Blender/2.82/scripts/addons/BlenderGIS-master/__init__.py", line 71, in <module>
    from . import geoscene
  File "/Users/jimmygunawan/Library/Application Support/Blender/2.82/scripts/addons/BlenderGIS-master/geoscene.py", line 32, in <module>
    from .operators.utils import mouseTo3d
  File "/Users/jimmygunawan/Library/Application Support/Blender/2.82/scripts/addons/BlenderGIS-master/operators/utils/__init__.py", line 1, in <module>
    from .bgis_utils import placeObj, adjust3Dview, showTextures, addTexture, getBBOX, DropToGround, mouseTo3d, isTopView
  File "/Users/jimmygunawan/Library/Application Support/Blender/2.82/scripts/addons/BlenderGIS-master/operators/utils/bgis_utils.py", line 7, in <module>
    from ...core import BBOX
  File "/Users/jimmygunawan/Library/Application Support/Blender/2.82/scripts/addons/BlenderGIS-master/core/__init__.py", line 14, in <module>
    from .basemaps import GRIDS, SOURCES, MapService, GeoPackage, TileMatrix
  File "/Users/jimmygunawan/Library/Application Support/Blender/2.82/scripts/addons/BlenderGIS-master/core/basemaps/__init__.py", line 2, in <module>
    from .mapservice import MapService, TileMatrix, BBoxRequest, BBoxRequestMZ
  File "/Users/jimmygunawan/Library/Application Support/Blender/2.82/scripts/addons/BlenderGIS-master/core/basemaps/mapservice.py", line 34, in <module>
    from .gpkg import GeoPackage
  File "/Users/jimmygunawan/Library/Application Support/Blender/2.82/scripts/addons/BlenderGIS-master/core/basemaps/gpkg.py", line 26, in <module>
    import sqlite3
  File "/Applications/Blender.app/Contents/Resources/2.82/python/lib/python3.7/sqlite3/__init__.py", line 23, in <module>
    from sqlite3.dbapi2 import *
  File "/Applications/Blender.app/Contents/Resources/2.82/python/lib/python3.7/sqlite3/dbapi2.py", line 27, in <module>
    from _sqlite3 import *
ImportError: dlopen(/Applications/Blender.app/Contents/Resources/2.82/python/lib/python3.7/lib-dynload/_sqlite3.cpython-37m-darwin.so, 2): Library not loaded: /Users/azo/Code/blender/blender_build/build-libs/Release/sqlite/lib/libsqlite3.0.dylib
  Referenced from: /Applications/Blender.app/Contents/Resources/2.82/python/lib/python3.7/lib-dynload/_sqlite3.cpython-37m-darwin.so
  Reason: image not found
domlysz commented 4 years ago

Mac users please read the homepage warning

enzyme69 commented 4 years ago

@domlysz Ok roger that. I can confirm 2.83 alpha works~!

domlysz commented 4 years ago

@appitiza @enzyme69 please do not merge differents issues into the same thread

So about the original issue raised by @DeanVanGreunen (Blender not responding), in fact when the addon is enable for the first time it download an extra library named ImageIO, I suspect the issue come from here. Please, can you report logging informations : start Blender through a system console and report back the messages printed. You can also set the logging level in the addon preferences to "debug" to increase the level of informations that will be reported.

domlysz commented 4 years ago

Installing manually the freeimage lib will probably solve the original issue raised by @DeanVanGreunen. Here the workflow : https://github.com/domlysz/BlenderGIS/wiki/FAQ#how-to-resolve-the-no-imageio-error-

Please reopen you still encounter this problem.

AnshChaurasiya commented 2 years ago

Dear sir, it's not getting enabled in Blender 2.6. Please Help