_rubenfa

_rubenfa

It’s something weird, but from last week :observer.start is not working in my machine. This is the error that I’m receiving:

Erlang/OTP 20 [RELEASE CANDIDATE 2] [erts-9.0] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false]

Interactive Elixir (1.4.4) - press Ctrl+C to exit (type h() ENTER for help)

iex(1)> :observer.start

21:52:25.399 [error] WX Failed loading 'wxe_driver'@'/usr/lib/erlang/lib/wx-1.8.1/priv' 

{:error,
 {{:load_driver,
   'symbol _ZThn704_N17wxGenericListCtrl31GetSizeAvailableForScrollTargetERK6wxSize, version WXU_3.0 not defined in file libwx_gtk2u_core-3.0.so.0 with link time reference'},
  [{:wxe_server, :start, 1, [file: 'wxe_server.erl', line: 65]},
   {:wx, :new, 1, [file: 'wx.erl', line: 115]},
   {:observer_wx, :init, 1, [file: 'observer_wx.erl', line: 98]},
   {:wx_object, :init_it, 6, [file: 'wx_object.erl', line: 372]},
   {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 247]}]}}

I have tried to remove Erlang/Elixir and install it again, but without results. Indeed there are some weird things. For example, Erlang Solutions repository is installing a RC Version of esl-erlang and I don’t know why.

Any help, will be appreciated

Showing Posts 1 to 10

Qqwy

Qqwy

TypeCheck Core Team

I have faced the same problem.
It turns out that there are different releases of Erlang, and both the one that comes standard with Canonical’s package repository as well as the one that asdf provides are missing certain natively-compiled modules, including the ones that are required to run WX (the GUI toolkit that :observer uses).

The esl-erlang version contains (many of?) these optional parts. Installing Erlang from esl-erlang after adding the PPA of Erlang Solutions (see this page) solved it for me.

Qqwy

Qqwy

TypeCheck Core Team

For posterity: The maintainer of asdf-erlang replied to the issue I made on that source repository. It turns out that you can install the required files for WX manually, and if you do that before installing erlang through ASDF, then everything will work as intended.

_rubenfa

_rubenfa OP

It’s not working for me. I’m not using ASDF but if I run xw-config --version it seems to be already installed (it says I have 3.0.2 version). My Erlang version is esl-erlang too, but :observer.start throws the error of my first message.

Thanks for your help.

OvermindDL1

OvermindDL1

You do have a windowing system and all for it to use? You installed Erlang with the Wx components after the windowing system was installed?

_rubenfa

_rubenfa OP

Yes, I’m using Ubuntu 16.04 LTS with Gnome. The strange thin is that :observer was working fine two weeks ago. I don’t know what is broken now.

I have installed elixir and all his dependencies, with esl-erlang. I’m sure I’m forgetting something, but I don’t know what.

Thanks for your help.

Best regards.

Ankhers

Ankhers

If you start an Erlang shell, are you able to open observer?

$ erl
1> observer:start().
_rubenfa

_rubenfa OP

Nop. I doesn’t work. But no error message is displayed. Nothing happens.

Regards.

l00ker

l00ker

This happened to me as well. I also had trouble with Tesla (using hackney) making api requests. The Erlang Solutions repo is now installing esl-erlang 1:20.0-rc2.

Once I rolled back to esl-erlang 1:19.3 Tesla & :observer started working again. You’ll need to pin the package in apt to prevent updating.

For what little time I had it running 20.0-rc2 did seem to feel a little faster.

_rubenfa

_rubenfa OP

Many thanks, @l00ker that worked for me too. Curiously I have installed 1.9.3.6 at first, but it doesn’t work either. After that, I have downgraded the package one more time, to version 1.9.3, and now it’s working.

Thanks to everyone for your help.

GregFreeman

GregFreeman

Has anyone else been able to resolve this problem with OTP 20/Elixir 1.5?

I get the identical error, with the same version numbers for wx-1.8.1 and “version WXU_3.0 not defined in file…” on Linux Mint 18.

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
RemyXRenard
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
brecabral
Documentation While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
samoloth
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
FlyingNoodle
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews