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

in centos7.3,cannot run #3

Open
xinpengliu opened this issue Jun 13, 2020 · 4 comments
Open

in centos7.3,cannot run #3

xinpengliu opened this issue Jun 13, 2020 · 4 comments

Comments

@xinpengliu
Copy link

[root@node3 Iptables-Editor-Gui]# ./ipteditor
Traceback (most recent call last):
7: from ./ipteditor:344:in <main>' 6: from ./ipteditor:310:in exec'
5: from ./ipteditor:304:in iptables' 4: from /root/Iptables-Editor-Gui/ipteditor-modules/tablesnotebook.rb:93:in text='
3: from /root/Iptables-Editor-Gui/ipteditor-modules/tablesnotebook.rb:157:in loadRules' 2: from /root/Iptables-Editor-Gui/ipteditor-modules/tablesnotebook.rb:157:in each'
1: from /root/Iptables-Editor-Gui/ipteditor-modules/tablesnotebook.rb:179:in block in loadRules' /root/Iptables-Editor-Gui/ipteditor-modules/chainsnotebook.rb:61:in addChain': undefined method `policy=' for nil:NilClass (NoMethodError)

@jagiella
Copy link

Same problem on Ubuntu 18.04.

I installed the following dependencies:

sudo apt install ruby
sudo apt install ruby-gtk2
sudo gem install gettext

@amiltonjr
Copy link

On CentOS 7 I am having the following issue:

/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- gettext (LoadError)
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from ./ipteditor:18:in `<main>

@mclaudt
Copy link

mclaudt commented Oct 14, 2020

Same on Ubuntu 20.04 LTS

mclaudt added a commit to mclaudt/Iptables-Editor-Gui that referenced this issue Oct 14, 2020
Fix for Intika-Linux-Firewall#3
Fixnum is deprecated, should use Integer instead.
@mclaudt
Copy link

mclaudt commented Oct 14, 2020

On CentOS 7 I am having the following issue:

/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- gettext (LoadError)
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from ./ipteditor:18:in `<main>

Your issue is due to the lack of gettext. Just do sudo gem install gettext.

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