An_dz wrote:I've created a fork which works on Windows and Python 3. https://github.com/An-dz/mapit
The fork should work on any OS and with Python 2.7 too.
I used Python 3.3, Numpy 1.9.2 and Pillow 2.8.2 for Py3.3
The problem with Windows is that your test for worldPath checked for / (slash), but Windows uses \ (backslash)
8:40:49: ERROR[main]: generateImage(): Could not load image "World_1.png" while building texture
08:40:49: ERROR[main]: generateImage(): Creating a dummy image for "World_1.png"
nvrsbr wrote:Do I need to install Python for this to work?
An_dz wrote:nvrsbr wrote:Do I need to install Python for this to work?
Of course, and numpy and Pillow. I added the links in my post (You can try using Python 3.4 or 2.7, but I tested on 3.3)
Doriphore wrote:I don't know if other people experienced this, but I have a problem with mapit.
I explore a lot, but when I go further than around +/-2000 (North/south - Weat/East), the map doesn't draw any more.
--region XMIN XMAX ZMIN ZMAX
set the bounding x,z coordinates for the map (units
are nodes, default = -2000 2000 -2000 2000)
2016-01-17 09:38:34: ERROR[main]: ======= END OF ERROR FROM LUA ========
2016-01-17 09:38:34: ERROR[main]: Server: Failed to load and run C:\minetest-0.4.13\bin\..\mods\mapit2\init.lua
2016-01-17 09:38:34: ERROR[main]: ModError: ModError: Failed to load and run C:\minetest-0.4.13\bin\..\mods\mapit2\init.lua
2016-01-17 09:38:34: ERROR[main]: Error from Lua:
2016-01-17 09:38:34: ERROR[main]: C:\minetest-0.4.13\bin\..\mods\mapit2\init.lua:50: attempt to concatenate local 'curModPath' (a nil value)
2016-01-17 09:38:34: ERROR[main]: stack traceback:
2016-01-17 09:38:34: ERROR[main]: C:\minetest-0.4.13\bin\..\mods\mapit2\init.lua:50: in function 'updateMap'
2016-01-17 09:38:34: ERROR[main]: C:\minetest-0.4.13\bin\..\mods\mapit2\init.lua:118: in main chunk
ImportError: No module named sqlite3
OpenBLAS : Your OS doesn't support AVX. Use Nehalem kernels.
Traceback (most recent call last):
File "/mnt/sda3/minetest-master-13/minetest-rivergen/bin/../mods/mapit/minetestmapper-numpy.py", line 1090, in <module>
main()
File "/mnt/sda3/minetest-master-13/minetest-rivergen/bin/../mods/mapit/minetestmapper-numpy.py", line 1076, in main
world.generate_sector_list()
File "/mnt/sda3/minetest-master-13/minetest-rivergen/bin/../mods/mapit/minetestmapper-numpy.py", line 483, in generate_sector_list
self.db = get_db(args)
File "/mnt/sda3/minetest-master-13/minetest-rivergen/bin/../mods/mapit/minetestmapper-numpy.py", line 410, in get_db
return SQLDB(args.world_dir + "map.sqlite")
File "/mnt/sda3/minetest-master-13/minetest-rivergen/bin/../mods/mapit/minetestmapper-numpy.py", line 416, in __init__
import sqlite3
ImportError: No module named sqlite3
mapit: Updated map for world
Users browsing this forum: No registered users and 27 guests