M4elstr0m / TarkovMapTracker

Watch your live location on a map from Escape From Tarkov
MIT License
3 stars 0 forks source link

Wont launch #1

Closed thedude1987 closed 2 weeks ago

thedude1987 commented 2 months ago

I have tried everything to get this thing to launch. I get the black terminal screen flash everytime i double click the batch file and thats it.

M4elstr0m commented 1 month ago

Hello @thedude1987 I'm really sorry I did'nt see your comment! Can you try to open the command line first to execute the batch so that we can see any errors?

Here's the detailed steps:

  1. Go in your folder where the .bat file is located
  2. Shift+Right Click in this folder and select "Open Powershell terminal here"
  3. When the terminal show up, execute this command in Powershell : ./Start.bat

Then if there's any errors please paste them here so I can help you more precisely, and if the script works when you do that using powershell I will help you to automatize everything

cjans1130 commented 2 weeks ago

I am having the same issue. I followed your steps and I get this error: image

M4elstr0m commented 2 weeks ago

@cjans1130 It seems your Powershell window is open in the wrong directory : you have to be in the same folder as the Start.bat so not in "tarkov-map-tracker". For example for your computer it seems the path would be "C:\Users\cjans\Desktop\TarkovMapTracker-main\TarkovMapTracker-main\" Be sure that the Start.bat is located in the main folder (you don't have to go in 'tarkov-map-tracker' folder using the Start.bat way)

Fuckingnameless commented 2 weeks ago

not working for me either w11 23h2 python 3.11

Fuckingnameless commented 2 weeks ago

how do you install the modules tkinter etc?

M4elstr0m commented 2 weeks ago

@Fuckingnameless You have to do "pip install tk" in a Powershell window, I'll update the script soon in order to do it automatically For the other module it should be "pip install (module name)"

M4elstr0m commented 2 weeks ago

For everyone getting a missing package error, and @Fuckingnameless : Download the new repository (I just updated it) and type the command "pip install -r requirements.txt" in your main folder, every requirements will be downloaded automatically If the software works, don't hesitate to leave a star on this repository ;) support is always appreciated

Fuckingnameless commented 2 weeks ago

For everyone getting a missing package error, and @Fuckingnameless : Download the new repository (I just updated it) and type the command "pip install -r requirements.txt" in your main folder, every requirements will be downloaded automatically If the software works, don't hesitate to leave a star on this repository ;) support is always appreciated

Thanks for the prompt reply and fix, should have been obvious but windows dumbs me down lol will try asap, do you know if this works in SPTarkov?

sillyman6 commented 2 weeks ago

Hello i am experiencing the same issue as the first person, except that when entering ./Start.bat into the power shell in the folder no text appears afterwards image and i see a software open and immediately close at the bottom.

M4elstr0m commented 2 weeks ago

For everyone getting a missing package error, and @Fuckingnameless : Download the new repository (I just updated it) and type the command "pip install -r requirements.txt" in your main folder, every requirements will be downloaded automatically If the software works, don't hesitate to leave a star on this repository ;) support is always appreciated

Thanks for the prompt reply and fix, should have been obvious but windows dumbs me down lol will try asap, do you know if this works in SPTarkov?

@Fuckingnameless Well if you can do a screenshot like in Tarkov, and if the maps are the same, it should ;) Please tell me if it works (I did'nt tried SPTarkov)

M4elstr0m commented 2 weeks ago

Hello i am experiencing the same issue as the first person, except that when entering ./Start.bat into the power shell in the folder no text appears afterwards image and i see a software open and immediately close at the bottom.

Okay first I'll have to find the cause of the issue, did you try the command "pip install -r requirements.txt" aswell? Maybe all of those issues are because of missing packages?

sillyman6 commented 2 weeks ago

Hello i am experiencing the same issue as the first person, except that when entering ./Start.bat into the power shell in the folder no text appears afterwards image and i see a software open and immediately close at the bottom.

Okay first I'll have to find the cause of the issue, did you try the command "pip install -r requirements.txt" aswell? Maybe all of those issues are because of missing packages?

This is what appears when typing pip install -r requirements.txt image

M4elstr0m commented 2 weeks ago

Hello i am experiencing the same issue as the first person, except that when entering ./Start.bat into the power shell in the folder no text appears afterwards image and i see a software open and immediately close at the bottom.

Okay first I'll have to find the cause of the issue, did you try the command "pip install -r requirements.txt" aswell? Maybe all of those issues are because of missing packages?

This is what appears when typing pip install -r requirements.txt image

Perfect! thank you exactly what we needed to solve the issue! Well it seems my script isn't the problem here: to solve your problem, you have to install pip first, it usually comes with last version of python (you also have to install python if you didn't do it yet of course) but you still can download it if you already have python installed with the following command: py -m ensurepip --upgrade Notice that on some Operating system it might be python -m ensurepip --upgrade or even python3 -m ensurepip --upgrade Please tell me if it works ;)

