Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Wed Apr 24, 2024 12:31 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Call-Back daemon fail to start
PostPosted: Thu Mar 26, 2009 11:37 am 
Offline

Joined: Thu Mar 26, 2009 5:19 am
Posts: 17
Dear friends,
I have following lines when started call-back daemon after first installation.
=============================================
[root@pabx:~]$ service a2billing-callback-daemon start
a2b_callback_daemon is stopped
Traceback (most recent call last):
File "/usr/bin/a2b_callback_daemon", line 7, in ?
sys.exit(
File "/usr/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/pkg_resources.py", line 236, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/pkg_resources.py", line 2097, in load_entry_point
return ep.load()
File "/usr/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/pkg_resources.py", line 1830, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.4/site-packages/callback_daemon-1.0.prod_r1527-py2.5.egg/callback_daemon/a2b_callback_daemon.py", line 23, in ?
File "/usr/lib/python2.4/site-packages/callback_daemon-1.0.prod_r1527-py2.5.egg/callback_daemon/database.py", line 28, in ?
ImportError: cannot import name sessionmaker
Starting a2b-callback-daemon: [FAILED]
[root@pabx:~]$
======================================
Please help me to find a problem, I spend a week with it.


Top
 Profile  
 
 Post subject: Re: Call-Back daemon fail to start
PostPosted: Thu Mar 26, 2009 1:50 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
dovnmr wrote:
ImportError: cannot import name sessionmaker
I've never worked on Python code, but to my eyes this is the root of your problem. It seems Python is having trouble finding a library called 'sessionmaker'. A quick google shows that 'sessionmaker' is part of 'sqlalchemy.orm'. You should install that. I guess the .egg should too...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group