Re: [google-appengine] Re: Cannot generate endpoint discovery docs using endpointscfg

2019-07-02 Thread 'Elliott Solomon' via Google App Engine
Hello Jaskaran,

Please note that Google Groups are reserved for general Google Cloud 
Platform-end product discussions and not for technical issues, which is why 
I suggest moving the troubleshooting to Stackoverflow[1] to obtain 
assistance from our programming community for your question.

[1] https://stackoverflow.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/22bad362-aa64-4270-9268-a0e25c8be553%40googlegroups.com.


Re: [google-appengine] Re: Cannot generate endpoint discovery docs using endpointscfg

2019-07-01 Thread Jaskaran Singh
Dear @Larry Schiefer  please help me

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/1467f34f-292a-4cd7-b993-448d6b93e2d9%40googlegroups.com.


Re: [google-appengine] Re: Cannot generate endpoint discovery docs using endpointscfg

2019-07-01 Thread Jaskaran Singh
I did this 
cd lib
sudo rm -rf endpoints* google_endpoints* urllib3* requests*

cd .. 
sudo pip --no-cache-dir install -t lib google-endpoints urllib3 requests


install  successfully 

sudo chmod 777 lib/endpoints/endpointscfg.py 

sudo python lib/endpoints/endpointscfg.py get_client_lib java -bs gradle 
src.service.mobile_api.MobileApi


sudo python lib/endpoints/endpointscfg.py get_client_lib java -bs gradle 

src.service.mobile_api.MobileApi
WARNING:root:Could not find either the Cloud SDK or the App Engine Python 
SDK.
If you encounter errors, please make sure that the SDK binary path is in 
your
PATH environment variable or that the ENDPOINTS_GAE_SDK variable points to a
valid SDK root.
Traceback (most recent call last):
  File "lib/endpoints/endpointscfg.py", line 27, in 
import _endpointscfg_setup  # pylint: disable=unused-import
  File 
"/var/www/html/salesmanagement/SalesManagement/lib/endpoints/_endpointscfg_setup.py",
 
line 107, in 
_SetupPaths()
  File 
"/var/www/html/salesmanagement/SalesManagement/lib/endpoints/_endpointscfg_setup.py",
 
line 103, in _SetupPaths
from google.appengine.ext import vendor
ImportError: No module named appengine.ext

On Tuesday, July 2, 2019 at 4:44:33 AM UTC+5:30, Larry Schiefer wrote:
>
> Yes, I was able to resolve the issue in our setup.  We use pip to manage 
> our python libraries local to the tree.  We had to update the required 
> version of the endpoints library in our requirements.txt file to point to 
> the latest version, then use endpointcfg from that package rather than the 
> one from the SDK.  The instructions (while not obvious) were added in one 
> of the comments back from the GAE team in the issue linked above:
>
>
> https://cloud.google.com/endpoints/docs/frameworks/python/gen_clients#generating_the_client_library_2
>
> Good luck!
>
>
> On Monday, July 1, 2019 at 2:04:04 PM UTC-5, Jaskaran Singh wrote:
>>
>> Hi @Larry Schiefer
>>
>> did you find any solution for this?
>>
>> Please let me know i am facing this issue please.
>>
>> On Wednesday, May 8, 2019 at 6:41:42 PM UTC+5:30, Larry Schiefer wrote:
>>>
>>> Great, thank you!
>>>
>>> On Tue, May 7, 2019 at 6:04 PM 'Aref Amiri (Cloud Platform Support)' via 
>>> Google App Engine  wrote:
>>>
 Hi Larry,

 We will look into the issue reported on Issue Tracker 
 , and further 
 updates communication will be shared on that page.

 -- 
 You received this message because you are subscribed to the Google 
 Groups "Google App Engine" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to google-a...@googlegroups.com.
 To post to this group, send email to google-a...@googlegroups.com.
 Visit this group at https://groups.google.com/group/google-appengine.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/google-appengine/5a1613a6-fdc7-4b74-b8b7-05c315308d8f%40googlegroups.com
  
 
 .
 For more options, visit https://groups.google.com/d/optout.

>>>
>>>
>>> -- 
>>> 
>>> Larry Schiefer
>>> M: 469-263-9388
>>> email: larry@hiqes.com
>>> http://www.hiqes.com
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0315515e-cb27-449f-bd34-417241f05c74%40googlegroups.com.


Re: [google-appengine] Re: Cannot generate endpoint discovery docs using endpointscfg

2019-07-01 Thread Larry Schiefer
Yes, I was able to resolve the issue in our setup.  We use pip to manage 
our python libraries local to the tree.  We had to update the required 
version of the endpoints library in our requirements.txt file to point to 
the latest version, then use endpointcfg from that package rather than the 
one from the SDK.  The instructions (while not obvious) were added in one 
of the comments back from the GAE team in the issue linked above:

https://cloud.google.com/endpoints/docs/frameworks/python/gen_clients#generating_the_client_library_2

Good luck!


