You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The command nwn-erf --create -0 -M -f module.mod gff_sources/* will throw 'too many open files' exception when building from sources that exceed user limit. Increasing the limit by running ulimit -n NUM where NUM is a number higher than the amount of gff resources is a suitable workaround for unix systems, but I have been unable to find a similar workaround for Windows.
Linux error:
/home/jakob/.gem/ruby/2.3.0/gems/nwn-lib-0.6.0/bin/nwn-erf:167:in `initialize': Too many open files @ rb_sysopen - cache/tmp/mail_hasnomb.nss (Errno::EMFILE)
from /home/jakob/.gem/ruby/2.3.0/gems/nwn-lib-0.6.0/bin/nwn-erf:167:in `open'
from /home/jakob/.gem/ruby/2.3.0/gems/nwn-lib-0.6.0/bin/nwn-erf:167:in `block in <top (required)>'
from /home/jakob/.gem/ruby/2.3.0/gems/nwn-lib-0.6.0/bin/nwn-erf:163:in `each'
from /home/jakob/.gem/ruby/2.3.0/gems/nwn-lib-0.6.0/bin/nwn-erf:163:in `<top (required)>'
from /home/jakob/.gem/ruby/2.3.0/bin/nwn-erf:23:in `load'
from /home/jakob/.gem/ruby/2.3.0/bin/nwn-erf:23:in `<main>'
The text was updated successfully, but these errors were encountered:
I believe this is due to files being opened and never closed in bin/nwn-erf around line 177. I'm looking into this now as I'm having some issues with local dev. Although I'm also on a mac and had to modify the source to be able to pass directories in via the cli so things may be functioning differently depending on what OS you're using @jakkn.
The command
nwn-erf --create -0 -M -f module.mod gff_sources/*
will throw 'too many open files' exception when building from sources that exceed user limit. Increasing the limit by runningulimit -n NUM
where NUM is a number higher than the amount of gff resources is a suitable workaround for unix systems, but I have been unable to find a similar workaround for Windows.Linux error:
The text was updated successfully, but these errors were encountered: