ProphitBet-Soccer-Bets-Predictor icon indicating copy to clipboard operation
ProphitBet-Soccer-Bets-Predictor copied to clipboard

ERROR LEAGUE

Open Papito8z opened this issue 2 years ago • 19 comments

I have a problem when I run the file with Visual Code, the Prophitbet application opens correctly but in the league menu to create a league a white window opens. When I go back to the Visual Studio Code code, a file error appears on the league : PS C:\Users\Liamine> & C:/Users/Liamine/AppData/Local/Microsoft/WindowsApps/python3.9.exe c:/Users/Liamine/Downloads/ProphitBet-Soccer-Bets-Predictor-main/main.py Exception in Tkinter callback Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\tkinter_init_.py", line 1892, in call
return self.func(*args) File "c:\Users\Liamine\Downloads\ProphitBet-Soccer-Bets-Predictor-main\gui\main\application.py", line 159, in _create_league self._open_league_name, self._open_league, self._matches_df = CreateLeagueDialog( File "c:\Users\Liamine\Downloads\ProphitBet-Soccer-Bets-Predictor-main\gui\dialogs\league.py", line 16, in init self._all_leagues = league_repository.get_all_available_leagues() File "c:\Users\Liamine\Downloads\ProphitBet-Soccer-Bets-Predictor-main\database\repositories\league.py", line 20, in get_all_available_leagues with open(file=self._available_leagues_filepath, mode='r', encoding='utf=8') as csvfile: FileNotFoundError: [Errno 2] No such file or directory: 'database/storage/leagues/available_leagues.csv'

can you help e ?

Papito8z avatar Jan 29 '23 00:01 Papito8z

Try not to run it with visual studio code. Instead, you can double click on main.py (on windows) or open a cmd/terminal inside the folder and type: python main.py (windows) or python3 main.py on Linux.

From: @.> Sent: Sunday, January 29, 2023 2:49 AM To: @.> Cc: @.***> Subject: [kochlisGit/ProphitBet-Soccer-Bets-Predictor] ERROR LEAGUE (Issue #6)

I have a problem when I run the file with Visual Code, the Prophitbet application opens correctly but in the league menu to create a league a white window opens. When I go back to the Visual Studio Code code, a file error appears on the league : PS C:\Users\Liamine> & C:/Users/Liamine/AppData/Local/Microsoft/WindowsApps/python3.9.exe c:/Users/Liamine/Downloads/ProphitBet-Soccer-Bets-Predictor-main/main.py Exception in Tkinter callback Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\tkinter_init_.py", line 1892, in call return self.func(*args) File "c:\Users\Liamine\Downloads\ProphitBet-Soccer-Bets-Predictor-main\gui\main\application.py", line 159, in _create_league self._open_league_name, self._open_league, self._matches_df = CreateLeagueDialog( File "c:\Users\Liamine\Downloads\ProphitBet-Soccer-Bets-Predictor-main\gui\dialogs\league.py", line 16, in init self._all_leagues = league_repository.get_all_available_leagues() File "c:\Users\Liamine\Downloads\ProphitBet-Soccer-Bets-Predictor-main\database\repositories\league.py", line 20, in get_all_available_leagues with open(file=self._available_leagues_filepath, mode='r', encoding='utf=8') as csvfile: FileNotFoundError: [Errno 2] No such file or directory: 'database/storage/leagues/available_leagues.csv'

can you help e ?

— Reply to this email directly, view it on GitHubhttps://github.com/kochlisGit/ProphitBet-Soccer-Bets-Predictor/issues/6, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALUJUREDIYAP2PV7CPB4CC3WUW5BFANCNFSM6AAAAAAUJ5Y2CE. You are receiving this because you are subscribed to this thread.Message ID: @.***>

kochlisGit avatar Jan 29 '23 11:01 kochlisGit

Thank you for your quick response. I also tried opening the main.py by double clicking it, the command opens a black screen, lines of code also appear, then an error message appears: permission error win error 5: access denied: 'database'.

I have ensured that I have all rights and access by checking the properties of the files, and using the icacls command, and I have full control over everything. I don't understand this very much...

thank you

Papito8z avatar Jan 29 '23 12:01 Papito8z

Do you have windows or Linux?

From: @.> Sent: Sunday, January 29, 2023 2:40 PM To: @.> Cc: Vasileios @.>; @.> Subject: Re: [kochlisGit/ProphitBet-Soccer-Bets-Predictor] ERROR LEAGUE (Issue #6)

Thank you for your quick response. I also tried opening the main.py by double clicking it, the command opens a black screen, lines of code also appear, then an error message appears: permission error win error 5: access denied: 'database'.

I have ensured that I have all rights and access by checking the properties of the files, and using the icacls command, and I have full control over everything. I don't understand this very much...

thank you

— Reply to this email directly, view it on GitHubhttps://github.com/kochlisGit/ProphitBet-Soccer-Bets-Predictor/issues/6#issuecomment-1407653064, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALUJURHJP6SCWHDGZLILMILWUZQMHANCNFSM6AAAAAAUJ5Y2CE. You are receiving this because you commented.Message ID: @.***>

kochlisGit avatar Jan 29 '23 12:01 kochlisGit

I have windows . Thanks

Papito8z avatar Jan 29 '23 18:01 Papito8z

Try to re-download the repository

From: @.> Sent: Sunday, January 29, 2023 8:56 PM To: @.> Cc: Vasileios @.>; @.> Subject: Re: [kochlisGit/ProphitBet-Soccer-Bets-Predictor] ERROR LEAGUE (Issue #6)

I have windows . Thanks

— Reply to this email directly, view it on GitHubhttps://github.com/kochlisGit/ProphitBet-Soccer-Bets-Predictor/issues/6#issuecomment-1407742762, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALUJURHCDXWKQ34CMUPAAILWU24OFANCNFSM6AAAAAAUJ5Y2CE. You are receiving this because you commented.Message ID: @.***>

kochlisGit avatar Jan 29 '23 19:01 kochlisGit

I downloaded again but it still does not work … the prophit bet application opens correctly but I cannot create a league. I still have the same error message :((((

Papito8z avatar Jan 30 '23 07:01 Papito8z

Ok I see, it probably has something to do with your account rights. Are you an administrator on your computer?

From: @.> Sent: Monday, January 30, 2023 9:47 AM To: @.> Cc: Vasileios @.>; @.> Subject: Re: [kochlisGit/ProphitBet-Soccer-Bets-Predictor] ERROR LEAGUE (Issue #6)

I downloaded again but it still does not work … the prophit bet application opens correctly but I cannot create a league. I still have the same error message :((((

— Reply to this email directly, view it on GitHubhttps://github.com/kochlisGit/ProphitBet-Soccer-Bets-Predictor/issues/6#issuecomment-1408132193, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALUJURFKYOIJY4Z3XJR55JDWU5WZNANCNFSM6AAAAAAUJ5Y2CE. You are receiving this because you commented.Message ID: @.***>

kochlisGit avatar Jan 30 '23 07:01 kochlisGit

I still can't run the file with python. I can't manage with visual code . I have authorized all access, I am the administrator. Do you have a miracle solution for me? thanks for your help

Papito8z avatar Jan 31 '23 20:01 Papito8z

Can you try to test it on another computer? Another laptop maybe? Maybe it’s the application’s fault. Otherwise, for some weird reason, your computer prevents you from running python.

From: @.> Sent: Tuesday, January 31, 2023 10:21 PM To: @.> Cc: Vasileios @.>; @.> Subject: Re: [kochlisGit/ProphitBet-Soccer-Bets-Predictor] ERROR LEAGUE (Issue #6)

I still can't run the file with python. I can't manage with visual code . I have authorized all access, I am the administrator. Do you have a miracle solution for me? thanks for your help

— Reply to this email directly, view it on GitHubhttps://github.com/kochlisGit/ProphitBet-Soccer-Bets-Predictor/issues/6#issuecomment-1411012436, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALUJURFDCSP2CS2QRLEYZ5LWVFX3LANCNFSM6AAAAAAUJ5Y2CE. You are receiving this because you commented.Message ID: @.***>

kochlisGit avatar Jan 31 '23 21:01 kochlisGit

I uninstalled everything and reinstalled it all and now it works, thank you for your help and answers

Papito8z avatar Jan 31 '23 22:01 Papito8z

Hi sorry again When i lauch the fixture i have this error : Parsing Error: Failed to parse fixture table, because date "Feb 04 ~" was not found. Perhaps the selected date is incorrect or the HTML of Footystats code has changed

Papito8z avatar Feb 02 '23 09:02 Papito8z

Yeah. Are you sure feb 04 date has a fixture? Did you check it on footystats.org?

From: @.> Sent: Thursday, February 2, 2023 11:02 AM To: @.> Cc: Vasileios @.>; @.> Subject: Re: [kochlisGit/ProphitBet-Soccer-Bets-Predictor] ERROR LEAGUE (Issue #6)

Hi sorry again When i lauch the fixture i have this error : Parsing Error: Failed to parse fixture table, because date "Feb 04 ~" was not found. Perhaps the selected date is incorrect or the HTML of Footystats code has changed

— Reply to this email directly, view it on GitHubhttps://github.com/kochlisGit/ProphitBet-Soccer-Bets-Predictor/issues/6#issuecomment-1413370691, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALUJURFMQTUAUBBFVBGRSNLWVNZZXANCNFSM6AAAAAAUJ5Y2CE. You are receiving this because you commented.Message ID: @.***>

kochlisGit avatar Feb 02 '23 09:02 kochlisGit

yes the fixture are 4feb . https://footystats.org/france/ligue-1/fixtures I HAVE TO CLICK SHOW MORE TO SEE THE MATCH

Papito8z avatar Feb 02 '23 09:02 Papito8z

Does it happen on that league only on that league or others as well?

From: @.> Sent: Thursday, February 2, 2023 11:05 AM To: @.> Cc: Vasileios @.>; @.> Subject: Re: [kochlisGit/ProphitBet-Soccer-Bets-Predictor] ERROR LEAGUE (Issue #6)

yes the fixture are 4feb . https://footystats.org/france/ligue-1/fixtures I HAVE TO CLICK SHOW MORE TO SEE THE MATCH

— Reply to this email directly, view it on GitHubhttps://github.com/kochlisGit/ProphitBet-Soccer-Bets-Predictor/issues/6#issuecomment-1413375007, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALUJURFPGUFWWRYS4E5JDNLWVN2ELANCNFSM6AAAAAAUJ5Y2CE. You are receiving this because you commented.Message ID: @.***>

kochlisGit avatar Feb 02 '23 09:02 kochlisGit

I test only in this test ! However i évaluate my model on 200 . I have 84% of accuary INCREDIBLE good joob man

Le jeu. 2 févr. 2023 à 10:06, Vasileios Kochliaridis < @.***> a écrit :

Does it happen on that league only on that league or others as well?

From: @.> Sent: Thursday, February 2, 2023 11:05 AM To: @.> Cc: Vasileios @.>; @.> Subject: Re: [kochlisGit/ProphitBet-Soccer-Bets-Predictor] ERROR LEAGUE (Issue #6)

yes the fixture are 4feb . https://footystats.org/france/ligue-1/fixtures I HAVE TO CLICK SHOW MORE TO SEE THE MATCH

— Reply to this email directly, view it on GitHub< https://github.com/kochlisGit/ProphitBet-Soccer-Bets-Predictor/issues/6#issuecomment-1413375007>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/ALUJURFPGUFWWRYS4E5JDNLWVN2ELANCNFSM6AAAAAAUJ5Y2CE

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/kochlisGit/ProphitBet-Soccer-Bets-Predictor/issues/6#issuecomment-1413377324, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5Q355MHIASX35USM264523WVN2JVANCNFSM6AAAAAAUJ5Y2CE . You are receiving this because you authored the thread.Message ID: @.*** com>

Papito8z avatar Feb 02 '23 09:02 Papito8z

What are the best tuning parameters for your models? Thank you for your work.

Papito8z avatar Feb 04 '23 20:02 Papito8z

It happens on all leagues, i had it multiple times.

But when it succeed's it also gives invalid rows without odds if odds aren't there yet which cannot be removed unless you manually fill in fake odds.

Would be great to be able to remove incorrect rows

TYRANTHOSAURUS avatar Feb 06 '23 15:02 TYRANTHOSAURUS

What is your best model for each league? What is your highest accuracy?"

Papito8z avatar Feb 17 '23 16:02 Papito8z

hi @Papito8z , With what parameters did you get those results?

AlessandroMecchia avatar Mar 01 '23 11:03 AlessandroMecchia