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

`require': cannot load such file -- erlport/cli (LoadError) #8

Open
ilovemysillybanana opened this issue Apr 24, 2019 · 0 comments
Open

Comments

@ilovemysillybanana
Copy link

ilovemysillybanana commented Apr 24, 2019

Trying to build this from source leads to the following errors:

jose@devbox:~/export (master *%)$ mix test
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- erlport/cli (LoadError)
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from -e:1:in `<main>'
=ERROR REPORT==== 24-Apr-2019::14:18:50.851078 ===
** Generic server name terminating
** Last message in was {#Port<0.6>,{exit_status,1}}
** When Server state == {state,infinity,0,#Port<0.6>,
                               [{1,
                                 {{<0.177.0>,
                                   #Ref<0.1331792202.2041577475.72287>},
                                  undefined}}],
                               []}
** Reason for termination ==
** {port_closed,{code,1}}

=CRASH REPORT==== 24-Apr-2019::14:18:50.857599 ===
  crasher:
    initial call: erlport:init/1
    pid: <0.178.0>
    registered_name: name
    exception exit: {port_closed,{code,1}}
      in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
    ancestors: [<0.177.0>]
    message_queue_len: 1
    messages: [{'EXIT',#Port<0.6>,normal}]
    links: []
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 2586
    stack_size: 27
    reductions: 4571
  neighbours:



  1) test Ruby.start with name (ExportRubyTest)
     test/export_ruby_test.exs:14
     ** (ErlangError) Erlang error: {:port_closed, {:code, 1}}
     code: result = pid |> Ruby.call("test", "upcase", ["hello"])
     stacktrace:
       (erlport) /export/home/jose/export/deps/erlport/src/erlport.erl:234: :erlport.call/3
       test/export_ruby_test.exs:16: (test)

/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- erlport/cli (LoadError)
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from -e:1:in `<main>'
=ERROR REPORT==== 24-Apr-2019::14:18:50.895793 ===
** Generic server name terminating
** Last message in was {#Port<0.8>,{exit_status,1}}
** When Server state == {state,infinity,0,#Port<0.8>,
                               [{1,
                                 {{<0.179.0>,
                                   #Ref<0.1331792202.2041577473.73492>},
                                  undefined}}],
                               []}
** Reason for termination ==
** {port_closed,{code,1}}

=CRASH REPORT==== 24-Apr-2019::14:18:50.896061 ===
  crasher:
    initial call: erlport:init/1
    pid: <0.180.0>
    registered_name: []
    exception exit: {port_closed,{code,1}}
      in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
    ancestors: [<0.179.0>]
    message_queue_len: 1
    messages: [{'EXIT',#Port<0.8>,normal}]
    links: []
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 1598
    stack_size: 27
    reductions: 4485
  neighbours:



  2) test Ruby.start with global name (ExportRubyTest)
     test/export_ruby_test.exs:21
     ** (ErlangError) Erlang error: {:port_closed, {:code, 1}}
     code: result = pid |> Ruby.call("test", "upcase", ["hello"])
     stacktrace:
       (erlport) /export/home/jose/export/deps/erlport/src/erlport.erl:234: :erlport.call/3
       test/export_ruby_test.exs:23: (test)

/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- erlport/cli (LoadError)
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from -e:1:in `<main>'
=ERROR REPORT==== 24-Apr-2019::14:18:50.935981 ===
** Generic server <0.182.0> terminating
** Last message in was {#Port<0.10>,{exit_status,1}}
** When Server state == {state,infinity,0,#Port<0.10>,
                               [{1,
                                 {{<0.181.0>,
                                   #Ref<0.1331792202.2041577473.73513>},
                                  undefined}}],
                               []}
** Reason for termination ==
** {port_closed,{code,1}}

=CRASH REPORT==== 24-Apr-2019::14:18:50.936280 ===
  crasher:
    initial call: erlport:init/1
    pid: <0.182.0>
    registered_name: []
    exception exit: {port_closed,{code,1}}
      in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
    ancestors: [<0.181.0>]
    message_queue_len: 1
    messages: [{'EXIT',#Port<0.10>,normal}]
    links: []
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 1598
    stack_size: 27
    reductions: 4463
  neighbours:



  3) test Ruby.start (ExportRubyTest)
     test/export_ruby_test.exs:7
     ** (ErlangError) Erlang error: {:port_closed, {:code, 1}}
     code: result = pid |> Ruby.call("test", "upcase", ["hello"])
     stacktrace:
       (erlport) /export/home/jose/export/deps/erlport/src/erlport.erl:234: :erlport.call/3
       test/export_ruby_test.exs:9: (test)

/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- erlport/cli (LoadError)
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from -e:1:in `<main>'
=ERROR REPORT==== 24-Apr-2019::14:18:50.975822 ===
** Generic server <0.184.0> terminating
** Last message in was {#Port<0.12>,{exit_status,1}}
** When Server state == {state,infinity,0,#Port<0.12>,
                               [{1,
                                 {{<0.183.0>,
                                   #Ref<0.1331792202.2041577473.73533>},
                                  undefined}}],
                               []}
** Reason for termination ==
** {port_closed,{code,1}}

=CRASH REPORT==== 24-Apr-2019::14:18:50.976093 ===
  crasher:
    initial call: erlport:init/1
    pid: <0.184.0>
    registered_name: []
    exception exit: {port_closed,{code,1}}
      in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
    ancestors: [<0.183.0>]
    message_queue_len: 1
    messages: [{'EXIT',#Port<0.12>,normal}]
    links: []
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 1598
    stack_size: 27
    reductions: 4463
  neighbours:



  4) test Ruby.call macro (ExportRubyTest)
     test/export_ruby_test.exs:28
     ** (ErlangError) Erlang error: {:port_closed, {:code, 1}}
     code: result = pid |> Ruby.call(upcase("hello"), from_file: "test")
     stacktrace:
       (erlport) /export/home/jose/export/deps/erlport/src/erlport.erl:234: :erlport.call/3
       test/export_ruby_test.exs:30: (test)

....

Finished in 0.5 seconds
8 tests, 4 failures

Randomized with seed 743063

System Information
Centos 7 x64
Ruby: ruby 2.0.0p648 (2015-12-16) [x86_64-linux]
Python: Python 3.6.6
I installed both Ruby and Python via the terminal using yum install python ruby

It seems to be complaining about a ruby gem of some kind but it's not available in rubygems website so I have no idea what its looking for. Anyone have an idea?

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

1 participant