BergWerkGIS / VoGIS-Profil-Tool

VoGIS-Profil-Tool, Amt der Vorarlberger Landesregierung , Landesamt für Vermessung und Geoinformation
http://vorarlberg.at/vorarlberg/bauen_wohnen/bauen/vermessung_geoinformation/start.htm
7 stars 4 forks source link

Dialog of VoGIS-ProfilTool does nt appear. #22

Open NoriyukiA opened 3 years ago

NoriyukiA commented 3 years ago

I cannot see the dialog of VoGIS-ProfilTool when I start VoGIS-ProfilTools from the icon. Log message "INFO Dialog already opened" is shown. This phenomenon reappear after reinstalling of this plug-inn.

wilhelmberg commented 3 years ago

Download the ZIP file from this repository: https://github.com/BergWerkGIS/VoGIS-Profil-Tool/blob/master/VoGisProfilTool.zip and install it via Plugins -> Manage and Install Plugsins... -> Install from ZIP. This should fix it.

lcabon258 commented 2 years ago

I must say that this is an amazing plugin! Really appreciated! After QGIS was crashed and the plugin cannot work; even after trying to reinstall the QGIS or the plugin itself. I cannot install the plugin provided from above link. The error I got is the following:

Couldn't  load plugin 'VoGisProfilTool' due to an error when calling its classFactory() method 

SyntaxError: (value error) invalid \x escape at position 24360 
Traceback (most recent call last):
  File "C:\PROGRA~1/QGIS32~1.0/apps/qgis/./python\qgis\utils.py", line 335, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\VoGisProfilTool\__init__.py", line 26, in classFactory
    from VoGisProfilTool.vogisprofiltoolmain import VoGISProfilToolMain
  File "C:\PROGRA~1/QGIS32~1.0/apps/qgis/./python\qgis\utils.py", line 799, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\VoGisProfilTool\vogisprofiltoolmain.py", line 31, in 
    from VoGisProfilTool.vogisprofiltoolmaindialog import VoGISProfilToolMainDialog
  File "C:\PROGRA~1/QGIS32~1.0/apps/qgis/./python\qgis\utils.py", line 799, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\VoGisProfilTool\vogisprofiltoolmaindialog.py", line 34, in 
    from VoGisProfilTool.vogisprofiltoolplot import VoGISProfilToolPlotDialog
  File "C:\PROGRA~1/QGIS32~1.0/apps/qgis/./python\qgis\utils.py", line 799, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\VoGisProfilTool\vogisprofiltoolplot.py", line 58, in 
    import VoGisProfilTool.resources_rc
  File "C:\PROGRA~1/QGIS32~1.0/apps/qgis/./python\qgis\utils.py", line 799, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\VoGisProfilTool\resources_rc.py", line 725
    "
     ^
SyntaxError: (value error) invalid \x escape at position 24360

Python version: 3.9.5 (tags/v3.9.5:0a7dcbd, May  3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] 
QGIS version: 3.20.0-Odense Odense, decaadbb31 

Python Path:
C:/PROGRA~1/QGIS32~1.0/apps/qgis/./python
C:/Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA~1/QGIS32~1.0/apps/qgis/./python/plugins
C:\PROGRA~1\QGIS32~1.0\bin\python39.zip
C:\PROGRA~1\QGIS32~1.0\apps\Python39\DLLs
C:\PROGRA~1\QGIS32~1.0\apps\Python39\lib
C:\PROGRA~1\QGIS32~1.0\bin
C:\PROGRA~1\QGIS32~1.0\apps\Python39
C:\PROGRA~1\QGIS32~1.0\apps\Python39\lib\site-packages
C:\PROGRA~1\QGIS32~1.0\apps\Python39\lib\site-packages\win32
C:\PROGRA~1\QGIS32~1.0\apps\Python39\lib\site-packages\win32\lib
C:\PROGRA~1\QGIS32~1.0\apps\Python39\lib\site-packages\Pythonwin
C:/Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python

