# Simple.py does not work with the latest dgraph docker container

**URL:** https://discuss.dgraph.io/t/simple-py-does-not-work-with-the-latest-dgraph-docker-container/8243
**Category:** Dgraph Clients
**Tags:** untagged, pydgraph
**Created:** [December 24, 2019, 5:06pm UTC](https://discuss.dgraph.io/t/simple-py-does-not-work-with-the-latest-dgraph-docker-container/8243 "2019-12-24T17:06:59Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)
#### Post date: [December 24, 2019, 5:06pm UTC](https://discuss.dgraph.io/t/simple-py-does-not-work-with-the-latest-dgraph-docker-container/8243/1 "2019-12-24T17:06:59Z")

</div>

**Moved from GitHub [pydgraph/108](https://github.com/dgraph-io/pydgraph/issues/108)**

_Posted by_ [benprofessionaledition](https://github.com/benprofessionaledition):

The example provided does not work. To reproduce:

`docker run --rm -it -p 8000:8000 -p 8080:8080 -p 9080:9080 dgraph/standalone:latest` (or the docker-compose way, same error)  
`pip install -r requirements.txt`  
`python simple.py`

Error:

```auto
_InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.UNKNOWN
	details = "line 10 column 12: Missing colon in type declaration. Got 
"
	debug_error_string = "{"created":"@1577206542.199848000","description":"Error received from peer ipv6:[::1]:9080","file":"src/core/lib/surface/call.cc","file_line":1056,"grpc_message":"line 10 column 12: Missing colon in type declaration. Got \n","grpc_status":2}"
>

```

---

<div class="post-metadata">

### Author: ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)
#### Post date: [December 26, 2019, 7:19pm UTC](https://discuss.dgraph.io/t/simple-py-does-not-work-with-the-latest-dgraph-docker-container/8243/2 "2019-12-26T19:19:01Z")

</div>

[martinmr](https://github.com/martinmr) _commented_ :

@danielmai: it looks like the docker image is still on 1.1 instead of 1.1.1

---

<div class="post-metadata">

### Author: ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)
#### Post date: [December 26, 2019, 7:24pm UTC](https://discuss.dgraph.io/t/simple-py-does-not-work-with-the-latest-dgraph-docker-container/8243/3 "2019-12-26T19:24:33Z")

</div>

[danielmai](https://github.com/danielmai) _commented_ :

@martinmr thanks for the heads up. The `dgraph/standalone:latest` now runs Dgraph v1.1.1. You can pull the latest image and try again.

```auto
docker pull dgraph/standalone:latest

```

```auto
docker run --rm -it -p 8000:8000 -p 8080:8080 -p 9080:9080 dgraph/standalone:latest
...
Dgraph version : v1.1.1
Dgraph SHA-256 : 20a10e9db316b565464e0a04cea09657eebbaea3b91460ab651997ada63243cc
Commit SHA-1 : 8994a5740
Commit timestamp : 2019-12-16 18:24:50 -0800
Branch : HEAD
Go version : go1.13.5
...

```

---

<div class="post-metadata">

### Author: ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)
#### Post date: [July 11, 2020, 4:29am UTC](https://discuss.dgraph.io/t/simple-py-does-not-work-with-the-latest-dgraph-docker-container/8243/4 "2020-07-11T04:29:51Z")

</div>


