Comments (4)
Seems like something got corrupted somewhere - can you upload the schematic for testing?
As a temporary workaround until this is fixed, try a build without LuaJIT.
from minetest-worldedit.
Minetest engine, GitHub commit, 2014_12_10, fb80a7c111
Requested schematic, same build, 2 files (1 LuaJIT, 1 without), default nodes:
With LuaJIT - we_luajit.we
https://dl.dropboxusercontent.com/u/30991334/we_luajit.we
Without LuaJIT - we_no_luajit.we
https://dl.dropboxusercontent.com/u/30991334/we_no_luajit.we
I compiled Minetest without LuaJIT (-DDISABLE_LUAJIT=1) and another instance with LuaJIT.
In the LuaJIT instance I //saved we_luajit and then tried //loading it in another world - Minetest crashed with the same errors.
Then I copied both worlds into the **non-**LuaJIT instance, //saved we_no_luajit, and successfully //loaded it into the other world.
While still in the **non-**LuaJIT, I then tried //loading the we_luajit file and it worked.
Following that, I copyied we_no_luajit.we into a world in the LuaJIT compiled instance of Minetest and Minetest crashed when I tried to //load the schematic with the same error.
So it would seem that the //save process works in both **non-**LuaJIT and LuaJIT compiled instances of Minetest but the //load process is fubared.
While using WorldEdit in the **non-**LuaJIT instance, these errors came-up in the terminal:
05:33:41: WARNING: Undeclared global variable "jit" accessed at ...ods/WorldEdit_2014_10_24/worldedit/serialization.lua:157
05:33:41: ERROR[ServerThread]: Assignment to undeclared global "z" inside a function at ...ods/WorldEdit_2014_10_24/worldedit/serialization.lua:202.
05:33:41: ERROR[ServerThread]: Assignment to undeclared global "y" inside a function at ...ods/WorldEdit_2014_10_24/worldedit/serialization.lua:202.
05:33:41: ERROR[ServerThread]: Assignment to undeclared global "x" inside a function at ...ods/WorldEdit_2014_10_24/worldedit/serialization.lua:202.
I hope this helps.
from minetest-worldedit.
I can confirm this bug also. Another example schematic that crashes Minetest (with the same error/backtrace as LazyJ initially reported; I use LuaJIT also):
http://digitalaudioconcepts.com/vanessa/hobbies/minetest/oldspawn.we
In my case, I was simply trying to reload the schematic into another area in the same world from which it was just saved a minute or so prior (I was moving the "spawn building" in one of my worlds).
from minetest-worldedit.
I think this should be fixed in 04fdf92 - give it a try! Your test cases were very useful - for some reason minetest.deserialize
now returns two values rather than one, which messed up our entry insertion.
from minetest-worldedit.
Related Issues (20)
- Add command to count different nodes in a selection
- Crash if typing in nonsense mtschemprob values and then getting them
- Please rename //clearobjects HOT 2
- Compatible with MineClone2? HOT 1
- Crash on loading Schem files (5.7.0) HOT 4
- Constant unknown error when loading schematics HOT 6
- //clearobjects not clears objects HOT 1
- Unable to load saved things HOT 7
- Text of signs is not exported / imported with mtschemcreate / mtschemplace HOT 1
- Add WorldEdit GUI to Mineclone2
- Lua error when area is too big HOT 1
- Redefining `//1` and `//2` should clear the previous action for which `//y` is pending
- Q&A: I have an OpenSCAD and Blender model how do I print it into Minetest?
- add a line command HOT 1
- README.md: The link to the Minetest forums does not work HOT 2
- `//shift` is broken
- Think about version support
- `.we.gz` as a schematic format
- Using stack from the GUI: transform.lua:94: attempt to call field 'stack' (a nil value) HOT 1
- Use current selected item for //set and other related commands HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minetest-worldedit.