[Freeswitch-dev] [Freeswitch-users] Fwd: mod_python always gives an error at first dialplan call

Nuno Reis nreis at wavecom.pt
Fri Aug 22 07:31:44 MSD 2014


Hi Joseph.

Nop. Retry logic isn't the solution here. That's sweeping dirt under the
rug kind of solution.
This happens with an all bunch of scripts that i was using flawlessly in FS
1.2
Maybe it is time to open a jira for this.

Thanks anyway.
BR,

--

*Nuno Miguel Reis* | *Unified Communication** Systems*
M. +351 913907481 | nreis at wavecom.pt
WAVECOM-Soluções Rádio, S.A.
Cacia Park | Rua do Progresso, Lote 15
3800-639 AVEIRO | Portugal
T. +351 309 700 225 | F. +351 234 919 191
*GPS
<http://maps.google.com/maps/ms?msa=0&msid=202333747613191340808.0004b4b227a6144f0df88>
| www.wavecom.pt <http://www.wavecom.pt/>** <http://www.wavecom.pt/>*

[image: Description: Description: WavecomSignature]
<http://www.wavecom.pt/pt/wavecom/premios.php>

[image: Publicity] <http://www.wavecom.pt/pt/mail_eventos.php>




On Thu, Aug 21, 2014 at 12:03 AM, Joseph L. Casale <
jcasale at activenetwerx.com> wrote:

> > 2014-08-18 07:03:26.341145 [ERR] mod_python.c:293 Error calling python
> script
> > 2014-08-18 07:03:26.341145 [ERR] mod_python.c:164 Python Error by
> calling script "stable.disa": <type 'exceptions.AttributeError'>
> > Message: 'PySwigObject' object has no attribute 'sleep'
> >
> >
> > This only happens with the first call after a restart. After that
> everything works fine.
> > I never saw this in FS 1.2
>
> Can you post come code? I am guessing you can probably add in some retry
> logic for
> whatever situation causes the object to not have the expected attribute...
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 
> 
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20140822/5a1c1d28/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 16423 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20140822/5a1c1d28/attachment-0001.png 


Join us at ClueCon 2014 Aug 4-7, 2014
More information about the FreeSWITCH-dev mailing list