Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ivew bug (?) #5

Open
shadoxxhd opened this issue Jan 25, 2016 · 8 comments
Open

ivew bug (?) #5

shadoxxhd opened this issue Jan 25, 2016 · 8 comments

Comments

@shadoxxhd
Copy link

when i call iview (all required libraries are installed) it only gets to "Decode NBT", prints a table id and then terminates without printing the serialized version of the NBT data.

@magik6k
Copy link
Contributor

magik6k commented Jan 25, 2016

It's due do fact that NBT reading was removed from OC as discussed there: MightyPirates/OpenComputers#649

@magik6k magik6k closed this as completed Jan 25, 2016
@shadoxxhd
Copy link
Author

"As for get (or whatever it'd be called), I'd imagine it to return what getItemStack does now, minus the NBT (or, if so configured in the settings, including the NBT, I'd still leave that in for those that want it, but defaulting to false)."
I turned on NBT values in the settings, so theoretically it should work

@magik6k
Copy link
Contributor

magik6k commented Jan 25, 2016

Oh, so it's apparently not removed. I'll take a look if I have time.

@magik6k magik6k reopened this Jan 25, 2016
@shadoxxhd
Copy link
Author

did you find something out yet?

@shadoxxhd
Copy link
Author

bumping for attention :P

@TaiGel
Copy link

TaiGel commented Mar 16, 2019

I'm still interesting in this issue =)

@shadoxxhd
Copy link
Author

Is this project dead?

@ABCRic
Copy link

ABCRic commented Aug 19, 2019

I spent a good amount of time hammering on this issue and it seems to be fixed by taking a couple steps:

  1. disable the crc32 check by editing the following line in item.lua:
    output = function(byte)out[#out+1]=string.char(byte)end})
    to
    output = function(byte)out[#out+1]=string.char(byte)end, disable_crc=true})
  2. edit nbt.lua from libnbt to replace the following line:
    local bit32 = bit32
    with
    local bit32 = require "bit32"
    If the packages were installed via oppm, both files are in /usr/lib/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants