Error For importing package

Hello


I am trying to import following package in the Erpnext3.

from oauth2client.client import OAuth2WebServerFlow


If its verified through command line environment python,its working properly there without giving any error.
 but while using it in .py file,though it is installed in environment still  giving error


Traceback (innermost last):
  File “lib/webnotes/handler.py”, line 78, in handle
    execute_cmd(cmd)
  File “lib/webnotes/handler.py”, line 118, in execute_cmd
    ret = call(method, webnotes.form_dict)
  File “lib/webnotes/handler.py”, line 140, in call
    return fn(**newargs)
  File “lib/core/doctype/oauth_settings/oauth_settings.py”, line 111, in genearate_calendar_cred
    flow = get_gcalendar_flow(client_id, client_secret, app_name)
  File “lib/core/doctype/oauth_settings/oauth_settings.py”, line 121, in get_gcalendar_flow
    from oauth2client.client import OAuth2WebServerFlow
 ImportError: No module named oauth2client.client






Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/a380609d-4a30-4dcf-8503-f584e57a44ab%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.

On Fri, Aug 1, 2014 at 10:55 AM, Pranali Khatode
pr...@gmail.com wrote:

Hello

I am trying to import following package in the Erpnext3.

from oauth2client.client import OAuth2WebServerFlow

If its verified through command line environment python,its working properly
there without giving any error.
but while using it in .py file,though it is installed in environment still
giving error

Traceback (innermost last):
File “lib/webnotes/handler.py”, line 78, in handle
execute_cmd(cmd)
File “lib/webnotes/handler.py”, line 118, in execute_cmd
ret = call(method, webnotes.form_dict)
File “lib/webnotes/handler.py”, line 140, in call
return fn(**newargs)
File “lib/core/doctype/oauth_settings/oauth_settings.py”, line 111, in
genearate_calendar_cred
flow = get_gcalendar_flow(client_id, client_secret, app_name)
File “lib/core/doctype/oauth_settings/oauth_settings.py”, line 121, in
get_gcalendar_flow
from oauth2client.client import OAuth2WebServerFlow
ImportError: No module named oauth2client.client

You may have installed in some other python environment (python2.6).


Note:

If you are posting an issue,

  1. ERPNext is a free and open source software and support is given on this
    forum by a team (https://frappe.io/webnotes). So please consider donating if
    you find this forum useful (https://frappe.io/buy). Even a small amount
    would be helpful.
  2. We should be able to replicate it at our end. So please give us as much
    information as you can. Please see it from the point of view of the person
    receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send
    only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do
    not send images as attachments. Links are good. Same goes for any file you
    are going to send.

End of Note

You received this message because you are subscribed to the Google Groups
“ERPNext Developer Forum” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to erpnext-developer-forum+un...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/erpnext-developer-forum/a380609d-4a30-4dcf-8503-f584e57a44ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Pratik
erpnext

Hello

I have followed all steps in https://github.com/frappe/bench, upto following command

bench start or frappe --serve

but after this I am getting following error and in browser it shows Not Found


in...@indictrans-Lenovo-G560:~/frappe-bench$ bench start
17:12:02 web.1 | started with pid 19628
17:12:02 worker.1 | started with pid 19630
17:12:02 workerbeat.1 | started with pid 19631
17:12:02 web.1 | * Running on http://0.0.0.0:8000/
17:12:02 web.1 | * Restarting with reloader
17:12:02 workerbeat.1 | [2014-08-01 17:12:02,964: INFO/MainProcess] beat: Starting...
17:12:03 workerbeat.1 | [2014-08-01 17:12:03,007: INFO/MainProcess] Scheduler: Sending due task scheduler (frappe.tasks.enqueue_scheduler_events)
17:12:04 worker.1 | [2014-08-01 17:12:03,991: WARNING/MainProcess] ce...@indictrans-Lenovo-G560 ready.
17:12:10 web.1 | 127.0.0.1 - - [01/Aug/2014 17:12:10] "GET / HTTP/1.1" 404 -
17:12:16 web.1 | 127.0.0.1 - - [01/Aug/2014 17:12:16] "GET / HTTP/1.1" 404 -
17:12:17 web.1 | 127.0.0.1 - - [01/Aug/2014 17:12:17] "GET / HTTP/1.1" 404 -
17:12:18 web.1 | 127.0.0.1 - - [01/Aug/2014 17:12:18] "GET / HTTP/1.1" 404 -
17:12:19 web.1 | 127.0.0.1 - - [01/Aug/2014 17:12:19] "GET / HTTP/1.1" 404 -
17:12:20 web.1 | 127.0.0.1 - - [01/Aug/2014 17:12:20] "GET / HTTP/1.1" 404 -

















On Fri, Aug 1, 2014 at 2:33 PM, Pratik Vyas <pd...@gmail.com> wrote:
On Fri, Aug 1, 2014 at 10:55 AM, Pranali Khatode
<pr...@gmail.com> wrote:
> Hello
>
> I am trying to import following package in the Erpnext3.
>
> from oauth2client.client import OAuth2WebServerFlow
>
>
> If its verified through command line environment python,its working properly
> there without giving any error.
> but while using it in .py file,though it is installed in environment still
> giving error
>
>
> Traceback (innermost last):
> File "lib/webnotes/handler.py", line 78, in handle
> execute_cmd(cmd)
> File "lib/webnotes/handler.py", line 118, in execute_cmd
> ret = call(method, webnotes.form_dict)
> File "lib/webnotes/handler.py", line 140, in call
> return fn(**newargs)
> File "lib/core/doctype/oauth_settings/oauth_settings.py", line 111, in
> genearate_calendar_cred
> flow = get_gcalendar_flow(client_id, client_secret, app_name)
> File "lib/core/doctype/oauth_settings/oauth_settings.py", line 121, in
> get_gcalendar_flow
> from oauth2client.client import OAuth2WebServerFlow
> ImportError: No module named oauth2client.client
>
>

You may have installed in some other python environment (python2.6).


>
>
> --
> Note:
>
> If you are posting an issue,
>
> 1. ERPNext is a free and open source software and support is given on this
> forum by a team (https://frappe.io/webnotes). So please consider donating if
> you find this forum useful (https://frappe.io/buy). Even a small amount
> would be helpful.
> 2. We should be able to replicate it at our end. So please give us as much
> information as you can. Please see it from the point of view of the person
> receiving the communication.
> 3. Paste your code at http://pastebin.com or http://gist.github.com and send
> only the URL via email
> 4. For sending images, use http://imgur.com or other similar services. Do
> not send images as attachments. Links are good. Same goes for any file you
> are going to send.
>
> End of Note
> ---
> You received this message because you are subscribed to the Google Groups
> "ERPNext Developer Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an
--
Pratik
erpnext

--
Note:

If you are posting an issue,

1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to a topic in the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/LpChRxO5rV4/unsubscribe.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAG8U0EnWE6s7MyF1csJxq%3D6MT4ytjp_zTxRdBw4mfJ7bs-%3DSbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAGnZtfRjTc6agKcgFTm_UYNVP4FG7DMc10cX3CJLo5R%2BatpjVw%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.