Hi All,
We are facing some server problems. When we try to upload from the
phone, it says upload failed. This is the error log for the server.
Any idea what could be the problem?
+0.830s openmrs.py:98 Logged into OpenMRS
+0.832s openmrs.py:101 Cookie:
+0.834s openmrs.py:82 Creating new patient 555
+0.982s openmrs.py:119 Validating permissions to manage moca queue
+0.987s openmrs.py:123 Got result
{"status":"OK","code":"unspecified","message":"User has Manage Moca
Queue privileges"}
+0.989s openmrs.py:136 Uploading procedure
+0.991s openmrs.py:147 Encoded parameters, checking files.
+1.002s openmrs.py:165 About to post to
http://127.0.0.1:8080/openmrs/moduleServlet/moca/uploadServlet
+1.098s openmrs.py:167 Got result
{"status":"FAIL","code":"unspecified","message":"java.lang.IndexOutOfBoundsException:
Index: 0, Size: 0"}
+1.103s openmrs.py:175 Done with upload
+1.105s json.py:105 Failed to register procedure:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
Also, we did not install the demo data as we thought it would be
difficult to
remove the demo data later. But it seems that we need this demo data
to load
the basic forms and load some OpenMRS concepts.
Currently, the demo server is inaccessible from my side.
There is an example of the form from the directory
/openmrs/admin/forms/formViewXslt.form?formId=1
If some can e-mail me this form, then I can add it to our OpenMRS form
directory.
Thanks,
Archit