sillyman6 commented 2 weeks ago

Hello i am experiencing the same issue as the first person, except that when entering ./Start.bat into the power shell in the folder no text appears afterwards image and i see a software open and immediately close at the bottom.

Okay first I'll have to find the cause of the issue, did you try the command "pip install -r requirements.txt" aswell? Maybe all of those issues are because of missing packages?

This is what appears when typing pip install -r requirements.txt image

Perfect! thank you exactly what we needed to solve the issue! Well it seems my script isn't the problem here: to solve your problem, you have to install pip first, it usually comes with last version of python (you also have to install python if you didn't do it yet of course) but you still can download it if you already have python installed with the following command: py -m ensurepip --upgrade Notice that on some Operating system it might be python -m ensurepip --upgrade or even python3 -m ensurepip --upgrade Please tell me if it works ;)

i have successfully installed all of the related requirements yet it still instantly closes when doing ./Start.bat image Perhaps there is another issue?

M4elstr0m commented 2 weeks ago

i have successfully installed all of the related requirements yet it still instantly closes when doing ./Start.bat image Perhaps there is another issue?

Okay it seems there is no error message unfortunately :/ Then you can try to different things: Go in the tarkov-map-tracker folder then open the terminal window and type: py gui.py or python gui.py There should be an error code (or maybe it'll start) tell me what happens! ^^ If it does'nt work try to delete the _executedpreviously.dat located in the tarkov-map-tracker folder and then try again the first step I told you earlier in this message

I hope we will be able to get either an error message or my software working

sillyman6 commented 2 weeks ago

i have successfully installed all of the related requirements yet it still instantly closes when doing ./Start.bat image Perhaps there is another issue?

Okay it seems there is no error message unfortunately :/ Then you can try to different things: Go in the tarkov-map-tracker folder then open the terminal window and type: py gui.py or python gui.py There should be an error code (or maybe it'll start) tell me what happens! ^^ If it does'nt work try to delete the _executedpreviously.dat located in the tarkov-map-tracker folder and then try again the first step I told you earlier in this message

I hope we will be able to get either an error message or my software working

thank you so much for your patience. it opened when typing "py gui.py" in the "D:\TarkovMapTracker-main\tarkov-map-tracker directory"

M4elstr0m commented 2 weeks ago

i have successfully installed all of the related requirements yet it still instantly closes when doing ./Start.bat image Perhaps there is another issue?

Okay it seems there is no error message unfortunately :/ Then you can try to different things: Go in the tarkov-map-tracker folder then open the terminal window and type: py gui.py or python gui.py There should be an error code (or maybe it'll start) tell me what happens! ^^ If it does'nt work try to delete the _executedpreviously.dat located in the tarkov-map-tracker folder and then try again the first step I told you earlier in this message I hope we will be able to get either an error message or my software working

thank you so much for your patience. it opened when typing "py gui.py" in the "D:\TarkovMapTracker-main\tarkov-map-tracker directory"

Perfect ! ^^ so glad it worked I'll try to re-code the Batch.bat and update the repo ;) I'll send a message here when it'll be done! Have fun using my TarkovMapTracker ;)

M4elstr0m commented 2 weeks ago

Hey there everyone! I'm glad to announce I released the v1.0.1 in response to all the issues in this thread! Don't hesitate to download the v1.0.1 that (I believe) will be more convenient for every user! If you are still encountering an issue with my software please create a new issue thread I'll be glad to help as soon as I can! I updated the README.md with all the answers I wrote here but if you are stuck, don't hesitate to take a look at the previous messages like this one:

@sillyman6 Okay it seems there is no error message unfortunately :/ Then you can try to different things: Go in the tarkov-map-tracker folder then open the terminal window and type: py gui.py or python gui.py There should be an error code (or maybe it'll start) tell me what happens! ^^ If it does'nt work try to delete the _executedpreviously.dat located in the tarkov-map-tracker folder and then try again the first step I told you earlier in this message

Thanks everyone!