The change you recommended fixed the warning message. Unfortunately the
bigger problem is that the result of the command
"rsaga.get.usage("ta_lighting",2)" reports the following "(null)library
path:     /usr/lib/saga", and therefore does not allow access to this
function within the module. Strangely other functions within the module, for
example "rsaga.get.usage("ta_lighting",3)", provides access and output.

Can you provide input on how to fix this problem?

Stephen

On Wed, Mar 23, 2011 at 1:16 AM, Johan Van de Wauw <
[email protected]> wrote:

> Nice to see that people are using the daily builds!
>
> It's not really an error, rather a warning. Which I believe you can ignore.
> Editing RSAGA-core.R and changing line 238:
>
> 238c238
> <     usage = rsaga.geoprocessor(lib, module, param = list(h=''), env =
> env,
> ---
> >     usage = rsaga.geoprocessor(lib, module, param = list(), env = env,
>
> Will remove the warning. I'm not using RSAGA myself, and I don't have
> sufficient time to test if this change has any other effects - so if
> you try it and it works/if you try it and it fails, please report it.
>
> Johan
>
> On Wed, Mar 23, 2011 at 5:11 AM, sroecker <[email protected]>
> wrote:
> > Public bug reported:
> >
> > Binary package hint: saga
> >
> > See the following message below. While using SAGA GIS CVS and
> > RSAGA_0.91-1.5.tar.gz the following message occurs when accessing the
> > ta_lighting module via R. When accessed from the SAGA GUI the module
> > works fine. Other portions of this module seems to load fine within R.
> >
> > I am using Ubuntu 10.10 and R-2.12.1
> >
> > stephen@stephen:~$ lsb_release -rd
> > Description:    Ubuntu 10.10
> > Release:        10.10
> > stephen@stephen:~$ apt-cache policy saga
> > saga:
> >  Installed: 2.0.6+svn938+9~maverick1
> >  Candidate: 2.0.6+svn938+9~maverick1
> >  Version table:
> >  *** 2.0.6+svn938+9~maverick1 0
> >        500 http://ppa.launchpad.net/johanvdw/sagacvs/ubuntu/maverick/main 
> > amd64 Packages
> >        100 /var/lib/dpkg/status
> >     2.0.5+dfsg-0.1~maverick 0
> >        500 
> > http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu/maverick/main 
> > amd64 Packages
> >     2.0.4+dfsg-2 0
> >        500 http://us.archive.ubuntu.com/ubuntu/ maverick/universe amd64
> Packages
> >
> >
> >> rsaga.get.usage("ta_lighting",2)
> > Unknown option 'h'
> > (null)library path:     /usr/lib/saga
> > library name:   libta_lighting
> > module name :   Potential Incoming Solar Radiation
> >
> > Warning message:
> > running command ''/usr/bin/saga_cmd' libta_lighting 2 -h ' had status 1
> >
> >> rsaga.get.usage("ta_lighting",3)
> > Unknown option 'h'
> > Usage: 3 -DEM <str> -VISIBLE <str> -SVF <str> [-SIMPLE <str>] [-TERRAIN
> <str>] [-MAXRADIUS <str>] [-METHOD <str>] [-LEVEL_INC <str>] [-NDIRS <num>]
> >  -DEM:<str>            Elevation
> >        Grid (input)
> >  -VISIBLE:<str>        Visible Sky
> >        Grid (output)
> >  -SVF:<str>            Sky View Factor
> >        Grid (output)
> >  -SIMPLE:<str>         Sky View Factor (Simplified)
> >        Grid (optional output)
> >  -TERRAIN:<str>        Terrain View Factor
> >        Grid (optional output)
> >  -MAXRADIUS:<str>      Maximum Search Radius
> >        Floating point
> >        Minimum: 0.000000
> >  -METHOD:<str>         Method
> >        Choice
> >        Available Choices:
> >        [0] multi scale
> >        [1] sectors
> >  -LEVEL_INC:<str>      Multi Scale Factor
> >        Floating point
> >        Minimum: 1.250000
> >  -NDIRS:<num>          Number of Sectors
> >        Integer
> >        Minimum: 3.000000
> > library path:   /usr/lib/saga
> > library name:   libta_lighting
> > module name :   Sky View Factor
> >
> > Warning message:
> > running command ''/usr/bin/saga_cmd' libta_lighting 3 -h ' had status 1
> >>
> >
> > ** Affects: saga (Ubuntu)
> >     Importance: Undecided
> >         Status: New
> >
> > --
> > You received this bug notification because you are subscribed to saga in
> > Ubuntu.
> > https://bugs.launchpad.net/bugs/740704
> >
> > Title:
> >  RSAGA_0.91-1.5.tar.gz reports error
> >
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/740704
>
> Title:
>  RSAGA_0.91-1.5.tar.gz reports error
>
> Status in “saga” package in Ubuntu:
>  New
>
> Bug description:
>  Binary package hint: saga
>
>  See the following message below. While using SAGA GIS CVS and
>  RSAGA_0.91-1.5.tar.gz the following message occurs when accessing the
>  ta_lighting module via R. When accessed from the SAGA GUI the module
>  works fine. Other portions of this module seems to load fine within R.
>
>  I am using Ubuntu 10.10 and R-2.12.1
>
>  stephen@stephen:~$ lsb_release -rd
>  Description:  Ubuntu 10.10
>  Release:      10.10
>  stephen@stephen:~$ apt-cache policy saga
>  saga:
>    Installed: 2.0.6+svn938+9~maverick1
>    Candidate: 2.0.6+svn938+9~maverick1
>    Version table:
>   *** 2.0.6+svn938+9~maverick1 0
>          500 http://ppa.launchpad.net/johanvdw/sagacvs/ubuntu/maverick/main 
> amd64 Packages
>          100 /var/lib/dpkg/status
>       2.0.5+dfsg-0.1~maverick 0
>          500 
> http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu/maverick/main 
> amd64 Packages
>       2.0.4+dfsg-2 0
>          500 http://us.archive.ubuntu.com/ubuntu/ maverick/universe amd64
> Packages
>
>
>  > rsaga.get.usage("ta_lighting",2)
>  Unknown option 'h'
>  (null)library path:   /usr/lib/saga
>  library name: libta_lighting
>  module name : Potential Incoming Solar Radiation
>
>  Warning message:
>  running command ''/usr/bin/saga_cmd' libta_lighting 2 -h ' had status 1
>
>  > rsaga.get.usage("ta_lighting",3)
>  Unknown option 'h'
>  Usage: 3 -DEM <str> -VISIBLE <str> -SVF <str> [-SIMPLE <str>] [-TERRAIN
> <str>] [-MAXRADIUS <str>] [-METHOD <str>] [-LEVEL_INC <str>] [-NDIRS <num>]
>    -DEM:<str>          Elevation
>        Grid (input)
>    -VISIBLE:<str>      Visible Sky
>        Grid (output)
>    -SVF:<str>          Sky View Factor
>        Grid (output)
>    -SIMPLE:<str>       Sky View Factor (Simplified)
>        Grid (optional output)
>    -TERRAIN:<str>      Terrain View Factor
>        Grid (optional output)
>    -MAXRADIUS:<str>    Maximum Search Radius
>        Floating point
>        Minimum: 0.000000
>    -METHOD:<str>       Method
>        Choice
>        Available Choices:
>        [0] multi scale
>        [1] sectors
>    -LEVEL_INC:<str>    Multi Scale Factor
>        Floating point
>        Minimum: 1.250000
>    -NDIRS:<num>        Number of Sectors
>        Integer
>        Minimum: 3.000000
>  library path: /usr/lib/saga
>  library name: libta_lighting
>  module name : Sky View Factor
>
>  Warning message:
>  running command ''/usr/bin/saga_cmd' libta_lighting 3 -h ' had status 1
>  >
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/saga/+bug/740704/+subscribe
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/740704

Title:
  RSAGA_0.91-1.5.tar.gz reports error

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to