freedmand / semantra

Multi-tool for semantic search
MIT License
2.52k stars 140 forks source link

Getting a 404: The requested URL was not found on the server. #77

Closed shivams closed 6 months ago

shivams commented 6 months ago

I am trying to use Semantra for the first time. I did the setup and everything correctly. But when I finally run semantra using command: semantra *.txt --host 0.0.0.0, I am unable to open it on my browser (either from localhost or from a different machine). It throws 404 in both cases. I can see 404 message on the Flask app as well. What's going on? Am I missing something?

freedmand commented 6 months ago

I’m also getting this — it works when in a local environment. Will investigate

On Thu, May 9, 2024 at 12:57 PM shivams @.***> wrote:

I am trying to use Semantra for the first time. I did the setup and everything correctly. But when I finally run semantra using command: semantra *.txt --host 0.0.0.0, I am unable to open it on my browser (either from localhost or from a different machine). It throws 404 in both cases. I can see 404 message on the Flask app as well. What's going on? Am I missing something?

— Reply to this email directly, view it on GitHub https://github.com/freedmand/semantra/issues/77, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACKXL4UVTBLMNY3BR4KQHLZBOTHZAVCNFSM6AAAAABHPE27X2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI4DQMBYG44DMOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

shivams commented 6 months ago

@freedmand You mean it works in a "virtual pip environment"? I just tried that as well, but it gave the same error.

freedmand commented 6 months ago

I just realized the issue is likely the way I bundled the latest version without building the frontend first. I can get this patched tomorrow. In the meantime, if you revert to the previous version (0.1.8) it should work.

On Thu, May 9, 2024 at 1:43 PM shivams @.***> wrote:

@freedmand https://github.com/freedmand You mean it works in a "virtual pip environment"? I just tried that as well, but it gave the same error.

— Reply to this email directly, view it on GitHub https://github.com/freedmand/semantra/issues/77#issuecomment-2103132765, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACKXL3V5AHZG6Q2KUV2VPTZBOYUTAVCNFSM6AAAAABHPE27X2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBTGEZTENZWGU . You are receiving this because you were mentioned.Message ID: @.***>

freedmand commented 6 months ago

This should be fixed now in version 0.1.10! Try updating and re-open if the problem persists. Thank you!