Support system is not working the way it should be

53 views
Skip to first unread message

Gowrav

unread,
Dec 24, 2012, 1:10:44 AM12/24/12
to erpnext-dev...@googlegroups.com
Hi there,

Support system looks great,
What I am facing is a reply problem

1) I have setup and account on gamil.. working (in/out both) very well

2) A user sends an email a ticket is created.
2) We reply to this ticket by Add Message: done, email send
3) Now user again REPLY from the email (As in practically all do) no reply is fetched from email account, even no new ticket is created. Ticket remains in Waiting for Customer mode

I think Ticket number in any specific format should be in subject to trace the conversation ...

And its a really urgent requirement as we are planning to implement this system at our all clients stations. And they all need this system very well. Currently we are using Hesk for all of them.

Gowrav

unread,
Dec 24, 2012, 1:11:32 AM12/24/12
to erpnext-dev...@googlegroups.com
By the way, I am having problem with my SMTP and pop3 settings with other accounts.. all values okey and working well at other systems.

an...@iwebnotes.com

unread,
Dec 24, 2012, 1:26:41 AM12/24/12
to erpnext-dev...@googlegroups.com, erpnext-dev...@googlegroups.com
Hi Gowrav,

Have you setup cron? There should be an entry in cron to call scheduled events.


Also, if you go to email settings and save the email settings, it first tests those settings and only if found correct, allows to save them. This should give you some idea about why they may not be working. Also, as mentioned, cron entry should be there for auto-pull of support ticket.

Thanks,
Anand.
--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/D4KZcDs8rM8J.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Gowrav

unread,
Dec 24, 2012, 1:31:22 AM12/24/12
to erpnext-dev...@googlegroups.com
Gmail connection is working fine.. Cron is working fine

IT IS pulling emails also..
but reply to our response is not being fetched...

1) User email for support : email fetched and a new ticked opened
2) We add message : message added to ticket, user email sent successfully
3) USER REPLY ON THIS OUR SENT EMAIL, THIS IS NOT FETCHED, WHILE OTHER EMAILS SENT (Not this kind of replies) Are fetched ...

On Monday, 24 December 2012 11:56:41 UTC+5:30, Anand Doshi wrote:
Hi Gowrav,

Have you setup cron? There should be an entry in cron to call scheduled events.


Also, if you go to email settings and save the email settings, it first tests those settings and only if found correct, allows to save them. This should give you some idea about why they may not be working. Also, as mentioned, cron entry should be there for auto-pull of support ticket.

Thanks,
Anand.


On Mon, Dec 24, 2012 at 11:41 AM, Gowrav <gowravvi...@gmail.com> wrote:
By the way, I am having problem with my SMTP and pop3 settings with other accounts.. all values okey and working well at other systems.

On Monday, 24 December 2012 11:40:44 UTC+5:30, Gowrav wrote:
Hi there,

Support system looks great,
What I am facing is a reply problem

1) I have setup and account on gamil.. working (in/out both) very well

2) A user sends an email a ticket is created.
2) We reply to this ticket by Add Message: done, email send
3) Now user again REPLY from the email (As in practically all do) no reply is fetched from email account, even no new ticket is created. Ticket remains in Waiting for Customer mode

I think Ticket number in any specific format should be in subject to trace the conversation ...

And its a really urgent requirement as we are planning to implement this system at our all clients stations. And they all need this system very well. Currently we are using Hesk for all of them.

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer-forum+unsub...@googlegroups.com.

Rushabh Mehta

unread,
Dec 24, 2012, 1:45:00 AM12/24/12
to erpnext-dev...@googlegroups.com
Check the table __SchedulerLog for debugging.


W: https://erpnext.com
T: @rushabh_mehta

To unsubscribe from this group, send email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/LW5PLODQK44J.

Gowrav Vishwakarma

unread,
Dec 24, 2012, 1:52:59 AM12/24/12
to erpnext-dev...@googlegroups.com
GOt this in entry

