marilynel / marine_taxonomic_comparison_tool

0 stars 0 forks source link

The application should return imageNotFound.jpg if a Wikipedia image was not found #2

Open stleary opened 2 years ago

marilynel commented 2 years ago

this seems to be an exception handling thing, maybe you could help me with it? I've been playing with it for a bit and just got it back to the working as well as it did when I started, but this is still an issue

marilynel commented 2 years ago

This may also be addressed with the image service working...which maybe one day it will

stleary commented 2 years ago

notforlong image_service seems to be working fine for me. What problem are you seeing? Also, I think image_service is correctly returning imageNotFound now.

marilynel commented 2 years ago

I assume this is related to the program failure noted in another issue thread. image service sometimes returns the pencil icon instead of a real image, which is related to the whole "main image" issue I've been struggling with for a while with the image service

stleary commented 2 years ago

For some reason marine_taxo seems unable to write the 'red pencil' file. Not sure why. But the greater problem is identifying the main image. In general, the main image occupies a specific location on the screen. You can identify it by that, instead of the list of image you are using now. Beautiful soup should be able to handle this. We can work on it tomorrow.

marilynel commented 2 years ago

OK sounds good. I've not been able to get beautiful soup to work for me in that regard but maybe we can troubleshoot something