Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Luasql problem with latest svn build


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
juanbackson at gmail.com
Guest





PostPosted: Tue Sep 23, 2008 11:10 pm    Post subject: [Freeswitch-users] Luasql problem with latest svn build Reply with quote

Hi,

My lua scripts were working fine until I updated with SVN. I am starting to get errors in my lua scripts that use luasql lib.

Does anyone know what may be causing the problem and how can I fix it?


2008-09-24 20:02:20 [DEBUG] switch_core_state_machine.c:140 switch_core_standard_on_execute() sofia/internal/6002@192.168.1.101 (6002@192.168.1.101) Execute lua(process_pstn_call.lua ) 2008-09-24 20:02:20 [ERR] mod_lua.cpp:177 lua_parse_and_execute() error loading module 'luasql.mysql' from file '/usr/local/lib/lua/5.1/luasql/mysql.so': /usr/local/lib/lua/5.1/luasql/mysql.so: undefined symbol: lua_getfieldstack traceback: [C]: ? [C]: in function 'require' /usr/local/share/lua/5.1/lualib.lua:1: in main chunk [C]: in function 'require' /usr/local/freeswitch/scripts/process_pstn_call.lua:1: in main chunk
2008-09-24 20:02:20 [DEBUG] switch_cpp.cpp:849 destroy() destroy/unlink session from object
2008-09-24 20:02:20 [NOTICE] switch_cpp.cpp:851 destroy() Hangup sofia/internal/6002@192.168.1.101 (6002@192.168.1.101) [CS_EXECUTE] [NORMAL_CLEARING]
2008-09-24 20:02:20 [DEBUG] switch_channel.c:1381 switch_channel_perform_hangup() Kill sofia/internal/6002@192.168.1.101 (6002@192.168.1.101) [KILL]
2008-09-24 20:02:20 [DEBUG] switch_core_session.c:727 switch_core_session_signal_state_change() Kill sofia/internal/6002@192.168.1.101 (6002@192.168.1.101) [BREAK]
2008-09-24 20:02:20 [DEBUG] switch_core_state_machine.c:430 switch_core_session_run() (sofia/internal/6002@192.168.1.101 (6002@192.168.1.101)) State EXECUTE going to sleep
2008-09-24 20:02:20 [DEBUG] switch_core_state_machine.c:365 switch_core_session_run() sofia/internal/6002@192.168.1.101 (6002@192.168.1.101) Running State Change CS_HANGUP
2008-09-24 20:02:20 [DEBUG] switch_core_state_machine.c:393 switch_core_session_run() (sofia/internal/6002@192.168.1.101 (6002@192.168.1.101)) State HANGUP
2008-09-24 20:02:20 [DEBUG] mod_sofia.c:272 sofia_on_hangup() Channel sofia/internal/6002@192.168.1.101 (6002@192.168.1.101) hanging up, cause: NORMAL_CLEARING
2008-09-24 20:02:20 [DEBUG] mod_sofia.c:346 sofia_on_hangup() Responding to INVITE with: 480
2008-09-24 20:02:20 [DEBUG] sofia.c:200 sofia_event_callback() event [nua_i_state] status [480][Temporarily Unavailable] session: sofia/internal/6002@192.168.1.101 (6002@192.168.1.101)
2008-09-24 20:02:20 [ERR] switch_core_sqldb.c:131 switch_core_db_persistant_execute() SQL ERR [table sip_dialogs has no column named profile_name]



Regards,
JB
Back to top
mike at jerris.com
Guest





PostPosted: Wed Sep 24, 2008 9:50 am    Post subject: [Freeswitch-users] Luasql problem with latest svn build Reply with quote

On Sep 24, 2008, at 12:08 AM, Juan Backson wrote:

Quote:
Hi,

My lua scripts were working fine until I updated with SVN. I am
starting to get errors in my lua scripts that use luasql lib.

Does anyone know what may be causing the problem and how can I fix it?


We have not made any major changes that I can think of, what revision
did you update from/to ?

Mike


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
juanbackson at gmail.com
Guest





PostPosted: Wed Sep 24, 2008 9:59 am    Post subject: [Freeswitch-users] Luasql problem with latest svn build Reply with quote

Hi Michael,

Thank you for your prompt reply. I recently updated to the latest svn. I believe the old build that was working fine was from last Friday and the one I updated to was basically the latest as of today.

After updating to the latest svn, all my lua scripts can't run due to the same error.

Any help in getting my FS to work again would be grealy appreciated.

Thanks,
JB