The OS is Windows 10. The QGIS version is 3.20.0. The python version is 3.9.5 from the log.

After a very quick googling, the "resources_rc.py" is a file generate by pyQt (please correct me if it's not the case). I should not modify the file directly (?).

Please give me any hint to solve the problem. Thanks !

wilhelmberg commented 2 years ago

@lcabon258 please try again. I updated the zip: https://github.com/BergWerkGIS/VoGIS-Profil-Tool/blob/master/VoGisProfilTool.zip

olavwv commented 2 years ago

Hi After QGIS was crashed and the plugin cannot work; even after trying to reinstall the QGIS or the plugin itself. I cannot install the plugin provided from above link. The error I got is the following: Det oppstod en feil under kjøring av følgende kode: pyplugin_installer.instance().installFromZipFile(r'C:\Users\Downloads\VoGisProfilTool.zip')

Traceback (most recent call last): File "", line 1, in File "C:\PROGRA~1/QGIS32~1.3/apps/qgis/./python\pyplugin_installer\installer.py", line 575, in installFromZipFile with zipfile.ZipFile(filePath, 'r') as zf: File "C:\PROGRA~1\QGIS32~1.3\apps\Python39\lib\zipfile.py", line 1257, in init self._RealGetContents() File "C:\PROGRA~1\QGIS32~1.3\apps\Python39\lib\zipfile.py", line 1324, in _RealGetContents raise BadZipFile("File is not a zip file") zipfile.BadZipFile: File is not a zip file

Python-versjon: 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)]

QGIS-versjon: 3.22.3-Białowieża 'Białowieża', 1628765ec7

Python-sti: ['C:/PROGRA~1/QGIS32~1.3/apps/qgis/./python', 'C:/Users/OlavWollebækVeslesto/AppData/Roaming/QGIS/QGIS3\profiles\default/python', 'C:/Users/OlavWollebækVeslesto/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins', 'C:/PROGRA~1/QGIS32~1.3/apps/qgis/./python/plugins', 'C:\Program Files\QGIS 3.22.3\bin\python39.zip', 'C:\PROGRA~1\QGIS32~1.3\apps\Python39\DLLs', 'C:\PROGRA~1\QGIS32~1.3\apps\Python39\lib', 'C:\Program Files\QGIS 3.22.3\bin', 'C:\PROGRA~1\QGIS32~1.3\apps\Python39', 'C:\PROGRA~1\QGIS32~1.3\apps\Python39\lib\site-packages', 'C:\PROGRA~1\QGIS32~1.3\apps\Python39\lib\site-packages\GDAL-3.4.1-py3.9-win-amd64.egg', 'C:\PROGRA~1\QGIS32~1.3\apps\Python39\lib\site-packages\win32', 'C:\PROGRA~1\QGIS32~1.3\apps\Python39\lib\site-packages\win32\lib', 'C:\PROGRA~1\QGIS32~1.3\apps\Python39\lib\site-packages\Pythonwin', 'C:/Users/OlavWollebækVeslesto/AppData/Roaming/QGIS/QGIS3\profiles\default/python']

wilhelmberg commented 2 years ago

@olavwv looking at the error message

"File is not a zip file"

it seems you got a faulty download.

Please re-download the ZIP and try to install again. https://github.com/BergWerkGIS/VoGIS-Profil-Tool/blob/master/VoGisProfilTool.zip

olavwv commented 2 years ago

Hi I got it installed again but when I press the icon in qgis nothing happens,

