Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

"Bad argument #1 to 'insert' (table expected, got nil)" #4

Open
bigyihsuan opened this issue Sep 5, 2016 · 8 comments
Open

"Bad argument #1 to 'insert' (table expected, got nil)" #4

bigyihsuan opened this issue Sep 5, 2016 · 8 comments
Labels

Comments

@bigyihsuan
Copy link

Hmm.

@DRY411S DRY411S added the invalid label Sep 5, 2016
@DRY411S
Copy link
Owner

DRY411S commented Sep 5, 2016

I cannot reproduce this. I think it is invalid.

I don't think that's anything to do with my mod. Line 1 of the items file (which is reporting the error) is:

table.insert(data.raw["module"]["productivity-module"].limitation, "assembler-battery")

Argument #1 (the bad argument according to the report) is:

data.raw["module"]["productivity-module"].limitation

My mod only inserts into that table, nothing else. If it's not available in your game, then another mod must have deleted it.

@DRY411S
Copy link
Owner

DRY411S commented Nov 3, 2016

Closing. Cannot reproduce.

@DRY411S DRY411S closed this as completed Nov 3, 2016
@ThellraAK
Copy link

ThellraAK commented Nov 17, 2016

As far as I can tell, Bob's Modules removes productivity modules in favor of 'raw productivity modules'

Deleting the file just pushes the error to something else.

@DRY411S
Copy link
Owner

DRY411S commented Nov 17, 2016

Deleting the file is not an option. I'll take a look at what you say about Bob's Modules, but leave this closed for now.

@DRY411S
Copy link
Owner

DRY411S commented Nov 21, 2016

I've communicated with Bob, and he has confirmed that this bug is almost certainly to do with an incompatability with his Modules mod.

Please can you confirm the config settings you are using for Bob's mods. The settings I was using did not flush this bug out.

This is issue is 'promoted' to 'bug' and has been re-opened.

@DRY411S DRY411S reopened this Nov 21, 2016
@bigyihsuan
Copy link
Author

I don't have access to my config, but i remember having the entire Bob's Mods suite.

In terms of the config, I remember that I had combining modules on, God Modules on, and the three mixed modules off.

@DRY411S
Copy link
Owner

DRY411S commented Nov 21, 2016

Thanks. I've also asked Bob for some settings that might trigger this error, but I'll try yours too.

@DRY411S
Copy link
Owner

DRY411S commented Jan 13, 2017

Just an update to say I haven't forgotten, but I just cannot reproduce this error message, and so do not know how to fix it.

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

No branches or pull requests

3 participants