Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Apr 18, 2024 5:23 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: 1.7:package init file 'callback_daemon/__init__.py not found
PostPosted: Wed May 26, 2010 6:45 pm 
Offline

Joined: Sat Oct 13, 2007 4:07 am
Posts: 189
I have seen this being posted over the past few months even on old as version 1.4, but no replies or it being resolved.

It is python install scripts for the CallBack Daemon.
Quote:
"package init file 'callback_daemon/__init__.py' not found (or not a regular file)"



located in /a2billing/CallBack/callback-daemon-py


Anyone know what is going on with this? Bug submission time?


Top
 Profile  
 
 Post subject: Re: 1.7:package init file 'callback_daemon/__init__.py not found
PostPosted: Wed May 26, 2010 7:31 pm 
Offline

Joined: Sat Oct 13, 2007 4:07 am
Posts: 189
Not an answer yet, but some more info.

It's with Python

" It facilitates importing other python files. When you placed this file in a directory (say stuff)containing other py files, then you can do something like import stuff.other."


So again I still don't know if this would constitute an error, or warning.

Anyone, anyone? Bueler? Bueler?


Top
 Profile  
 
 Post subject: Re: 1.7:package init file 'callback_daemon/__init__.py not found
PostPosted: Wed May 26, 2010 8:09 pm 
Offline

Joined: Wed Feb 13, 2008 11:11 am
Posts: 224
Hi GeekBoy,

is your callback daemon working okay?
are you using CentOS distro?

i believe someone said if i remember well CentOS does not support it.. i remember the error in my many installs but didn't stop the daemon from working alright!

Kind Regards
Eamonn


Top
 Profile  
 
 Post subject: Re: 1.7:package init file 'callback_daemon/__init__.py not found
PostPosted: Wed May 26, 2010 8:11 pm 
Offline

Joined: Sat Oct 13, 2007 4:07 am
Posts: 189
It is CentOS 5.3

However I do not belive this to be true. Some time ago I had someone install a2billing for me when I did not have the time. Now some 3 years later I am doing a new server and doing fresh installs. The callback daemon was running and that was a2b version 1.3.


Top
 Profile  
 
 Post subject: Re: 1.7:package init file 'callback_daemon/__init__.py not found
PostPosted: Wed May 26, 2010 8:28 pm 
Offline

Joined: Wed Feb 13, 2008 11:11 am
Posts: 224
whats your a2biling directory path?
is it /var/a2billing or

Kind Rgds
Eamonn


Top
 Profile  
 
 Post subject: Re: 1.7:package init file 'callback_daemon/__init__.py not found
PostPosted: Wed May 26, 2010 8:33 pm 
Offline

Joined: Sat Oct 13, 2007 4:07 am
Posts: 189
It was untared into /usr/src/a2billing/


Top
 Profile  
 
 Post subject: Re: 1.7:package init file 'callback_daemon/__init__.py not found
PostPosted: Wed May 26, 2010 9:14 pm 
Offline

Joined: Wed Feb 13, 2008 11:11 am
Posts: 224
check /usr/src/a2billing/CallBack directory has callback-daemon-py subdirectory then issue the following commands:

Code:
LOAD_LOC=/usr/src/a2billing
yum -y install python-setuptools.noarch
yum -y install MySQL-python
easy_install sqlalchemy
cd $LOAD_LOC/CallBack/callback-daemon-py
cp callback_daemon/a2b-callback-daemon.rc /etc/init.d/a2b-callback-daemon
chmod +x /etc/init.d/a2b-callback-daemon
cp dist/callback_daemon-1.0.prod-r1528.tar.gz /tmp
cd /tmp
tar xvfz callback_daemon-1.0.prod-r1528.tar.gz
cd callback_daemon-1.0.prod-r1528
python setup.py build
python setup.py bdist_egg
easy_install dist/callback_daemon-1.0.prod_r1528-py2.4.egg
chkconfig --add a2b-callback-daemon
service a2b-callback-daemon start
chkconfig a2b-callback-daemon on


