FS#15024 - [erlang] Wx not working, "No driver found"

Attached to Project: Arch Linux
Opened by Andrzej Giniewicz (Giniu) - Tuesday, 09 June 2009, 19:57 GMT
Last edited by Eric Belanger (Snowman) - Monday, 07 December 2009, 07:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Vesa Kaihlavirta (vegai)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

when using erlang-R13B-2 package I get "No driver found", when I rebuild the package it works. Maybe it was compiled without Wx? could it be double-checked and eventually rebuilt/added to dependencies? Or eventually could the Wx driver be separated as some erlang-wx package or something? The Wx is next big thing for Erlang GUI, all other ways are for now unsupported or deprecated, it's also base for "next development version" of Erlang app I work on, so would be sweet if that could be fixed :)

Steps to reproduce:

package from extra:

[giniu@ginland ~]$ erl -smp
Erlang R13B (erts-5.7.1) [source] [smp:1:1] [rq:1] [async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.7.1 (abort with ^G)
1> wx:new().

=ERROR REPORT==== 9-Jun-2009::21:46:00 ===
WX ERROR: Could not find suitable 'wxe_driver' for i686-pc-linux-gnu in: /usr/lib/erlang/lib/wx-0.98.1/priv
** exception error: {load_driver,"No driver found"}
in function wxe_server:start/0
in call from wx:new/1

it should be like that, that's from rebuilt package using same version of PKGBUILD that is distributed with R13B-2:

[giniu@ginland wings-wx]$ erl -smp
Erlang R13B (erts-5.7.1) [source] [smp:1:1] [rq:1] [async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.7.1 (abort with ^G)
1> wx:new().
{wx_ref,0,wx,[]}
This task depends upon

Closed by  Eric Belanger (Snowman)
Monday, 07 December 2009, 07:09 GMT
Reason for closing:  Fixed
Comment by János Illés (ijanos) - Monday, 07 September 2009, 09:30 GMT
I confirm this, local rebuilding of the erlang package solves the problem.
Comment by Andrzej Giniewicz (Giniu) - Tuesday, 22 September 2009, 15:00 GMT
Today R13B02 was released, with some nice updates to wx bindings (wx-0.98.3), can be great moment to fix also this issue
Comment by Eric Belanger (Snowman) - Sunday, 04 October 2009, 06:50 GMT
Fixed in erlang-R13B02.1-1 in testing repo. Please test and report success or failure.
Comment by Andrzej Giniewicz (Giniu) - Tuesday, 06 October 2009, 18:18 GMT
works for me

Loading...