codeforanchorage / courtbot

Your friendly neighborhood court robot. Provides an api for getting court case information.
https://courtbot.codeforanchorage.org
ISC License
7 stars 10 forks source link

First search for a citation number after load.js runs seems to not find the case #22

Closed brendanbabb closed 8 years ago

brendanbabb commented 8 years ago

I have experienced this 4 times. I run runners/load.js and get new data and then when I look for a case I know is in there I get a can't find your case message, but then if I submit the citation again, it finds it.

Not sure what is causing this and I will try to replicate a few more times.

brendanbabb commented 8 years ago

Tried it a couple times and it appears to be working. Closing ticket.

tescher commented 8 years ago

Database not being written right away? Wonder if there is a way to force a sync

Tim Escher tim@eschers.com 608 432 5799

On Oct 7, 2016 9:48 AM, "Brendan Babb" notifications@github.com wrote:

I have experienced this 4 times. I run runners/load.js and get new data and then when I look for a case I know is in there I get a can't find your case message, but then if I submit the citation again, it finds it.

Not sure what is causing this and I will try to replicate a few more times.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/codeforanchorage/courtbot/issues/22, or mute the thread https://github.com/notifications/unsubscribe-auth/ACcF3DnqnhqCCRNvm4XRMERc1bbLPWTuks5qxaT9gaJpZM4KQmey .[image: Web Bug from https://github.com/notifications/beacon/ACcF3H2VJ60z_s-EHJYJPYiy2hLP8JFlks5qxaT9gaJpZM4KQmey.gif] {"api_version":"1.0","publisher":{"api_key":" 05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity": {"external_key":"github/codeforanchorage/courtbot"," title":"codeforanchorage/courtbot","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/ 143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png"," avatar_image_url":"https://cloud.githubusercontent.com/ assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png ","action":{"name":"Open in GitHub","url":"https://github. com/codeforanchorage/courtbot"}},"updates":{"snippets":[{" icon":"DESCRIPTION","message":"First search for a citation number after load.js runs seems to not find the case (#22)"}],"action":{"name":"View Issue","url":"https://github.com/codeforanchorage/courtbot/issues/22"}}}

btrott18 commented 8 years ago

Wondering if the issue is related to updating dependencies/versions?

Does the build job run an npm update before executing tasks?

On Oct 6, 2016 9:30 PM, "tescher" notifications@github.com wrote:

Database not being written right away? Wonder if there is a way to force a sync

Tim Escher tim@eschers.com 608 432 5799

On Oct 7, 2016 9:48 AM, "Brendan Babb" notifications@github.com wrote:

I have experienced this 4 times. I run runners/load.js and get new data and then when I look for a case I know is in there I get a can't find your case message, but then if I submit the citation again, it finds it.

Not sure what is causing this and I will try to replicate a few more times.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/codeforanchorage/courtbot/issues/22, or mute the thread https://github.com/notifications/unsubscribe-auth/ ACcF3DnqnhqCCRNvm4XRMERc1bbLPWTuks5qxaT9gaJpZM4KQmey .[image: Web Bug from https://github.com/notifications/beacon/ACcF3H2VJ60z_s- EHJYJPYiy2hLP8JFlks5qxaT9gaJpZM4KQmey.gif] {"api_version":"1.0","publisher":{"api_key":" 05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity": {"external_key":"github/codeforanchorage/courtbot"," title":"codeforanchorage/courtbot","subtitle":"GitHub repository","main_image_url":"https://cloud. githubusercontent.com/assets/ 143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png"," avatar_image_url":"https://cloud.githubusercontent.com/ assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png ","action":{"name":"Open in GitHub","url":"https://github. com/codeforanchorage/courtbot"}},"updates":{"snippets":[{" icon":"DESCRIPTION","message":"First search for a citation number after load.js runs seems to not find the case (#22)"}],"action":{"name":"View Issue","url":"https://github.com/codeforanchorage/courtbot/issues/22"}}}

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/codeforanchorage/courtbot/issues/22#issuecomment-252156524, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ0QePVDLit5nUnRIKpCEs_uVQuxX2uSks5qxdkIgaJpZM4KQmey .

btrott18 commented 8 years ago

Nevermind. Looks like a fresh install... I may need to retest using all the same versioning as the build job.

On Oct 9, 2016 8:39 AM, "Brad Trott" btrott18@gmail.com wrote:

Wondering if the issue is related to updating dependencies/versions?

Does the build job run an npm update before executing tasks?

On Oct 6, 2016 9:30 PM, "tescher" notifications@github.com wrote:

Database not being written right away? Wonder if there is a way to force a sync

Tim Escher tim@eschers.com 608 432 5799

On Oct 7, 2016 9:48 AM, "Brendan Babb" notifications@github.com wrote:

I have experienced this 4 times. I run runners/load.js and get new data and then when I look for a case I know is in there I get a can't find your case message, but then if I submit the citation again, it finds it.

Not sure what is causing this and I will try to replicate a few more times.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/codeforanchorage/courtbot/issues/22, or mute the thread https://github.com/notifications/unsubscribe-auth/ACcF3Dnqn hqCCRNvm4XRMERc1bbLPWTuks5qxaT9gaJpZM4KQmey .[image: Web Bug from https://github.com/notifications/beacon/ACcF3H2VJ60z_s-EHJYJ PYiy2hLP8JFlks5qxaT9gaJpZM4KQmey.gif] {"api_version":"1.0","publisher":{"api_key":" 05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity": {"external_key":"github/codeforanchorage/courtbot"," title":"codeforanchorage/courtbot","subtitle":"GitHub repository","main_image_url":"https://cloud.githubuserconten t.com/assets/ 143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png"," avatar_image_url":"https://cloud.githubusercontent.com/ assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png ","action":{"name":"Open in GitHub","url":"https://github. com/codeforanchorage/courtbot"}},"updates":{"snippets":[{" icon":"DESCRIPTION","message":"First search for a citation number after load.js runs seems to not find the case (#22)"}],"action":{"name":"View Issue","url":"https://github.com/codeforanchorage/courtbot/issues/22 "}}}

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/codeforanchorage/courtbot/issues/22#issuecomment-252156524, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ0QePVDLit5nUnRIKpCEs_uVQuxX2uSks5qxdkIgaJpZM4KQmey .