Re: Form is not shown

78 views
Skip to first unread message

Cory Zue

unread,
Sep 19, 2016, 4:25:54 AM9/19/16
to commcare-developers, sheeraz...@gmail.com
Hi Sheeraz,

This forum is for users of CommCare. Any installation/development questions should go to the commcare-developers google group instead.

The short answer to your question is that the reports are built off of elasticsearch, and you will need to run the separate ETL processes (pillows) to see the data there. 

best,
Cory


On Mon, Sep 19, 2016 at 1:01 PM, Sheeraz Mahmood <sheeraz...@gmail.com> wrote:
hi!
can somebody please guide me on the following issue.

I have installed comm-care (2.27.0 ) locally on Ubuntu 14.04
and it successfully syncs with my android (Samsung S 4) for form submission.
Although form is submitted successfully from mobile but in report it shows no form submitted.
I have looked into Couch-db the form is there but somehow its not being displayed in reports.

Thanks for your help 

sheeraz

--
You received this message because you are subscribed to the Google Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Cory Zue

unread,
Sep 19, 2016, 4:26:32 AM9/19/16
to commcare-developers, sheeraz...@gmail.com
sorry, this can be done with:

 ./manage.py run_ptop --all
Message has been deleted
Message has been deleted
Message has been deleted

Sheeraz Mahmood

unread,
Sep 20, 2016, 12:24:25 AM9/20/16
to CommCare Developers, sheeraz...@gmail.com

Thanks for your help

I run this command    ./manage.py run_ptop --all

it gives me       

File 
"/root/.virtualenvs/cchq/local/lib/python2.7/site-packages/django/db/backends/utils.py", 
line 65, in execute
    return self.cursor.execute(sql, params)
OperationalError: SSL SYSCALL error: EOF detected




To unsubscribe from this group and stop receiving emails from it, send an email to commcare-user...@googlegroups.com.

Ben Rudolph

unread,
Sep 20, 2016, 12:41:11 AM9/20/16
to commcare-...@googlegroups.com, sheeraz...@gmail.com
Hi Sheeraz,

The pillows have some dependencies that aren't all setup during installation. You might have better luck running:

./manage.py run_ptop --pillow-key=core

Ben


--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsub...@googlegroups.com.

Sheeraz Mahmood

unread,
Sep 20, 2016, 2:43:08 AM9/20/16
to CommCare Developers, sheeraz...@gmail.com
Hi Ben,
Thanks for your help 

i run this command ./manage.py run_ptop --pillow-key=core
after this i create new application deploy it on android after filling form submit it and successfully sync with server from android.
However i am still facing same issue submitted form is not shown in report and i look into couch db form is there but in report it shows me no form is submitted

Cory Zue

unread,
Sep 20, 2016, 2:59:25 AM9/20/16
to commcare-developers, sheeraz...@gmail.com
Hi Sheeraz,

try running both
./manage.py run_ptop --pillow-key=core
and
./manage.py run_ptop --pillow-key=core_ext
thanks,
Cory

To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsubscribe...@googlegroups.com.

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

Sheeraz Mahmood

unread,
Sep 20, 2016, 3:07:48 AM9/20/16
to CommCare Developers, sheeraz...@gmail.com
Hi cory,
Thanks for help 

when i run this command   ./manage.py run_ptop --pillow-key=core
its not stop and still running

and when i run this ./manage.py run_ptop --pillow-key=core_ext
it gives me   
 
  File "/root/.virtualenvs/cchq/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute
    return self.cursor.execute(sql, params)
OperationalError: SSL SYSCALL error: EOF detected


To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Cory Zue

unread,
Sep 20, 2016, 4:25:50 AM9/20/16
to commcare-developers, Sheeraz Mahmood
hmm, maybe try:

./manage.py run_ptop --pillow-name=DefaultChangeFeedPillow

instead of the second command

To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsubscribe...@googlegroups.com.

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

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsubscribe...@googlegroups.com.

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

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsubscribe...@googlegroups.com.

Sheeraz Mahmood

unread,
Sep 20, 2016, 5:17:51 AM9/20/16
to CommCare Developers, sheeraz...@gmail.com
when i run first  command (./manage.py run_ptop --pillow-key=core)
in terminal its start running and no stop 

does i have to run the second command in seprate terminal ?

To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsub...@googlegroups.com.

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

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsub...@googlegroups.com.

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

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsub...@googlegroups.com.

Cory Zue

unread,
Sep 20, 2016, 5:19:11 AM9/20/16
to commcare-developers, Sheeraz Mahmood
yes.

To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsubscribe...@googlegroups.com.

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

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsubscribe...@googlegroups.com.

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

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsubscribe...@googlegroups.com.

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

Sheeraz Mahmood

unread,
Sep 20, 2016, 5:25:35 AM9/20/16
to CommCare Developers, sheeraz...@gmail.com
thanks Cory 

when i run it in separate terminal it gives me the error

 raise ConnectionError("Kafka @ {0}:{1} went away".format(self.host, self.port))
ConnectionError: Kafka @ localhost:9092 went away
2016-09-20 09:19:39,084 WARNING Ignoring missing kafka client during unit testing
yes.

To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Cory Zue

unread,
Sep 20, 2016, 6:29:09 AM9/20/16
to commcare-developers, Sheeraz Mahmood
Have you installed and setup kafka? If you are using a docker setup this should work pretty much out of the box, however if you have been installing some other way then you need to explicitly install and configure kafka. 

yes.

To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsubscribe...@googlegroups.com.

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

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsubscribe...@googlegroups.com.

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

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsubscribe...@googlegroups.com.

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

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsubscribe...@googlegroups.com.

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

Sheeraz Mahmood

unread,
Sep 21, 2016, 1:21:32 AM9/21/16
to CommCare Developers, sheeraz...@gmail.com
Hi Cory,

i am not using Docker   I installed kafka using this link (https://www.digitalocean.com/community/tutorials/how-to-install-apache-kafka-on-ubuntu-14-04) . Now guide me i have to run directly server or  i have to run any other command for the configuration  of kafka with commacrehq

Thanks
yes.

To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Cory Zue

unread,
Sep 21, 2016, 1:25:02 AM9/21/16
to commcare-developers, Sheeraz Mahmood
Hi Sheeraz,

I don't know how good our setup instructions are outside of our standard docker and ansible deployment strategies. Unfortunately I am not able to spend time writing them up right now so recommend you push forward on your own and if you have specific errors or issues you can report them here and maybe someone will be able to help.

As a side note, I assume you have a good reason for needing to run CommCare HQ on your own, but our hosted offerings are typically much less of a headache for most people.

best,
Cory

yes.

To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsubscribe...@googlegroups.com.

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

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsubscribe...@googlegroups.com.

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

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsubscribe...@googlegroups.com.

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

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsubscribe...@googlegroups.com.

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

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsubscribe...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Message has been deleted

Eucalyptus D

unread,
Dec 3, 2016, 2:35:58 PM12/3/16
to CommCare Developers, sheeraz...@gmail.com
Dear Sheeraz,

I have a similar issue. The phone syncs but data is not shown in the web app. Just checking in if you got this resolved. Please share the solution.

thanks, Euc
yes.

Danish Fayaz

unread,
Aug 19, 2017, 6:37:52 PM8/19/17
to CommCare Developers, sheeraz...@gmail.com
Were you able to resolve this? I've currently setup most of the app. However the web app menu link isn't appearing on top also the data i sync from the android app doesn't seem to appear on the web as well. Anything from you would be a great help. 

Regards,

Danish
Reply all
Reply to author
Forward
0 new messages