Traceback (innermost last):
  File "app/startup/schedule_handlers.py", line 60, in run_fn
    fn()
  File "app/support/doctype/support_ticket/__init__.py", line 184, in get_support_mails
    SupportMailbox().get_messages()
  File "/var/www/erpnext/lib/webnotes/utils/email_lib/receive.py", line 159, in get_messages
    self.connect()
  File "/var/www/erpnext/lib/webnotes/utils/email_lib/receive.py", line 141, in connect
    self.pop = poplib.POP3_SSL(self.settings.host)
  File "/usr/lib/python2.7/poplib.py", line 338, in __init__
    for res in socket.getaddrinfo(self.host, self.port, 0, socket.SOCK_STREAM):
 gaierror: [Errno -2] Name or service not known


To be added: Emails are fetched for normal emails, the problem is with replies only.
Regards

Gowrav Vishwakarma
Man of Affairs, Digital Vish, Xavoc International
http://www.digitlavish.com : +91 9783807100
http://www.xavoc.com

--------------------------------------------------------------------
Never Never Never Never Never Never Never Never Never Never Never Never Never Never Never  GIVE UP

Gowrav

unread,
Dec 24, 2012, 4:20:15 AM12/24/12
to erpnext-dev...@googlegroups.com
But this is not problem as when my cron runs, it fetches mails leaving replied emails. and no error is reported.
GOt this in entry

To unsubscribe from this group, send email to erpnext-developer-forum+unsubscr...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/D4KZcDs8rM8J.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to erpnext-developer-forum@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/LW5PLODQK44J.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to erpnext-developer-forum@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Rushabh Mehta

unread,
Dec 24, 2012, 4:22:14 AM12/24/12
to erpnext-dev...@googlegroups.com
Are you checking the same ticket? A new ticket is not created for a reply. Also check the tabCommuncation table if it was added there.



W: https://erpnext.com
T: @rushabh_mehta

To unsubscribe from this group, send email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/fZ9xUWyu9dkJ.

Gowrav Vishwakarma

unread,
Dec 24, 2012, 6:06:35 AM12/24/12
to erpnext-dev...@googlegroups.com
Yap, I am checking the same ticket as on reply it should add message to existing ticket (As you are saying) but any reply to our added message (whose email is sent to customer) is not being fetched.

Infact it should add a new message in the same ticket message chain as you are saying but only this portion is not happening  ...

Rushabh Mehta

unread,
Dec 24, 2012, 6:35:27 AM12/24/12
to erpnext-dev...@googlegroups.com
Do you see it in table tabCommunication?



W: https://erpnext.com
T: @rushabh_mehta

Gowrav Vishwakarma

unread,
Dec 24, 2012, 9:10:14 AM12/24/12
to erpnext-dev...@googlegroups.com
Yap,
its not in there too...

an...@iwebnotes.com

unread,
Dec 24, 2012, 9:11:05 AM12/24/12
to erpnext-dev...@googlegroups.com, erpnext-dev...@googlegroups.com
Hi Gowrav,

Can you check the inbox of the support ticket id? Check if the email is coming there.

Thanks,
Anand.

Gowrav

unread,
Dec 24, 2012, 11:18:20 AM12/24/12
to erpnext-dev...@googlegroups.com
Yap, already checked..
Email is coming there but replied email on emails sent from the email id are not fetching
Yap,
GOt this in entry

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/LW5PLODQK44J.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer-forum+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Regards

Gowrav Vishwakarma
Man of Affairs, Digital Vish, Xavoc International
http://www.digitlavish.com : +91 9783807100
http://www.xavoc.com

--------------------------------------------------------------------
Never Never Never Never Never Never Never Never Never Never Never Never Never Never Never  GIVE UP

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer-forum+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/fZ9xUWyu9dkJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer-forum+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Regards

Gowrav Vishwakarma
Man of Affairs, Digital Vish, Xavoc International
http://www.digitlavish.com : +91 9783807100
http://www.xavoc.com

--------------------------------------------------------------------
Never Never Never Never Never Never Never Never Never Never Never Never Never Never Never  GIVE UP

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer-forum+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer-forum+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Regards

Gowrav Vishwakarma
Man of Affairs, Digital Vish, Xavoc International
http://www.digitlavish.com : +91 9783807100
http://www.xavoc.com

--------------------------------------------------------------------
Never Never Never Never Never Never Never Never Never Never Never Never Never Never Never  GIVE UP