On Monday, July 1, 2019 at 2:04:04 PM UTC-5, Jaskaran Singh wrote:
>
> Hi @Larry Schiefer
>
> did you find any solution for this?
>
> Please let me know i am facing this issue please.
>
> On Wednesday, May 8, 2019 at 6:41:42 PM UTC+5:30, Larry Schiefer wrote:
>>
>> Great, thank you!
>>
>> On Tue, May 7, 2019 at 6:04 PM 'Aref Amiri (Cloud Platform Support)' via 
>> Google App Engine  wrote:
>>
>>> Hi Larry,
>>>
>>> We will look into the issue reported on Issue Tracker 
>>> , and further updates 
>>> communication will be shared on that page.
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Google App Engine" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to google-a...@googlegroups.com.
>>> To post to this group, send email to google-a...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/google-appengine.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/google-appengine/5a1613a6-fdc7-4b74-b8b7-05c315308d8f%40googlegroups.com
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> -- 
>> 
>> Larry Schiefer
>> M: 469-263-9388
>> email: larry@hiqes.com
>> http://www.hiqes.com
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/70d2ed94-adff-447e-89bf-47f6e06b2977%40googlegroups.com.


Re: [google-appengine] Re: Cannot generate endpoint discovery docs using endpointscfg

2019-07-01 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi, 

 

I can see that you already asked your question on the issue tracker 
 thread, this would be 
one of the right channel to obtain an answer to a technical question as the 
groups here is more intended towards general opinions, trends, and issues 
of general nature touching Cloud Endpoints.

 
Another good channel would be StackOverflow 
 where 
you find a large community of enthusiasts and experts that you can get 
support from. Please make sure to include all relevant details and error 
messages which would help the community troubleshoot.

On Monday, July 1, 2019 at 3:04:04 PM UTC-4, Jaskaran Singh wrote:
>
> Hi @Larry Schiefer
>
> did you find any solution for this?
>
> Please let me know i am facing this issue please.
>
> On Wednesday, May 8, 2019 at 6:41:42 PM UTC+5:30, Larry Schiefer wrote:
>>
>> Great, thank you!
>>
>> On Tue, May 7, 2019 at 6:04 PM 'Aref Amiri (Cloud Platform Support)' via 
>> Google App Engine  wrote:
>>
>>> Hi Larry,
>>>
>>> We will look into the issue reported on Issue Tracker 
>>> , and further updates 
>>> communication will be shared on that page.
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Google App Engine" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to google-a...@googlegroups.com.
>>> To post to this group, send email to google-a...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/google-appengine.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/google-appengine/5a1613a6-fdc7-4b74-b8b7-05c315308d8f%40googlegroups.com
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> -- 
>> 
>> Larry Schiefer
>> M: 469-263-9388
>> email: larry@hiqes.com
>> http://www.hiqes.com
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/70442934-744b-45f5-8493-f30cd146b7d5%40googlegroups.com.


Re: [google-appengine] Re: Cannot generate endpoint discovery docs using endpointscfg

2019-07-01 Thread Jaskaran Singh
Hi @Larry Schiefer

did you find any solution for this?

Please let me know i am facing this issue please.

On Wednesday, May 8, 2019 at 6:41:42 PM UTC+5:30, Larry Schiefer wrote:
>
> Great, thank you!
>
> On Tue, May 7, 2019 at 6:04 PM 'Aref Amiri (Cloud Platform Support)' via 
> Google App Engine > wrote:
>
>> Hi Larry,
>>
>> We will look into the issue reported on Issue Tracker 
>> , and further updates 
>> communication will be shared on that page.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-a...@googlegroups.com .
>> To post to this group, send email to google-a...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/5a1613a6-fdc7-4b74-b8b7-05c315308d8f%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> 
> Larry Schiefer
> M: 469-263-9388
> email: larry@hiqes.com 
> http://www.hiqes.com
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b5ee5c23-d007-4f85-8664-1044d66846e7%40googlegroups.com.


Re: [google-appengine] Re: Cannot generate endpoint discovery docs using endpointscfg

2019-07-01 Thread Jaskaran Singh
Please help me to solve this problem

On Wednesday, May 8, 2019 at 6:41:42 PM UTC+5:30, Larry Schiefer wrote:
>
> Great, thank you!
>
> On Tue, May 7, 2019 at 6:04 PM 'Aref Amiri (Cloud Platform Support)' via 
> Google App Engine > wrote:
>
>> Hi Larry,
>>
>> We will look into the issue reported on Issue Tracker 
>> , and further updates 
>> communication will be shared on that page.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-a...@googlegroups.com .
>> To post to this group, send email to google-a...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/5a1613a6-fdc7-4b74-b8b7-05c315308d8f%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> 
> Larry Schiefer
> M: 469-263-9388
> email: larry@hiqes.com 
> http://www.hiqes.com
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d0afd64b-4806-4252-83d9-28614780352d%40googlegroups.com.


Re: [google-appengine] Re: Cannot generate endpoint discovery docs using endpointscfg

2019-05-08 Thread Larry Schiefer
Great, thank you!

On Tue, May 7, 2019 at 6:04 PM 'Aref Amiri (Cloud Platform Support)' via
Google App Engine  wrote:

