GithubHelp home page GithubHelp logo

Comments (11)

PedroVenancio avatar PedroVenancio commented on August 17, 2024 1

@jonnyforestGIS
The problem is fixed here, with the release 0.0.3.

from qgis-processing-r.

nyalldawson avatar nyalldawson commented on August 17, 2024 1

@jonnyforestGIS

I suspect an installation issue there. Try this version -- it will work using the "install plugin from zip" option from the plugins dialog:

r.zip

from qgis-processing-r.

nyalldawson avatar nyalldawson commented on August 17, 2024 1

@jonnyforestGIS

When it's done and you try to run an algorithm, you should see a line like this in the message log panel:

image

from qgis-processing-r.

jonnyforestGIS avatar jonnyforestGIS commented on August 17, 2024 1

Ok @nyalldawson and @PedroVenancio. I will try and give you feedback tomorrow and if everything go right i close this issue. Thank you for your time.

from qgis-processing-r.

nyalldawson avatar nyalldawson commented on August 17, 2024

Can you test with current master version? This should output some debug text to the log panel, under the R tab when you attempt to run an algorithm. It will give the current determined path for the R executable.

from qgis-processing-r.

jonnyforestGIS avatar jonnyforestGIS commented on August 17, 2024

Steps.

  1. Erase the default profile.
  2. Don't import settings from 2.x
  3. Copy and past in the QGIS plugins the r processing plugin master folder.
  4. Run QGIS 3.4.1. Activate the R (assume correctly the path of R in processing settings providers) My case: C:\Program Files\R\R-3.2.0
  5. Run the test script and give me same behavior (Can't find R).

Don't appear nothing in the python warnings or processing log viewer or processing results.
I'm doing something wrong?

from qgis-processing-r.

jonnyforestGIS avatar jonnyforestGIS commented on August 17, 2024

[UPDATE]
After i close and open the QGIS. This errors star int he python warnings.

python_log.txt

2018-11-26T13:17:16     WARNING    warning:C:\OSGEO4~1\apps\Python37\lib\site-packages\yaml\constructor.py:126: DeprecationWarning:
             
             Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
             
             
             traceback: File "", line 1, in 
              File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 335, in startPlugin
              plugins[packageName] = package.classFactory(iface)
              File "C:/Users/raiz/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\r\__init__.py", line 22, in classFactory
              from .r_plugin import RProviderPlugin
              File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File "", line 983, in _find_and_load
              File "", line 967, in _find_and_load_unlocked
              File "", line 677, in _load_unlocked
              File "", line 728, in exec_module
              File "", line 219, in _call_with_frames_removed
              File "C:/Users/raiz/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\r\r_plugin.py", line 22, in 
              from r.processing.provider import RAlgorithmProvider
              File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File "", line 983, in _find_and_load
              File "", line 967, in _find_and_load_unlocked
              File "", line 677, in _load_unlocked
              File "", line 728, in exec_module
              File "", line 219, in _call_with_frames_removed
              File "C:/Users/raiz/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\r\processing\provider.py", line 26, in 
              from processing.core.ProcessingConfig import ProcessingConfig, Setting
              File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File "", line 983, in _find_and_load
              File "", line 953, in _find_and_load_unlocked
              File "", line 219, in _call_with_frames_removed
              File "", line 983, in _find_and_load
              File "", line 953, in _find_and_load_unlocked
              File "", line 219, in _call_with_frames_removed
              File "", line 983, in _find_and_load
              File "", line 967, in _find_and_load_unlocked
              File "", line 677, in _load_unlocked
              File "", line 728, in exec_module
              File "", line 219, in _call_with_frames_removed
              File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\__init__.py", line 29, in 
              from processing.tools.general import * # NOQA
              File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File "", line 983, in _find_and_load
              File "", line 967, in _find_and_load_unlocked
              File "", line 677, in _load_unlocked
              File "", line 728, in exec_module
              File "", line 219, in _call_with_frames_removed
              File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\tools\general.py", line 39, in 
              from processing.core.Processing import Processing
              File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File "", line 983, in _find_and_load
              File "", line 967, in _find_and_load_unlocked
              File "", line 677, in _load_unlocked
              File "", line 728, in exec_module
              File "", line 219, in _call_with_frames_removed
              File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\core\Processing.py", line 58, in 
              from processing.algs.qgis.QgisAlgorithmProvider import QgisAlgorithmProvider # NOQA
              File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File "", line 983, in _find_and_load
              File "", line 967, in _find_and_load_unlocked
              File "", line 677, in _load_unlocked
              File "", line 728, in exec_module
              File "", line 219, in _call_with_frames_removed
              File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\algs\qgis\QgisAlgorithmProvider.py", line 48, in 
              from .QgisAlgorithm import QgisAlgorithm
              File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File "", line 983, in _find_and_load
              File "", line 967, in _find_and_load_unlocked
              File "", line 677, in _load_unlocked
              File "", line 728, in exec_module
              File "", line 219, in _call_with_frames_removed
              File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\algs\qgis\QgisAlgorithm.py", line 30, in 
              from processing.algs.help import shortHelp
              File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File "", line 983, in _find_and_load
              File "", line 967, in _find_and_load_unlocked
              File "", line 677, in _load_unlocked
              File "", line 728, in exec_module
              File "", line 219, in _call_with_frames_removed
              File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\algs\help\__init__.py", line 58, in 
              shortHelp = loadShortHelp()
              File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\algs\help\__init__.py", line 40, in loadShortHelp
              h.update(yaml.load(stream))
              File "C:\OSGEO4~1\apps\Python37\lib\site-packages\yaml\__init__.py", line 72, in load
              return loader.get_single_data()
              File "C:\OSGEO4~1\apps\Python37\lib\site-packages\yaml\constructor.py", line 37, in get_single_data
              return self.construct_document(node)
              File "C:\OSGEO4~1\apps\Python37\lib\site-packages\yaml\constructor.py", line 46, in construct_document
              for dummy in generator:
              File "C:\OSGEO4~1\apps\Python37\lib\site-packages\yaml\constructor.py", line 398, in construct_yaml_map
              value = self.construct_mapping(node)
              File "C:\OSGEO4~1\apps\Python37\lib\site-packages\yaml\constructor.py", line 204, in construct_mapping
              return super().construct_mapping(node, deep=deep)
              File "C:\OSGEO4~1\apps\Python37\lib\site-packages\yaml\constructor.py", line 126, in construct_mapping
              if not isinstance(key, collections.Hashable):
              File "C:\OSGEO4~1\apps\Python37\lib\collections\__init__.py", line 52, in __getattr__
              DeprecationWarning, stacklevel=2)
             


from qgis-processing-r.

nyalldawson avatar nyalldawson commented on August 17, 2024

Thanks @jonnyforestGIS -- I'm keen to get this stable, as these binary paths were a persistently annoying issue with the old 2.x version of the provider.

from qgis-processing-r.

jonnyforestGIS avatar jonnyforestGIS commented on August 17, 2024

Hi 👍 it's working. @nyalldawson I will close this issue. What are the next steps for this provider? Do you intend to put the same features as qgis 2.x? For example Right click to see and change the code for example?

from qgis-processing-r.

nyalldawson avatar nyalldawson commented on August 17, 2024

@jonnyforestGIS you should already be able to edit existing scripts via right click.

The current roadmap is basically outlined via the open tickets here. There's a handful of remain parts to implement still.

from qgis-processing-r.

jonnyforestGIS avatar jonnyforestGIS commented on August 17, 2024

I confirm @nyalldawson .
I just test a sample code of R Histogram equal to QGIS 2.x but give me an error on QGIS 3.x. I will open a new issue with this subject.
Feel free to notify me for extra tests in Windows Environment. Good work.

from qgis-processing-r.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.