Fra: Wilhelm Berg @. @.>
Sendt: torsdag 20. januar 2022 11:15 Til: BergWerkGIS/VoGIS-Profil-Tool @.> Kopi: olavwv @.>; Mention @.***> Emne: Re: [BergWerkGIS/VoGIS-Profil-Tool] Dialog of VoGIS-ProfilTool does nt appear. (#22)

@olavwv https://github.com/olavwv looking at the error message

"File is not a zip file"

it seems you got a faulty download.

Please re-download the ZIP and try to install again. https://github.com/BergWerkGIS/VoGIS-Profil-Tool/blob/master/VoGisProfilTool.zip

— Reply to this email directly, view it on GitHub https://github.com/BergWerkGIS/VoGIS-Profil-Tool/issues/22#issuecomment-1017318163 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AXL4567JUKAPWAH7GPLPEADUW7OBFANCNFSM4YEP426Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AXL456ZBKQRDOTFJ55MCDFDUW7OBFA5CNFSM4YEP4262YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHSRQWEY.gif Message ID: @. @.> >

wilhelmberg commented 2 years ago

@olavwv open the Log Messages panel: View -> Panels -> Log Messages

Then click on the icon. Any error messages in the log panel?

olavwv commented 2 years ago

2022-01-20T10:52:29 INFO Locale: nb

2022-01-20T10:52:51 INFO Is open: True

2022-01-20T10:52:51 INFO Dialog already opened

2022-01-20T10:52:54 INFO Is open: True

2022-01-20T10:52:54 INFO Dialog already opened

2022-01-20T10:52:54 INFO Is open: True

2022-01-20T10:52:54 INFO Dialog already opened

2022-01-20T10:52:55 INFO Is open: True

2022-01-20T10:52:55 INFO Dialog already opened

2022-01-20T10:52:55 INFO Is open: True

2022-01-20T10:52:55 INFO Dialog already opened

2022-01-20T10:52:55 INFO Is open: True

2022-01-20T10:52:55 INFO Dialog already opened

2022-01-20T11:04:41 INFO Is open: True

2022-01-20T11:04:41 INFO Dialog already opened

2022-01-20T11:28:09 INFO Is open: True

2022-01-20T11:28:09 INFO Dialog already opened

2022-01-20T13:24:15 INFO Is open: True

2022-01-20T13:24:15 INFO Dialog already opened

Fra: Wilhelm Berg @.> Sendt: torsdag 20. januar 2022 11:35 Til: BergWerkGIS/VoGIS-Profil-Tool @.> Kopi: olavwv @.>; Mention @.> Emne: Re: [BergWerkGIS/VoGIS-Profil-Tool] Dialog of VoGIS-ProfilTool does nt appear. (#22)

@olavwv https://github.com/olavwv open the Log Messages panel: View -> Panels -> Log Messages

Then click on the icon. Any error messages in the log panel?

— Reply to this email directly, view it on GitHub https://github.com/BergWerkGIS/VoGIS-Profil-Tool/issues/22#issuecomment-1017336678 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AXL4562Y6SAGCJ5G2JJWTB3UW7QNLANCNFSM4YEP426Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AXL4563HYTAVJKTYR3VDLBLUW7QNLA5CNFSM4YEP4262YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHSRVGZQ.gif Message ID: @. @.> >

wilhelmberg commented 2 years ago

@olavwv hm, that's weird.

Please try this:

olavwv commented 2 years ago

Hi thanks this worked.

I have used other addinn. they manage and read imported trac from the phone.

But yours can not. Attaches a file that does not work with you.

Fra: Wilhelm Berg @.> Sendt: fredag 21. januar 2022 10:57 Til: BergWerkGIS/VoGIS-Profil-Tool @.> Kopi: olavwv @.>; Mention @.> Emne: Re: [BergWerkGIS/VoGIS-Profil-Tool] Dialog of VoGIS-ProfilTool does nt appear. (#22)

@olavwv https://github.com/olavwv hm, that's weird.

Please try this:

— Reply to this email directly, view it on GitHub https://github.com/BergWerkGIS/VoGIS-Profil-Tool/issues/22#issuecomment-1018352836 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AXL4563IOCAMO234JYHVHEDUXEUV5ANCNFSM4YEP426Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AXL4566KASSUCLGY4Z57H63UXEUV5A5CNFSM4YEP4262YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHSZNJRA.gif Message ID: @. @.> >