Hello Jay-Nicolas. I have not been able to reproduce your issue when 
testing this code sample, so there might be something wrong with your 
environment. You can also go here 
<https://cloud.google.com/appengine/docs/flexible/php/using-cloud-datastore> 
to report an issue for this code sample. You could also try following the 
instructions from this tutorial 
<https://cloud.google.com/datastore/docs/datastore-api-tutorial>.

On Sunday, June 4, 2017 at 4:59:43 PM UTC-4, Jay-Nicolas Hackleman wrote:
>
> Hi,
>
> I've followed this tutorial: 
> https://cloud.google.com/datastore/docs/reference/libraries#client-libraries-usage-php
>
> I'm attempting to run the code in the local dev_appserver, but I get the 
> following exception:
>
>
> *Fatal error*: Uncaught exception 
> 'Google\Cloud\Core\Exception\ServiceException' with message 
> 'curl_setopt_array(): cannot represent a stream of type MEMORY as a STDIO 
> FILE*' in 
> K:\AppEngineProjects\IronOakAppspot\vendor\google\cloud-core\RequestWrapper.php:241
>  
> Stack trace: #0 
> K:\AppEngineProjects\IronOakAppspot\vendor\google\cloud-core\RequestWrapper.php(150):
>  
> Google\Cloud\Core\RequestWrapper->convertToGoogleException(Object(Google\Cloud\Core\Exception\ServiceException))
>  
> #1 
> K:\AppEngineProjects\IronOakAppspot\vendor\google\cloud-core\RestTrait.php(86):
>  
> Google\Cloud\Core\RequestWrapper->send(Object(GuzzleHttp\Psr7\Request), 
> Array) #2 
> K:\AppEngineProjects\IronOakAppspot\vendor\google\cloud-datastore\Connection\Rest.php(81):
>  
> Google\Cloud\Datastore\Connection\Rest->send('projects', 'commit', Array) 
> #3 
> K:\AppEngineProjects\IronOakAppspot\vendor\google\cloud-datastore\Operation.php(447):
>  
> Google\Cloud\Datastore\Connection\Rest->commit(Array) #4 
> K:\AppEngineProjects\IronOakAppspot\vendor\google\cloud-datastore\DatastoreClient.php(
>  
> in 
> *K:\AppEngineProjects\IronOakAppspot\vendor\google\cloud-core\RequestWrapper.php*
>  on 
> line *241*
>
> How do I fix this?
> Thanks
>

-- 
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/268cf729-ca2e-4cfa-8e35-b93593799933%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine... Jay-Nicolas Hackleman
    • [google-appe... 'Yannick (Cloud Platform Support)' via Google App Engine
      • [google-... Jay-Nicolas Hackleman
        • [goo... 'Yannick (Cloud Platform Support)' via Google App Engine
          • ... Jay-Nicolas Hackleman

Reply via email to