On Wed, Sep 24, 2008 at 10:46 PM, Michael Jerris <mike@jerris.com (mike@jerris.com)> wrote:
Quote:

On Sep 24, 2008, at 12:08 AM, Juan Backson wrote:

Quote:
Hi,

My lua scripts were working fine until I updated with SVN. I am
starting to get errors in my lua scripts that use luasql lib.

Does anyone know what may be causing the problem and how can I fix it?



We have not made any major changes that I can think of, what revision
did you update from/to ?

Mike


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
mike at jerris.com
Guest





PostPosted: Wed Sep 24, 2008 10:08 am    Post subject: [Freeswitch-users] Luasql problem with latest svn build Reply with quote

That looked like an error loading luasql. Nothing changed recently in lua or the freeswitch objects exposed to it.

Mike

On Sep 24, 2008, at 10:57 AM, Juan Backson wrote:
Quote:
Hi Michael,

Thank you for your prompt reply. I recently updated to the latest svn. I believe the old build that was working fine was from last Friday and the one I updated to was basically the latest as of today.

After updating to the latest svn, all my lua scripts can't run due to the same error.

Any help in getting my FS to work again would be grealy appreciated.

Thanks,
JB


On Wed, Sep 24, 2008 at 10:46 PM, Michael Jerris <mike@jerris.com (mike@jerris.com)> wrote:
Quote:

On Sep 24, 2008, at 12:08 AM, Juan Backson wrote:

Quote:
Hi,

My lua scripts were working fine until I updated with SVN. I am
starting to get errors in my lua scripts that use luasql lib.

Does anyone know what may be causing the problem and how can I fix it?



We have not made any major changes that I can think of, what revision
did you update from/to ?

Mike


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
juanbackson at gmail.com
Guest





PostPosted: Wed Sep 24, 2008 6:39 pm    Post subject: [Freeswitch-users] Luasql problem with latest svn build Reply with quote

Hi Mike,

The second error does seem to be a freeswitch erro: 2008-09-24 20:02:20 [ERR] switch_core_sqldb.c:131 switch_core_db_persistant_execute() SQL ERR [table sip_dialogs has no column named profile_name]

I start to get this with the new build. Is there anything I am missing in my installation?

Thanks,
JB


On Wed, Sep 24, 2008 at 11:06 PM, Michael Jerris <mike@jerris.com (mike@jerris.com)> wrote:
Quote:
That looked like an error loading luasql. Nothing changed recently in lua or the freeswitch objects exposed to it.

Mike


On Sep 24, 2008, at 10:57 AM, Juan Backson wrote:

Quote:
Hi Michael,

Thank you for your prompt reply. I recently updated to the latest svn. I believe the old build that was working fine was from last Friday and the one I updated to was basically the latest as of today.

After updating to the latest svn, all my lua scripts can't run due to the same error.

Any help in getting my FS to work again would be grealy appreciated.

Thanks,
JB


On Wed, Sep 24, 2008 at 10:46 PM, Michael Jerris <mike@jerris.com (mike@jerris.com)> wrote:
Quote:

On Sep 24, 2008, at 12:08 AM, Juan Backson wrote:

Quote:
Hi,

My lua scripts were working fine until I updated with SVN. I am
starting to get errors in my lua scripts that use luasql lib.

Does anyone know what may be causing the problem and how can I fix it?



We have not made any major changes that I can think of, what revision
did you update from/to ?

Mike


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org







_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Back to top
anthony.minessale at g...
Guest





PostPosted: Wed Sep 24, 2008 6:43 pm    Post subject: [Freeswitch-users] Luasql problem with latest svn build Reply with quote

the table schema has changed

rm /usr/local/freeswitch/db/sofia*.db


On Wed, Sep 24, 2008 at 6:38 PM, Juan Backson <juanbackson@gmail.com (juanbackson@gmail.com)> wrote:
Quote:
Hi Mike,

The second error does seem to be a freeswitch erro: 2008-09-24 20:02:20 [ERR] switch_core_sqldb.c:131 switch_core_db_persistant_execute() SQL ERR [table sip_dialogs has no column named profile_name]

I start to get this with the new build. Is there anything I am missing in my installation?

Thanks,
JB



On Wed, Sep 24, 2008 at 11:06 PM, Michael Jerris <mike@jerris.com (mike@jerris.com)> wrote:
Quote:
That looked like an error loading luasql. Nothing changed recently in lua or the freeswitch objects exposed to it.

Mike


On Sep 24, 2008, at 10:57 AM, Juan Backson wrote:

Quote:
Hi Michael,

