freeswitch mod python error importing module Scranton South Carolina

Address 2258 Peniel Rd, Timmonsville, SC 29161
Phone (843) 230-5678
Website Link
Hours

freeswitch mod python error importing module Scranton, South Carolina

But I will occasionally[ERR] mod_python.c:121 eval_some_python() Error importing moduleThis latest is, I think some missing modules in site_packages, but it'dbe nice to get some output hinting at that. Higher level in brake fluid tank after pad replacement EvenSt-ring C ode - g ol!f What happens when 2 Blade Barriers intersect? Browse other questions tagged python django django-models freeswitch djcelery or ask your own question. Or failing that, is there a switch I can flip to get some of thepython errors output to the log?TIA,Brian_______________________________________________Freeswitch-users mailing listFreeswitch-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org_______________________________________________Freeswitch-users mailing listFreeswitch-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org Brian West 2009-01-29

asked 3 years ago viewed 445 times active 3 years ago Linked 8 Popen.communicate() throws OSError: “[Errno 10] No child processes” Related 2Python mysqldb on Mac OSX 10.6 not working1Python Celery Is there a role with more responsibility? ─łu titoloj estu en la akuzativo? Why does argv include the program name? How?

But I will occasionallyrun into:[ERR] mod_python.c:121 eval_some_python() Error importing moduleThis latest is, I think some missing modules in site_packages, but it'dbe nice to get some output hinting at that. asked 3 years ago viewed 965 times active 24 days ago Get the weekly newsletter! Is _freeswitch aruntime-generated SWIGism?)So I was thinking I could dump a _freeswitch.py onto the PYTHONPATH whentrying to debug code outside of mod_python. So nice would be able tohave a mocked out _freeswitch so the rest of my unit test stuff couldrun.

If you have a focus for your spell casting do you need to pay materials? Not the answer you're looking for? Home Pro Support Commercial Modules Download Docs Source Features Lists Issues PasteBin Videos Live Chat HELP US! But 'says here:http://wiki.freeswitch.org/wiki/Mod_python#Can_I_test_scripts_using_python_shell.3FThat the "import _freeswitch" in freeswitch.py breaks except when thescript is run by mod_python. (At which point there is some pythonvoodoo going on here that is beyond me.

up vote 0 down vote favorite I have this dial plan and i want to handle the dialed number using python. Pronuncia strana della "s" dopo una "r": un fenomeno romano o di tutta l'Italia? Terms Privacy Security Status Help You can't perform that action at this time. Exploded Suffixes Cyclically sort lists of mixed element types?

Join them; it only takes a minute: Sign up freeswitch python scripts errno 10 no child processes up vote 0 down vote favorite I' ve got an issue when running freeswitch New tech, old clothes With the passing of Thai King Bhumibol, are there any customs/etiquette as a traveler I should be aware of? Is intelligence the "natural" product of evolution? Why would a password requirement prohibit a number in the last character?

default.xml (dialplan): a.py (main dialing number router): import freeswitch def handler(session, args): consoleLog("INFO", "print this please Not the answer you're looking for? This might cause freeswitch to crash!\n"); 618 } 619 620 621 PyEval_AcquireLock(); 622 mainInterpreterState = mainThreadState->interp; 623 myThreadState = PyThreadState_New(mainInterpreterState); 624 PyThreadState_Swap(myThreadState); 625 PyEval_ReleaseLock(); 626 627 Py_Finalize(); 628 PyEval_ReleaseLock(); 629 630 How do computers remember where they store things?

share|improve this answer answered Sep 13 '13 at 21:17 kindall 92.6k9116179 add a comment| up vote 3 down vote Try freeswitch.consoleLog("info","your debug string") share|improve this answer edited May 31 '14 at But probably easier fortrivial things would be to just get the python error output to spit tothe log, but it seems to be getting swallowed.Or was there something else in python_example.py Module python is enabled using fs_cli: >module_exists mod_python true Symptoms When I execute my Python script I get: 2016-08-05 05:49:23.875318 [ERR] mod_python.c:231 Error importing module 2016-08-05 05:49:23.875318 [ERR] mod_python.c:164 Python Error Generate a 6 character string from a 15 character alphabet Are there types with nontrivial paths in all dimensions? (HoTT) Does an index have a currency?

How to handle a senior developer diva who seems unaware that his skills are obsolete? Or failing that, is there a switch I can flip to get some of thepython errors output to the log?TIA,Brian_______________________________________________Freeswitch-users mailing listFreeswitch-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-usershttp://lists.freeswitch.org/mailman/options/freeswitch-usersPost by Brian WestPost by Brian Deaconhttp://www.freeswitch.org_______________________________________________Freeswitch-users mailing For the most part I've been trying to keep as much ofmy code as possible separated from the actual interaction withfreeswitch so that it's separately testable. Truth in numbers Is the NHS wrong about passwords?

Join them; it only takes a minute: Sign up FreeSwitch - how do i parse and take action using python? Any one got any thoughts as to where I might be going wrong. The script running under mod_python will make queries to your Django application. I'm also interested in contributing to the project if I settle on Freeswitch.

Or failing that, is there a switch I can flip to get some of thepython errors output to the log?TIA,Brian_______________________________________________Freeswitch-users mailing listFreeswitch-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org_______________________________________________Freeswitch-users mailing listFreeswitch-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org Brian Deacon 2009-01-28 That way you will get rid of the complexity in Freeswitch side, get scalable, improve performance and most probably get everything working OK. See the License 14 * for the specific language governing rights and limitations under the 15 * License. 16 * 17 * The Original Code is FreeSWITCH Modular Media Switching Software Reload to refresh your session.

How should I interpret "English is poor" review when I used a language check service before submission? share|improve this answer answered Aug 5 at 6:11 spicyramen 1,48111732 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up How do I explain that this is a terrible idea? Moved file properly: ls -al /usr/local/lib/python2.7/site-packages/ freeswitch.py Script fax.py content is here Reboot Freeswitch Script freeswitch.py location /usr/local/lib/python3.4/dist-packages/freeswitch.py /usr/local/lib/python2.7/site-packages/freeswitch.py /usr/share/pyshared/freeswitch.py python freeswitch share|improve this question asked Aug 5 at 6:09 spicyramen

Reload to refresh your session. [email protected] Discussion: Possible to mock out _freeswitch.py? (too old to reply) Brian Deacon 2009-01-28 22:31:29 UTC PermalinkRaw Message Greetings,Actually any advice on how to test or diagnose my mod_python code wouldbe Or failing that, is there a switch I can flip to get some of thepython errors output to the log?TIA,Brian_______________________________________________Freeswitch-users mailing listFreeswitch-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org Brian Deacon 2009-01-29 00:07:41 UTC PermalinkRaw Message If you have a focus for your spell casting do you need to pay materials?

You can assist in making sure maint windows like this dont happen often by using the donate button to the right. But I will occasionally[ERR] mod_python.c:121 eval_some_python() Error importing moduleThis latest is, I think some missing modules in site_packages, but it'dbe nice to get some output hinting at that. Export The $PATH Variable, Line-By-Line Where are sudo's insults stored? Is _freeswitch aruntime-generated SWIGism?)So I was thinking I could dump a _freeswitch.py onto the PYTHONPATH whentrying to debug code outside of mod_python.

So nice would be able tohave a mocked out _freeswitch so the rest of my unit test stuff couldrun. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed