lotusnprod / lotus-web

Code for LOTUS web
https://lotus.naturalproducts.net/
MIT License
13 stars 5 forks source link

Error occurred on image search #58

Open JaichandJohnson opened 1 year ago

JaichandJohnson commented 1 year ago

I tried dragging a molecular structure image displayed in the page into the search box to search. It accepted the search as a string (data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAADICAYAAABS39xVAAAAAXNSR0IArs4c6QAAGCVJREFUeF7tnQsUNVVZhl/vacu8lWJGkpl4SVGz0hREK0usNCXoKobaRTKy0tK8oqh5wyTSlNRUyktqZpRmmAqKKZoXLM0EJcxbLjU1wlutx/VNazicc2afmT0ze59591qs8/PPzN7fPN/M+++959v7u4xcTMAETKASApepxE6baQImYAKyYPkhMAETqIaABasaV9lQEzABC5afARMwgWoIWLCqcZUNNQETsGD5GTABE6iGgAWrGlfZUBMwAQuWnwETMIFqCFiwqnGVDTUBE7Bg+RkwAROohoAFqxpX2VATMAELlp8BEzCBaghYsKpxlQ01AROwYPkZMAETqIaABasaV9lQEzABC5afARMwgWoIWLCqcZUNNQETsGD5GTABE6iGgAWrGlfZUBMwAQuWnwETMIFqCFiwqnGVDTUBE7Bg+RkwAROohoAFqxpX2VATMAELlp8BEzCBaghYsKpxlQ01AROwYPkZMAETqIaABasaV9lQEzABC5afARMwgWoIWLCqcZUNNQETsGD5GTABE6iGgAWrGlfZUBMwAQuWnwETMIFqCFiwqnGVDTUBE7Bg+RkwAROohoAFqxpX2VATMAELlp8BEzCBaghYsKpxlQ01AROwYPkZMAETqIaABasaV9lQEzABC5afgdwEfk7Si1qVvlYSf/fp3A0toL7bSzqrdZ/vlnS0pA8s4N7X3qIFa6mez3/fV5Z0kqSDVgSqeenuIOnN+Zvd2xofIeleKwJ1sKSXSHqypNP29s633JgFa4leH+ee6UUdKulBki5aaQLR4gV0TyuN/TZeiNYzJP36EntaFqy0B8hnbSfQ9K7O3PAvf3P8he5lJT1KiDvlsRvO5vh5S+xlWbCSnh+f1EHgWvHy8IJtGvYt9iXb8enpEn+q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KsMuCKfFX15Z0knxZ3pTF/lJMQETKIfAvgtWQ5pEowjXgbGtcNOzQsCImm+XRrTObAlZOR6zJSawYAJLEazGxeTvY1thelcspWER9bqs0RxnRwT3shb8cvjWyyOwNMFqPIBQEUu1SZDYIoYvjuwcuk7QyvOkLTKBBRCwYK2fp7JgLeDh9y3WR2CpguUhYX3Pqi02AS1VsDzp7offBCoksFTBwlUOa6jwgbXJyyawZMHC8ymBo8t+Qnz3JlAQgaULVkGusCkmYAJdBCxYXYR83ARMoBgCFqxiXGFDTMAEughYsLoI+bgJmEAxBCxYxbjChpiACXQRsGB1EfJxEzCBYghYsIpxhQ0xARPoImDB6iLk4yZgAsUQsGAV4wobYgIm0EXAgtVFyMdNwASKIWDBKsYVNsQETKCLgAWri5CPm4AJFEPAglWMK2yICZhAFwELVhchHzcBEyiGgAWrGFfYEBMwgS4CFqwuQj5uAiZQDAELVjGusCEmYAJdBCxYXYR83ARMoBgCFqxiXGFDTMAEughYsLoI+bgJmEAxBCxYxbjChpiACXQRsGB1EfJxEzCBYghYsIpxhQ0xARPoImDB6iLk4yZgAsUQsGAV4wobYgIm0EXAgtVFyMdNwASKIWDBKsYVNsQETKCLgAWri5CPm4AJFEPAglWMK2yICZhAFwELVhchHzcBEyiGgAWrGFfYEBMwgS4CFqwuQj5uAiZQDAELVjGusCEmYAJdBCxYXYR83ARMoBgCFqxiXGFDTMAEughYsLoI+bgJmEAxBCxYxbjChpiACXQRsGB1EfJxEzCBYghYsIpxhQ0xARPoImDB6iLk4yZgAsUQsGAV4wobYgIm0EXAgtVFyMdNwASKIWDBKsYVNsQETKCLwP8BAKCOBcO+VPYAAAAASUVORK5CYII=)

But on clicking search, it gave an error. It is repeatable. 1 2

Adafede commented 1 year ago

Hi @JaichandJohnson,

The LOTUS website will be undergoing some major changes soon so it is noted on our side but will probably take some time before a fix, thank you for the detailed report!