> Hi Larry,
>
> We will look into the issue reported on Issue Tracker
> , and further updates
> communication will be shared on that page.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/5a1613a6-fdc7-4b74-b8b7-05c315308d8f%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 

Larry Schiefer
M: 469-263-9388
email: larry.schie...@hiqes.com
http://www.hiqes.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAEOXmp%2BhRy-eAci1n_5kq4pkTTYQdezQ1CY2xmoY_d4YShfpyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cannot generate endpoint discovery docs using endpointscfg

2019-05-07 Thread 'Aref Amiri (Cloud Platform Support)' via Google App Engine
Hi Larry,

We will look into the issue reported on Issue Tracker 
, and further updates 
communication will be shared on that page.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/5a1613a6-fdc7-4b74-b8b7-05c315308d8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cannot generate endpoint discovery docs using endpointscfg

2019-05-06 Thread jaskaran singh
I am facing this same issue :( Help me 

On Thursday, 2 May 2019 21:43:38 UTC+5:30, Larry Schiefer wrote:
>
> The endpointscfg.py utility is no longer working due to the backing 
> Google webapis-discovery service not being available.  This prevents the 
> creation of endpoint discovery documents as well as client libraries.  This 
> has been logged in the issue tracker, but has not received any attention 
> yet:
>
> https://issuetracker.google.com/issues/131557153
>
> The utility will always fail with a traceback like this:
>
> Traceback (most recent call last):
>   File 
> "/Users/larrys/tools/google-cloud-sdk/platform/google_appengine/endpointscfg.py",
>  
> line 133, in 
> run_file(__file__, globals())
>   File 
> "/Users/larrys/tools/google-cloud-sdk/platform/google_appengine/endpointscfg.py",
>  
> line 129, in run_file
> execfile(_PATHS.script_file(script_name), globals_)
>   File 
> "/Users/larrys/tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/endpointscfg.py",
>  
> line 561, in 
> main(sys.argv)
>   File 
> "/Users/larrys/tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/endpointscfg.py",
>  
> line 557, in main
> args.callback(args)
>   File 
> "/Users/larrys/tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/endpointscfg.py",
>  
> line 426, in _GetClientLibCallback
> hostname=args.hostname, application_path=args.application)
>   File 
> "/Users/larrys/tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/endpointscfg.py",
>  
> line 390, in _GetClientLib
> discovery_doc = _FetchDiscoveryDoc(config, 'rest')
>   File 
> "/Users/larrys/tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/endpointscfg.py",
>  
> line 277, in _FetchDiscoveryDoc
> raise ServerRequestException(error)
> __main__.ServerRequestException: HTTP 404 (Not Found) error when 
> communicating with URL: 
> https://webapis-discovery.appspot.com/_ah/api/discovery/v1/apis/generate/rest.
>  
> Response: 
> 
> 404 Not Found
> 
> 
> Error: Not Found
> 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2b8d0ded-8d05-4c57-8d9b-df4b79aaf2fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cannot generate endpoint discovery docs using endpointscfg

2019-05-06 Thread jaskaran singh


On Thursday, 2 May 2019 21:43:38 UTC+5:30, Larry Schiefer wrote:
>
> The endpointscfg.py utility is no longer working due to the backing 
> Google webapis-discovery service not being available.  This prevents the 
> creation of endpoint discovery documents as well as client libraries.  This 
> has been logged in the issue tracker, but has not received any attention 
> yet:
>
> https://issuetracker.google.com/issues/131557153
>
> The utility will always fail with a traceback like this:
>
> Traceback (most recent call last):
>   File 
> "/Users/larrys/tools/google-cloud-sdk/platform/google_appengine/endpointscfg.py",
>  
> line 133, in 
> run_file(__file__, globals())
>   File 
> "/Users/larrys/tools/google-cloud-sdk/platform/google_appengine/endpointscfg.py",
>  
> line 129, in run_file
> execfile(_PATHS.script_file(script_name), globals_)
>   File 
> "/Users/larrys/tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/endpointscfg.py",
>  
> line 561, in 
> main(sys.argv)
>   File 
> "/Users/larrys/tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/endpointscfg.py",
>  
> line 557, in main
> args.callback(args)
>   File 
> "/Users/larrys/tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/endpointscfg.py",
>  
> line 426, in _GetClientLibCallback
> hostname=args.hostname, application_path=args.application)
>   File 
> "/Users/larrys/tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/endpointscfg.py",
>  
> line 390, in _GetClientLib
> discovery_doc = _FetchDiscoveryDoc(config, 'rest')
>   File 
> "/Users/larrys/tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/endpointscfg.py",
>  
> line 277, in _FetchDiscoveryDoc
> raise ServerRequestException(error)
> __main__.ServerRequestException: HTTP 404 (Not Found) error when 
> communicating with URL: 
> https://webapis-discovery.appspot.com/_ah/api/discovery/v1/apis/generate/rest.
>  
> Response: 
> 
> 404 Not Found
> 
> 
> Error: Not Found
> 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6d50ee85-b02b-4dc6-a0f2-3ba61c3cdb67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.