Anand Doshi

unread,
Dec 24, 2012, 11:30:47 AM12/24/12
to ERPNext Developer's Forum

Did you open that email from your email client? POP3 does not pull already read emails.

To unsubscribe from this group, send email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/NK6zWkOjeWAJ.

Gowrav

unread,
Dec 24, 2012, 11:35:13 AM12/24/12
to erpnext-dev...@googlegroups.com
Not opened ...
I think you should yourself give it a try to see the actual problem ...
just use gmail for a simple system ...

Support is a very important feature for service industries so its a crack here ...

Very sorry, i am new to your framework so I myself is not even trying to see the code.. currently only understanding the framework basics ...
Yap,
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/fZ9xUWyu9dkJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to erpnext-dev...@googlegroups.com.

Anand Doshi

unread,
Dec 24, 2012, 11:38:04 AM12/24/12
to ERPNext Developer's Forum

Its working perfectly for us. We use it fulltime. And we also use gmail for pulling support mails.

To unsubscribe from this group, send email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/DTA5asiDMmwJ.

Rushabh Mehta

unread,
Dec 24, 2012, 11:38:59 AM12/24/12
to erpnext-dev...@googlegroups.com
Gowrav,

Our own support system is based on this and we also use Google Apps - so we know it works. Its really difficult to say anything unless we see an error or trace.

- Rushabh



W: https://erpnext.com
T: @rushabh_mehta

To unsubscribe from this group, send email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/DTA5asiDMmwJ.

Anand Doshi

unread,
Dec 24, 2012, 11:55:01 AM12/24/12
to ERPNext Developer's Forum
Just tested it to make sure.

I've attached a screenshot indicating that it's working. 

Have you looked at the thread after refreshing?

I suggest that you first clear the scheduler log table and then use this query to look at the scheduler log error:

[deletion]
delete from __SchedulerLog

try to send a few mails back and forth from the support system.

select * from __SchedulerLog where method='get_support_mails' order by timestamp desc limit 1\G;

Hope this helps.

-Anand.
support ticket.png

Gowrav

unread,
Dec 24, 2012, 12:06:18 PM12/24/12
to erpnext-dev...@googlegroups.com
Then it looks like GMAIL related issue only

I am using my gmail account for all my testings... not my domain email account ...
I'll report by checking from that account also ...
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/NK6zWkOjeWAJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because...
Show original

Gowrav

unread,
Dec 25, 2012, 4:02:08 AM12/25/12
to erpnext-dev...@googlegroups.com
Now when trying to change email settings constantly getting this message regardless I whatever I do ... refesh or logout and relogin

"  
This document was updated before your change. Please refresh before saving.
"
also cleard cache etc all
To view this discussion on the web visit https://groups.google.com/d/ms<wb...
Show original

Gowrav

unread,
Dec 25, 2012, 10:05:59 AM12/25/12
to erpnext-dev...@googlegroups.com
I don't know how your system is working

but I truncated __schedulerLog
and ran scheduler

got this single row in table

Traceback (innermost last):
  File "/var/www/erpnext/lib/webnotes/utils/email_lib/receive.py", line 174, in get_messages
    self.process_message(incoming_mail)
  File "app/support/doctype/support_ticket/__init__.py", line 84, in process_message
    from support.doctype.communication.communication import make
 ImportError: No module named communication.communication
To unsubscribe from this group, send email to erpnext-developer-for...
Show original

Gowrav

unread,
Dec 25, 2012, 10:30:04 AM12/25/12
to erpnext-dev...@googlegroups.com
PROBLEM SOLVED ..


pull request sent


kindly accept ...
Yap,

Anand Doshi

unread,
Dec 25, 2012, 10:36:28 AM12/25/12
to ERPNext Developer's Forum
Hey,

Thanks for the solution. 

Our server had .pyc files in that folder. Git doesn't track those files and hence, didn't delete time. So, it was still working perfectly for us but not for you :(

I've merged your pull request. Thanks for contributing.

-Anand.


To unsubscribe from this group, send email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/OY41SdJBzeUJ.
Reply all
Reply to author
Forward
0 new messages