agilescientific / modelr-app

Modelr front end
Apache License 2.0
0 stars 1 forks source link

2D data not being fetched from convolution_model.py #186

Closed justinkheisler closed 8 years ago

justinkheisler commented 8 years ago

Error showing up in console: string indices must be integers

kwinkunks commented 8 years ago

I gather this is on trying to upload an image.

from console...

running ['convolution_model.py'] ['seismic']
127.0.0.1 - - [13/Nov/2015 12:42:43] "GET /data.json?type=seismic&script=convolution_model.py&payload={%22seismic%22: {%22frequency%22:20.72,%22wavelet%22:%22ricker%22,%22dt%22:0.001,%22phase%22:0,%22snr% 22:50},%22earth_model%22:{%22image%22:%22http://localhost:8080/_ah/img /encoded_gs_file:bW9kZWxyX2xpdmVfYnVja2V0LzAvMjE0NDc0MzIxODYuMjE=%22,%22mapping%22:{%22rgb(218,199,138)%22:{%22name%22:%22Rock1%22,%22vs%22:1500,%22vp%22:3000,%22kqtz%22:37000000000,%22fluid%22:null,%22vs_std%22:50,%22rho_std%22:50,%22kclay%22:25000000000,%22vp_std%22:50,%22phi%22:0.2,%22vclay%22:0.5,%22rho%22:2500,%22description%22:%22description\r\n\t\t%20%20%22,%22db_key%22:%22ag9kZXZ- YWdpbGVtb2RlbHJyOwsSDE1vZGVsclBhcmVudBiAgICAgICACgwLEgRVc2VyGICAgICAgMAIDAsSBFJvY2sYgICAgIDQ1wkM%22},%22rgb(182,198,217)%22:{%22name%22:%22Rock2%22,%22vs%22:1600,%22vp%22:3100,%22kqtz%22:37000000000,%22fluid%22:null,%22vs_std%22:50,%22rho_std%22:50,%22kclay%22:25000000000,%22vp_std%22:50,%22phi%22:0.2,%22vclay%22:0.4,%22rho%22:2400,%22description%22:%22description\r\n\t\t%20%20%22,%22db_key%22:%22ag9kZXZ-YWdpbGVtb2RlbHJyOwsSDE1vZGVsclBhcmVudBiAgICAgICACgwLEgRVc2VyGICAgICAgMAIDAsSBFJvY2sYgICAgIDQtwoM%22},%22rgb(140,194,166)%22:{%22name%22:%22Rock1%22,%22vs%22:1500,%22vp%22:3000,%22kqtz%22:37000000000,%22fluid%22:null,%22vs_std%22:50,%22rho_std%22:50,%22kclay%22:25000000000,%22vp_std%22:50,%22phi%22:0.2,%22vclay%22:0.5,%22rho%22:2500,%22description%22:%22description\r\n\t\t%20%20%22,%22db_key%22:%22ag9kZXZ-YWdpbGVtb2RlbHJyOwsSDE1vZGVsclBhcmVudBiAgICAgICACgwLEgRVc2VyGICAgICAgMAIDAsSBFJvY2sYgICAgIDQ1wkM%22}},%22image_key%22:%22ag9kZXZ-YWdpbGVtb2RlbHJyQQsSDE1vZGVsclBhcmVudBiAgICAgICACgwLEgRVc2VyGICAgICAgMAIDAsSCkltYWdlTW9kZWwYgICAgIDQrwgM%22,%22zrange%22:1000,%22domain%22:%22depth%22,%22theta%22:[0,3,6,9,12,15,18,21,24,27,30]},%22trace%22:1,%22offset%22:1}
HTTP/1.1" 200 - string indices must be integers
ben-bougher commented 8 years ago

Is this happening on the live version or locally?