mathuin/TopoMC — Issue #6: ValueError: need more than 1 value to unpack plus strange rendering behavior when successful.
Author: dragos240
Created: 2012-01-07 21:18:19+00:00
State: open

Hello!

This error seems to be caused when running BuildArray.py with a scale and a vscale factor of 1.

Here's the output of ./BuildArrays.py --region GreatNeck --scale 1 --vscale 1 --disable-ore --disable-stats:

Import error loading precompiled _nbt extension. Trying pyximport...
Accelerated NBT module loaded via pyximport.
../pymclevel/materials.py:152: UserWarning: Module argparse was already imported from /usr/lib64/python2.7/argparse.pyc, but /usr/lib64/python2.7/site-packages is being added to sys.path
import pkg_resources
Processing region GreatNeck of size (134, 137) with 4 processes...
ERROR 2: Invalid dimensions : 8 x 0
Traceback (most recent call last):
File "./BuildArrays.py", line 156, in
sys.exit(main(sys.argv))
File "./BuildArrays.py", line 128, in main
peaks = processTiles(args, minTileRows, maxTileRows, minTileCols, maxTileCols, processes)
File "/home/harley/TopoMC/tile.py", line 167, in processTiles
peaks = [x for x in results]
File "/usr/lib64/python2.7/multiprocessing/pool.py", line 620, in next
raise value
ValueError: need more than 1 value to unpack

What's annoying here is that when proccessing regions in a large scale, it can take a while on the average computer to process the task, so it also takes a while to get the error.

The region "GreatNeck" was created by:
./GetDataset.py --region GreatNeck --xmin -70.82 --xmax -70.78 --ymin 42.71 --ymax 42.68

If anyone sees this. Try to run these commands yourself, if so, do you get the same error?

My python version is 2.7. I've created worlds with a scale factor of 6 (the default) with some odd behavior.
The strange behavior being if the world is imported to minecraft directly and run, the world will be overwritten with a random seed as if it had been generated with the ingame generator. If opened in MCEdit, the spawn point is near bedrock and at the very edge of the world, if you save the world in MCEdit, you will be able to use it in minecraft 1.0.0, however if the spawn is not changed, you will continue to fall off the world. I had done all of this and got some stranger behavior when minecraft was open. The issue is the area was generated correctly, but a seed was still used, this created an effect that looked like the far lands. When you reached the border of a world, the seed started to generate land high above the area.

If you need more output, or info. Please reply.

Thanks,
Dragos240