
Installation and setup of Celery, Django-Celeryd, RabitMQ - Email is not going
- or -
Post a project like this$30
- Posted:
- Proposals: 2
- Remote
- #1333287
- Expired
Description
Experience Level: Expert
We have a Digital Ocean server on Ubuntu to run a application that is build on Python Django with MySql.
We are upgrading the system for Celery and RabbitMQ.
We have done installation in local and development server. But facing some problem while installation of above. The same need to be fixed in Test Server Immediately.
We tried:
pip install celery
pip install django-celery
sudo apt-get install rabbitmq-server
sudo rabbitmqctl add_user pmt root
sudo rabbitmqctl add_vhost pmtvhost
sudo rabbitmqctl set_user_tags pmt tag
sudo rabbitmqctl set_permissions -p pmtvhost pmt ".*" ".*" ".*"
python manage.py celeryd in background
Error:
--> 678 try:
679 EmailTask.delay(msg)
ipdb>
Traceback (most recent call last):
File "./apps/b2c/ajax.py", line 348, in b2c_total_cost
palta_with_min_pack_cost_list = g_pco.get_min_clients(palta_with_pack_cost_obj, trd_date)
File "./apps/b2c/lib.py", line 171, in get_min_clients
list_palta = self.get_min_clients_all(clients,trd_date)
File "./apps/b2c/lib.py", line 145, in get_min_clients_all
pco_class = PackageCostCalculation(self.package, client, self.hotel_set, dot=trd_date)
File "./cost_calc.py", line 1531, in get_package_cost
self.recalculateCost()
File "./cost_calc.py", line 189, in recalculateCost
self.email_missing_cost() # email the missing cost to agents
File "./cost_calc.py", line 759, in email_missing_cost
if email_send_with_from_mail({'subject': subject, 'to_mail': mail_to_list, 'cc': mail_cc_list, 'bcc':mail_bcc_list, 'template_path': 'common_emails/cost_less_palta.html', 'extra_val': val},"plan@planmytour.in"):
File "./mylibrary/emails.py", line 678, in email_send_with_from_mail
try:
File "./mylibrary/emails.py", line 678, in email_send_with_from_mail
try:
File "/usr/lib/python2.7/bdb.py", line 49, in trace_dispatch
return self.dispatch_line(frame)
File "/usr/lib/python2.7/bdb.py", line 68, in dispatch_line
if self.quitting: raise BdbQuit
BdbQuit
We are upgrading the system for Celery and RabbitMQ.
We have done installation in local and development server. But facing some problem while installation of above. The same need to be fixed in Test Server Immediately.
We tried:
pip install celery
pip install django-celery
sudo apt-get install rabbitmq-server
sudo rabbitmqctl add_user pmt root
sudo rabbitmqctl add_vhost pmtvhost
sudo rabbitmqctl set_user_tags pmt tag
sudo rabbitmqctl set_permissions -p pmtvhost pmt ".*" ".*" ".*"
python manage.py celeryd in background
Error:
--> 678 try:
679 EmailTask.delay(msg)
ipdb>
Traceback (most recent call last):
File "./apps/b2c/ajax.py", line 348, in b2c_total_cost
palta_with_min_pack_cost_list = g_pco.get_min_clients(palta_with_pack_cost_obj, trd_date)
File "./apps/b2c/lib.py", line 171, in get_min_clients
list_palta = self.get_min_clients_all(clients,trd_date)
File "./apps/b2c/lib.py", line 145, in get_min_clients_all
pco_class = PackageCostCalculation(self.package, client, self.hotel_set, dot=trd_date)
File "./cost_calc.py", line 1531, in get_package_cost
self.recalculateCost()
File "./cost_calc.py", line 189, in recalculateCost
self.email_missing_cost() # email the missing cost to agents
File "./cost_calc.py", line 759, in email_missing_cost
if email_send_with_from_mail({'subject': subject, 'to_mail': mail_to_list, 'cc': mail_cc_list, 'bcc':mail_bcc_list, 'template_path': 'common_emails/cost_less_palta.html', 'extra_val': val},"plan@planmytour.in"):
File "./mylibrary/emails.py", line 678, in email_send_with_from_mail
try:
File "./mylibrary/emails.py", line 678, in email_send_with_from_mail
try:
File "/usr/lib/python2.7/bdb.py", line 49, in trace_dispatch
return self.dispatch_line(frame)
File "/usr/lib/python2.7/bdb.py", line 68, in dispatch_line
if self.quitting: raise BdbQuit
BdbQuit

Sunil G.
0% (0)Projects Completed
-
Freelancers worked with
-
Projects awarded
0%
Last project
25 Jul 2025
India
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies