msantos / verx

Erlang implementation of the libvirtd remote protocol
59 stars 11 forks source link

Can't run on R15B01 #1

Closed etnt closed 12 years ago

etnt commented 12 years ago

Hi, I wanted to try out this cool hack but I get an error report from procket talking about "Upgrade not supported by this NIF library".

Any ideas on what I could do to get it going?

Cheers, Tobbe

msantos commented 12 years ago

Hey Tobbe! Thanks for trying out the code! I ran a test on R16B and it (mostly ;) worked.

How are you running it? I thought the NIF upgrade callback was used during code upgrades, but I looked at the docs again:

"upgrade is called when the NIF library is loaded and there is old code of this module with a loaded NIF library."

Do you happen to have 2 versions of procket?

I could also add an empty stub to procket for upgrades, just need to check if it'll leak.

etnt commented 12 years ago

Sorry, I must have been tired yesterday. It turned out that I hadn't started libvirt-bin... I'll give it another try today.

Thanx, Tobbe