Thank you for your prompt reply. I recently updated to the latest svn. I believe the old build that was working fine was from last Friday and the one I updated to was basically the latest as of today.

After updating to the latest svn, all my lua scripts can't run due to the same error.

Any help in getting my FS to work again would be grealy appreciated.

Thanks,
JB


On Wed, Sep 24, 2008 at 10:46 PM, Michael Jerris <mike@jerris.com (mike@jerris.com)> wrote:
Quote:

On Sep 24, 2008, at 12:08 AM, Juan Backson wrote:

Quote:
Hi,

My lua scripts were working fine until I updated with SVN. I am
starting to get errors in my lua scripts that use luasql lib.

Does anyone know what may be causing the problem and how can I fix it?



We have not made any major changes that I can think of, what revision
did you update from/to ?

Mike


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org







_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org







_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
juanbackson at gmail.com
Guest





PostPosted: Wed Sep 24, 2008 6:55 pm    Post subject: [Freeswitch-users] Luasql problem with latest svn build Reply with quote

Hi,

I just refreshed another working FS enviornment with the latest SVN, that environment was working fine until I installed the latest build. The luasql error starts to pop up. The only working environment I have now is running on last week's build.

If I run run require("luasql.mysql") on unix, I don't see anything wrong.
Quote:
require ("luasql.mysql")


It seems like something in the latest svn is conflicting with my lua scripts?

Thanks,
JB
Back to top
anthony.minessale at g...
Guest





PostPosted: Wed Sep 24, 2008 6:57 pm    Post subject: [Freeswitch-users] Luasql problem with latest svn build Reply with quote

what is the exact svn revision of the one that works?

On Wed, Sep 24, 2008 at 6:54 PM, Juan Backson <juanbackson@gmail.com (juanbackson@gmail.com)> wrote:
Quote:
Hi,

I just refreshed another working FS enviornment with the latest SVN, that environment was working fine until I installed the latest build. The luasql error starts to pop up. The only working environment I have now is running on last week's build.

If I run run require("luasql.mysql") on unix, I don't see anything wrong.
Quote:
require ("luasql.mysql")


It seems like something in the latest svn is conflicting with my lua scripts?

Thanks,
JB


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
juanbackson at gmail.com
Guest





PostPosted: Wed Sep 24, 2008 7:52 pm    Post subject: [Freeswitch-users] Luasql problem with latest svn build Reply with quote

Hi,

The one that is working has version: FreeSWITCH Version 1.0.trunk (9588)
The one that is not working has version: FreeSWITCH Version 1.0.trunk (9634M)


Thanks,
JB

On Thu, Sep 25, 2008 at 7:56 AM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
what is the exact svn revision of the one that works?


On Wed, Sep 24, 2008 at 6:54 PM, Juan Backson <juanbackson@gmail.com (juanbackson@gmail.com)> wrote:


Quote:

Hi,

I just refreshed another working FS enviornment with the latest SVN, that environment was working fine until I installed the latest build. The luasql error starts to pop up. The only working environment I have now is running on last week's build.

If I run run require("luasql.mysql") on unix, I don't see anything wrong.
Quote:
require ("luasql.mysql")


It seems like something in the latest svn is conflicting with my lua scripts?

Thanks,
JB




_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org





--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Back to top
mike at jerris.com
Guest





PostPosted: Wed Sep 24, 2008 10:47 pm    Post subject: [Freeswitch-users] Luasql problem with latest svn build Reply with quote

We have confirmed that the change in svn revision 9605 broke this. I am going to look at ways to fix this in the morning.

Mike

On Sep 24, 2008, at 8:50 PM, Juan Backson wrote:
Quote:
Hi,

The one that is working has version: FreeSWITCH Version 1.0.trunk (9588)
The one that is not working has version: FreeSWITCH Version 1.0.trunk (9634M)


Thanks,
JB

On Thu, Sep 25, 2008 at 7:56 AM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
what is the exact svn revision of the one that works?


On Wed, Sep 24, 2008 at 6:54 PM, Juan Backson <juanbackson@gmail.com (juanbackson@gmail.com)> wrote:


Quote:

Hi,

I just refreshed another working FS enviornment with the latest SVN, that environment was working fine until I installed the latest build. The luasql error starts to pop up. The only working environment I have now is running on last week's build.

If I run run require("luasql.mysql") on unix, I don't see anything wrong.
Quote:
require ("luasql.mysql")


It seems like something in the latest svn is conflicting with my lua scripts?

Thanks,
JB




_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org





--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services