cooperdk / YAPO-e-plus

YAPO e+ - Yet Another Porn Organizer (extended)
https://github.com/cooperdk/YAPO-e-plus
GNU General Public License v3.0
145 stars 15 forks source link

Starting second time does nothing #1

Closed Hakker closed 4 years ago

Hakker commented 5 years ago

Describe the bug Starting the program the second time it would give me the first 2 lines of the program (static files dir and media files dir) start and then the window just closes again. running it in a static cli window throws an importerror: no module named _thread see screenshot.

For some reason it tries to run with my Python 2.7 installation and not with Python 3.6+ so I'm guessing the code isn't update to start with python3 by default.

To Reproduce

  1. Start Yapo
  2. Stop the process (seemingly can only be done in the task manager)
  3. Start Yapo again

Expected behavior That Yapo would start like it would the first time

Screenshots http://tinyimg.io/i/OYOcW9G.png

Desktop (please complete the following information):

cooperdk commented 5 years ago

Hey, if you have Python installed and use the Github version of the software, you have to use Python 3.6+.

Otherwise you must use the complete installer, which includes Python as an "embedded" interpreter and won't do anything to your own Python installation.

Hakker commented 5 years ago

it didn't matter for me which way I used it. I tried it with the github version as the installation package. The installation version will work the first time yet I cannot start it the second time. also trying it manually with py command. It simply defaults to 2.7 python.

cooperdk commented 5 years ago

The (compiled) script to execute specifically calls the Python available in .\apps\Python\python.exe. I don’t know why it doesn’t do that in your case, and I haven’t heard of others having this issue.

Fra: Hakker [mailto:notifications@github.com] Sendt: 9. marts 2019 15:13 Til: cooperdk/YAPO-e-plus Cc: cooperdk; Comment Emne: Re: [cooperdk/YAPO-e-plus] Starting second time does nothing (#1)

it didn't matter for me which way I used it. I tried it with the github version as the installation package. The installation version will work the first time yet I cannot start it the second time. also trying it manually with py command. It simply defaults to 2.7 yet py command if the source is correctly written should automatically start either v2 or v3 of python.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cooperdk/YAPO-e-plus/issues/1#issuecomment-471181161 , or mute the thread https://github.com/notifications/unsubscribe-auth/AAibtsqaauGDIDsKCNB8IQVM4 -8hJw3Pks5vU8FwgaJpZM4bcGs9 . https://github.com/notifications/beacon/AAibtoSCz1OOeJTZ-mycPt6kctOqmZWKks5 vU8FwgaJpZM4bcGs9.gif

cooperdk commented 5 years ago

Please let me know, did you figure out what caused this?

Because I cannot reproduce it.

cooperdk commented 4 years ago

I suspect this has been resolved, please open another issue if not.