gobiernolarioja / forestroaddesigner Goto Github PK
View Code? Open in Web Editor NEWThis plugin serve as support of foresters in the design of forest
Home Page: https://plugins.qgis.org/plugins/
License: GNU General Public License v3.0
This plugin serve as support of foresters in the design of forest
Home Page: https://plugins.qgis.org/plugins/
License: GNU General Public License v3.0
Buen día, utilizo Qgis 3.8.2-Zanzibar.
Quise probar el Plugin Forest Road Designer.
Primero no aparece en la ventana de complementos. Luego lo descargúe de Github y no lo pude instalar mediante el ZIP. Marca el siguiente error.:
..."
**No se pudo cargar el complemento 'forestroaddesigner' debido a un error al llamar a su método classFactory()
ImportError: PyQt4 classes cannot be imported in QGIS 3.x. Use PyQt5.QtCore or the version independent qgis.PyQt.QtCore import instead.
Traceback (most recent call last):
File "C:/PROGRA1/QGIS31.8/apps/qgis/./python\qgis\utils.py", line 334, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/Usuario/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\forestroaddesigner_init.py", line 43, in classFactory
from .forest_road_designer import ForestRoadDesigner
File "C:/PROGRA1/QGIS31.8/apps/qgis/./python\qgis\utils.py", line 737, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/Usuario/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\forestroaddesigner\forest_road_designer.py", line 34, in
from PyQt4.QtCore import QSettings, QTranslator, qVersion, QCoreApplication, Qt
File "C:/PROGRA1/QGIS31.8/apps/qgis/./python\qgis\utils.py", line 735, in _import
raise ImportError(msg)
ImportError: PyQt4 classes cannot be imported in QGIS 3.x.
Use PyQt5.QtCore or the version independent qgis.PyQt.QtCore import instead.
Versión de Python: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
Versión de QGIS: 3.8.2-Zanzibar Zanzibar, 4470baa1a3
Ruta de Python:
C:/Users/Usuario/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ForestRoadsNetworksUPLOAD
C:/Users/Usuario/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\BoundaryDelineation-master/lib
C:/PROGRA1/QGIS31.8/apps/qgis/./python
C:/Users/Usuario/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/Usuario/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA1/QGIS31.8/apps/qgis/./python/plugins
C:\PROGRA1\QGIS31.8\bin\python37.zip
C:\PROGRA1\QGIS31.8\apps\Python37\DLLs
C:\PROGRA1\QGIS31.8\apps\Python37\lib
C:\PROGRA1\QGIS31.8\bin
C:\PROGRA1\QGIS31.8\apps\Python37
C:\PROGRA1\QGIS31.8\apps\Python37\lib\site-packages
C:\PROGRA1\QGIS31.8\apps\Python37\lib\site-packages\win32
C:\PROGRA1\QGIS31.8\apps\Python37\lib\site-packages\win32\lib
C:\PROGRA1\QGIS31.8\apps\Python37\lib\site-packages\Pythonwin
C:/Users/Usuario/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:\Users\Usuario\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools\tools
C:\Users\Usuario\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools
C:/Users/Usuario/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\go2mapillary
C:\Users\Usuario\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\go2mapillary\extlibs
F:/002 IGN/999_ANILLO_REGIONAL
C:\Users\Usuario\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools\tools
C:\Users\Usuario\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools**"...
Algún comentario...
Muchas gracias.
Francisco Vela.
After upgrading to latest version of QGIS this plugin is giving errors upon installation and cannot be used.
See error log below:
Couldn't load plugin 'forestroaddesigner' due to an error when calling its classFactory() method
ModuleNotFoundError: No module named 'frd_utils'
Traceback (most recent call last):
File "C:\Users/..../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\forestroaddesigner\optimizer_qgis.py", line 47, in
from .route_optimizer import a_star
File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\Users/..../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\forestroaddesigner\route_optimizer\a_star.py", line 19, in
import scipy.interpolate
File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import
mod = builtin_import(name, globals, locals, fromlist, level)
File "C:\OSGeo4W\apps\Python39\lib\site-packages\scipy\interpolate_init.py", line 167, in
from ._interpolate import *
File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\OSGeo4W\apps\Python39\lib\site-packages\scipy\interpolate_interpolate.py", line 8, in
import scipy.special as spec
File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import
mod = builtin_import(name, globals, locals, fromlist, level)
File "C:\OSGeo4W\apps\Python39\lib\site-packages\scipy\special_init.py", line 689, in
from . import add_newdocs, basic, orthogonal, specfun, sf_error, spfun_stats
File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: DLL load failed while importing specfun: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 423, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:\Users/..../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\forestroaddesigner_init.py", line 34, in classFactory
from .forest_road_designer import ForestRoadDesigner
File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\Users/..../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\forestroaddesigner\forest_road_designer.py", line 31, in
from .processing_provider.provider import Provider
File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\Users/..../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\forestroaddesigner\processing_provider\provider.py", line 4, in
from .frd_processing_algorithm import ForestRoadDesignerProcessingAlgorithm
File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\Users/..../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\forestroaddesigner\processing_provider\frd_processing_algorithm.py", line 33, in
from .. import optimizer_qgis as oq
File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\Users/..../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\forestroaddesigner\optimizer_qgis.py", line 51, in
import frd_utils
File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'frd_utils'
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.32.2-Lima Lima, c0b88339
Python Path:
C:\Users/..../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\road_slope_calculator
C:\Users/..../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\OpenTopography-DEM-Downloader
C:/OSGeo4W/apps/qgis/./python
C:/Users/..../AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/..../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/OSGeo4W/apps/qgis/./python/plugins
C:\OSGeo4W\apps\grass\grass83\etc\python
C:\Users....\Documents
C:\OSGeo4W\bin\python39.zip
C:\OSGeo4W\apps\Python39\DLLs
C:\OSGeo4W\apps\Python39\lib
C:\OSGeo4W\bin
C:\Users....\AppData\Roaming\Python\Python39\site-packages
C:\OSGeo4W\apps\Python39
C:\OSGeo4W\apps\Python39\lib\site-packages
C:\OSGeo4W\apps\Python39\lib\site-packages\win32
C:\OSGeo4W\apps\Python39\lib\site-packages\win32\lib
C:\OSGeo4W\apps\Python39\lib\site-packages\Pythonwin
C:/Users/..../AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:\Users/..../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web
C:\Users....\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.