kochlisGit / ProphitBet-Soccer-Bets-Predictor

ProphitBet is a Machine Learning Soccer Bet prediction application. It analyzes the form of teams, computes match statistics and predicts the outcomes of a match using Advanced Machine Learning (ML) methods. The supported algorithms in this application are Neural Networks, Random Forests & Ensembl Models.
MIT License
334 stars 119 forks source link

ERROR LEAGUE #6

Open Papito8z opened 1 year ago

Papito8z commented 1 year ago

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_x64qbz5n2kfra8p0\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 ?

kochlisGit commented 1 year ago

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\tkinterinit.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: @.***>

Papito8z commented 1 year ago

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

kochlisGit commented 1 year ago

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: @.***>

Papito8z commented 1 year ago

I have windows . Thanks

kochlisGit commented 1 year ago

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: @.***>

Papito8z commented 1 year ago

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 :((((

kochlisGit commented 1 year ago

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: @.***>

Papito8z commented 1 year ago

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

kochlisGit commented 1 year ago

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: @.***>

Papito8z commented 1 year ago

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

Papito8z commented 1 year ago

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

kochlisGit commented 1 year ago

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: @.***>

Papito8z commented 1 year ago

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

kochlisGit commented 1 year ago

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: @.***>

Papito8z commented 1 year ago

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 commented 1 year ago

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

TYRANTHOSAURUS commented 1 year ago

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

Papito8z commented 1 year ago

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

AlessandroMecchia commented 1 year ago

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