AstuteSource / chasten

:dizzy: Chasten Uses XML and XPATH to Check a Python Program's AST for Specified Patterns!
https://pypi.org/project/chasten/
GNU General Public License v2.0
7 stars 8 forks source link

Datasette publish executable issue #117

Closed Poiuy7312 closed 8 months ago

Poiuy7312 commented 8 months ago

This is a very similar bug as #51 for the datasette-publish command this only an issue on windows

To Reproduce Steps to reproduce the behavior: Simply run the datasette-publish command on a windows OS and it won't be able to find the executable for datasette

Expected behavior This shouldn't happen it should be able to find the executable this is an issue because of windows storing executables in a different way than Linux and Mac

gkapfham commented 8 months ago

Hello @Poiuy7312, yes, I agree that this is an issue! Do you agree that it is connected to the fact that it is not finding the executable in the virtual environment due to a path issue? If it something different, could you please give me an update on what you think is the key problem and how to solve it?

Poiuy7312 commented 8 months ago

Hello @Poiuy7312, yes, I agree that this is an issue! Do you agree that it is connected to the fact that it is not finding the executable in the virtual environment due to a path issue? If it something different, could you please give me an update on what you think is the key problem and how to solve it?

I believe it's the same as issue #51 and the fix should be pretty simple as it should just require sending the start_datasette_server function the OS of the computer when using the publish command