Daniele Chiaranza | 19 Jun 2012 16:55
Picon
Favicon

rails3 - dalayed_job and swig

Hi folks,

I'm implementing a system where a video has to wait his own turn to access to such resource and being processed. So i need to implement a queue that receives a signal when the resource is free so that the rest of requests could be satisfied.

The video is processed by a module swig, but here the issue is.

The requests are in queue and also trying to set them free manually i get this kind of error:

[Worker(host:danic84-VirtualBox pid:4554)] Module#program_init failed with NoMethodError: undefined method `program_init' for #<Module:0xa8de8e8> - 0 failed attempts

Apparently it cannot find the module. This the call in question:
SwigModule.delay.program_init( <at> video.source_file_name)

Has someone already struggled with this matter?
Thanks in advance,
Daniele
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Swig-user mailing list
Swig-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swig-user

Gmane