Hope helps

Kind Regards
Eamonn


Top
 Profile  
 
 Post subject: Re: 1.7:package init file 'callback_daemon/__init__.py not found
PostPosted: Wed May 26, 2010 9:54 pm 
Offline

Joined: Sat Oct 13, 2007 4:07 am
Posts: 189
python setup.py build


is where the error come up at. Sorry I forgot to mention that.


Top
 Profile  
 
 Post subject: Re: 1.7:package init file 'callback_daemon/__init__.py not found
PostPosted: Thu May 27, 2010 12:33 am 
Offline

Joined: Wed Feb 13, 2008 11:11 am
Posts: 224
Hi GeekBoy,

I have rerun the CB-Daemon install on a test machine and still same error
Quote:
callback_daemon/__init__.py not found or not a common file


Google seems to hate my friendship on this as well,
So my hands up but wouldn't loose my sleep over it as this does not cause the daemon to run okay.
I have also looked at CentOS repo and cant find any relevance to the file in question.

Kind Regards
Eamonn


Top
 Profile  
 
 Post subject: Re: 1.7:package init file 'callback_daemon/__init__.py not found
PostPosted: Thu May 27, 2010 12:51 am 
Offline

Joined: Sat Oct 13, 2007 4:07 am
Posts: 189
Well thanks for that response. I tried to continue with the install, but met with more errors, so I guess I will leave that daemon till another time.


Top
 Profile  
 
 Post subject: Re: 1.7:package init file 'callback_daemon/__init__.py not found
PostPosted: Thu May 27, 2010 5:51 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

There is a script in this post.

Joe


Top
 Profile  
 
 Post subject: Re: 1.7:package init file 'callback_daemon/__init__.py not found
PostPosted: Thu May 27, 2010 4:53 pm 
Offline

Joined: Sat Oct 13, 2007 4:07 am
Posts: 189
yes there is. And just because there is a script does not mean it will complete successfully, hence the subject of this thread.


Top
 Profile  
 
 Post subject: Re: 1.7:package init file 'callback_daemon/__init__.py not found
PostPosted: Thu May 27, 2010 5:01 pm 
Offline

Joined: Wed Feb 13, 2008 11:11 am
Posts: 224
Hi GeekyBoy,

Quote:
Well thanks for that response. I tried to continue with the install, but met with more errors, so I guess I will leave that daemon till another time.


as far as i know the error that you will encounter is the above, which can be safely ignored. What other errors are you getting.

Kind Regards
Eamonn


Top
 Profile  
 
 Post subject: Re: 1.7:package init file 'callback_daemon/__init__.py not found
PostPosted: Thu May 27, 2010 5:15 pm 
Offline

Joined: Sat Oct 13, 2007 4:07 am
Posts: 189
With the

easy_install dist/callback_daemon-1.0.prod_r1528-py2.4.egg

I am getting

Quote:
Searching for callback-daemon-1.0.prod-r1528-py2.4.egg
Reading http://cheeseshop.python.org/pypi/callb ... py2.4.egg/
Reading http://cheeseshop.python.org/pypi/callb ... py2.4.egg/
Couldn't find index page for 'callback_daemon-1.0.prod_r1528-py2.4.egg' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://cheeseshop.python.org/pypi/
No local packages or download links found for callback-daemon-1.0.prod-r1528-py2.4.egg
error: Could not find suitable distribution for Requirement.parse('callback-daemon-1.0.prod-r1528-py2.4.egg')


Top
 Profile  
 
 Post subject: Re: 1.7:package init file 'callback_daemon/__init__.py not found
PostPosted: Thu May 27, 2010 6:18 pm 
Offline

Joined: Wed Feb 13, 2008 11:11 am
Posts: 224
GeekBoy,
i have rerun the commands again on a test server and the only error i get is the one in question.

Kind Regards
Eamonn


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next
Predictive Dialer


All times are UTC


Who is online

Users browsing this forum: No registered users and 14 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