[GRASS-user] ValueError: too many values to unpack

Hi,

I have installed the latest version of GRASS 7 (updated as on Jan 12,
2013) from here http://grass.osgeo.org/grass70/source/snapshot/ on my
ubuntu 11.04.

while running the t.rast.mapcalc I am getting following error message:

Start temporal sampling
100%
Start mapcalc computation
Traceback (most recent call last):
  File "/home/manish/src/dist.x86_64-unknown-linux-gnu/scripts/t.rast.mapcalc",
line 102, in <module>
    main()
  File "/home/manish/src/dist.x86_64-unknown-linux-gnu/scripts/t.rast.mapcalc",
line 97, in main
    base, method, nprocs, register_null, spatial)
  File "/home/manish/src/dist.x86_64-unknown-linux-gnu/etc/python/grass/temporal/mapcalc.py",
line 250, in dataset_mapcalculator
    start, end = sample_map_list[i].get_relative_time()
ValueError: too many values to unpack

Any help to resolve this issue?

-

Manish

Hi Manish,
This error was solved recently (13.01.2013) [1] . Unfortunately is the current snapshot to old for this changes. Soon a more recent snapshot should be available.

Best regards
Soeren

[1] http://trac.osgeo.org/grass/changeset/54619

Am 18.01.2013 20:42 schrieb “Manish Gautam” <manish.gautam29@gmail.com>:

Hi,

I have installed the latest version of GRASS 7 (updated as on Jan 12,
2013) from here http://grass.osgeo.org/grass70/source/snapshot/ on my
ubuntu 11.04.

while running the t.rast.mapcalc I am getting following error message:

Start temporal sampling
100%
Start mapcalc computation
Traceback (most recent call last):
File “/home/manish/src/dist.x86_64-unknown-linux-gnu/scripts/t.rast.mapcalc”,
line 102, in
main()
File “/home/manish/src/dist.x86_64-unknown-linux-gnu/scripts/t.rast.mapcalc”,
line 97, in main
base, method, nprocs, register_null, spatial)
File “/home/manish/src/dist.x86_64-unknown-linux-gnu/etc/python/grass/temporal/mapcalc.py”,
line 250, in dataset_mapcalculator
start, end = sample_map_list[i].get_relative_time()
ValueError: too many values to unpack

Any help to resolve this issue?

Manish


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On Fri, Jan 18, 2013 at 9:08 PM, Sören Gebbert
<soerengebbert@googlemail.com> wrote:

Hi Manish,
This error was solved recently (13.01.2013) [1] . Unfortunately is the
current snapshot to old for this changes. Soon a more recent snapshot should
be available.

Now!

cheers
Markus

Thank you. meanwhile I updated the scripts as suggested in the link.
and now it is working fine.

-

Manish

On 19 January 2013 01:38, Sören Gebbert <soerengebbert@googlemail.com> wrote:

Hi Manish,
This error was solved recently (13.01.2013) [1] . Unfortunately is the
current snapshot to old for this changes. Soon a more recent snapshot should
be available.

Best regards
Soeren

[1] http://trac.osgeo.org/grass/changeset/54619

Am 18.01.2013 20:42 schrieb "Manish Gautam" <manish.gautam29@gmail.com>:

Hi,

I have installed the latest version of GRASS 7 (updated as on Jan 12,
2013) from here http://grass.osgeo.org/grass70/source/snapshot/ on my
ubuntu 11.04.

while running the t.rast.mapcalc I am getting following error message:

Start temporal sampling
100%
Start mapcalc computation
Traceback (most recent call last):
  File
"/home/manish/src/dist.x86_64-unknown-linux-gnu/scripts/t.rast.mapcalc",
line 102, in <module>
    main()
  File
"/home/manish/src/dist.x86_64-unknown-linux-gnu/scripts/t.rast.mapcalc",
line 97, in main
    base, method, nprocs, register_null, spatial)
  File
"/home/manish/src/dist.x86_64-unknown-linux-gnu/etc/python/grass/temporal/mapcalc.py",
line 250, in dataset_mapcalculator
    start, end = sample_map_list[i].get_relative_time()
ValueError: too many values to unpack

Any help to resolve this issue?

-

Manish
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user