Cannot start observer from IEx shell on MacOS?

iex(8)> :observer.start()

14:26:19.123 [error] ERROR: Could not find 'wxe_driver.so' in: /Users/alex/.asdf/installs/erlang/20.0/lib/wx-1.8.1/priv

{:error,
 {{:load_driver, 'No driver found'},
  [
    {: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]}
  ]}}

This means you don’t have wxWidgets installed.

I have Erlang installed with `asdf` tool, highly recommended using it for Erlang and Elixir installations.
So if you have Erlang already installed, uninstall it first:

asdf uninstall erlang 20.3

Then you need to install wxWidgets:

brew install wxmac

Check whether you have wxWidgets installed correctly:

wx-config --version

(it should show a version number)

After that you need to install Erlang back:

asdf install erlang 20.3

Voila, you can start observer from your IEx shell:

:observer.start()

SHOPYBOT – Facebook Chatbot Platform for E-Commerce

Few months ago I released my chatbot platform for e-commerce – SHOPYBOT. Only now decided to write short article about its possibilities 🙂

Currently I have ~100 registered users and ~10 shops that created own bots.

Shopybot homepage banner
shopybot.com homepage banner

Since I launched the platform I realized that some of the things I created for users need some re-work or not needed at all. I’ve been contacted by 3 shop owners and we had great discussions about features they would want to be in the platform and this was very helpful and I updated my backlog.

So, the platform idea is in the following:

  1. Give possibility to shop owners start selling products in Facebook
  2. Give this possibility not in a hard way, but in a “single click” solution
  3. ZERO programming skills required
  4. ZERO mind blowing conversation constructors, mindmaps, etc

Currently SHOPYBOT works with any e-commerce engines with help of a special export plugins (magento, prestashop, opencart) and works natively with WooCommerce because I created a shopybot plugin  that makes integration very easy.

Shopybot plugin for WooCommerce
Shopybot plugin for WooCommerce

If you have WooCommerce shop and want to create own chatbot you can just:

  • install this WooCommerce chatbot plugin
  • click button #1 to “Connect to shopybot.com”
  • click button #2  to “Connect Facebook page”
  • click button #3 to generate products to export
  • that’s it – bot already imported your products and started working

Brilliant thing is that you don’t need to do anything with your products in the bot – all you need is to manage your product as you did before in your WooCommerce admin and bot will be importing them automatically. Awesome? 🙂

Bot supports 4 languages now: English, German, Ukrainian and Portuguese. Will be adding more as soon as I get more shops with different languages.

So please try my bot and let me know in comments below what would you add to the list of features or you have cool idea – everything is more than welcome 🙂