Skip to content

Plugin has crashed - FileNotFoundError for product.db #79

@Winters-Glade

Description

@Winters-Glade

Plugin crashes on the Battle.net login screen, even with no user input.

To Reproduce
Click Connect under Settings>Platforms>Integrations>Battle.net
Click Connect in the following window
Plugin crashes regardless of user input after approx. 5 seconds

Expected behavior
Window should stay open until the process is complete
Plugin should connect to Battle.net

Additional Steps
I've tried redownloading the plugin, restarting the launcher, downloading the other fork, deleting the plugin folder to allow the launcher to redownload the plugin.

Potentially Relevant Info
Windows 11
Log appears to indicate FileNotFoundError for product.db

Attached logs
2025-01-03 06:00:57,644 - root - DEBUG - Using proactor: IocpProactor
2025-01-03 06:00:57,645 - galaxy.api.plugin - INFO - Using local address: 127.0.0.1:30067
2025-01-03 06:00:57,646 - galaxy.api.plugin - INFO - Creating plugin for platform battlenet, version 1.4.3
2025-01-03 06:00:57,646 - root - WARNING - uninstaller not foundUninstaller not found
2025-01-03 06:00:57,691 - galaxy.api.jsonrpc - DEBUG - Received 66 bytes of data
2025-01-03 06:00:57,691 - galaxy.api.jsonrpc - INFO - Handling request: id=0, method=get_capabilities, params={}
2025-01-03 06:00:57,691 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "0", "result": {"platform_name": "battlenet", "features": ["UninstallGame", "LaunchPlatformClient", "ImportGameTime", "ShutdownPlatformClient", "ImportLocalSize", "InstallGame", "ImportInstalledGames", "ImportOwnedGames", "LaunchGame"], "token": "55b4bc66-d955-43c4-9aaf-0e4f10ac8ccc"}}
2025-01-03 06:00:57,892 - galaxy.api.jsonrpc - DEBUG - Received 75 bytes of data
2025-01-03 06:00:57,893 - galaxy.api.jsonrpc - INFO - Handling request: id=1, method=initialize_cache, params={'data': '****'}
2025-01-03 06:00:57,893 - galaxy.task_manager - DEBUG - Task manager plugin external: creating task 0 (delayed handshake)
2025-01-03 06:00:57,893 - galaxy.task_manager - DEBUG - Task manager plugin internal: creating task 0 (tick)
2025-01-03 06:00:57,893 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "1", "result": null}
2025-01-03 06:00:57,995 - galaxy.api.jsonrpc - DEBUG - Received 54 bytes of data
2025-01-03 06:00:57,995 - galaxy.api.jsonrpc - INFO - Handling request: id=2, method=ping, params={}
2025-01-03 06:00:57,995 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "2", "result": null}
2025-01-03 06:00:58,894 - galaxy.task_manager - DEBUG - Task manager plugin external: creating task 1 (local data watcher)
2025-01-03 06:00:58,894 - galaxy.task_manager - DEBUG - Task manager plugin external: creating task 2 (classic games updater)
2025-01-03 06:00:58,894 - galaxy.task_manager - DEBUG - Task manager plugin external: finished task 0 (delayed handshake)
2025-01-03 06:00:58,895 - root - WARNING - product.db not found: FileNotFoundError(2, 'No such file or directory')
2025-01-03 06:01:00,273 - galaxy.api.jsonrpc - DEBUG - Received 68 bytes of data
2025-01-03 06:01:00,273 - galaxy.api.jsonrpc - INFO - Handling request: id=3, method=import_local_games, params={}
2025-01-03 06:01:00,273 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: creating task 0 (import_local_games)
2025-01-03 06:01:00,273 - galaxy.task_manager - DEBUG - Task manager plugin external: creating task 3 (import_local_games)
2025-01-03 06:01:00,383 - galaxy.api.jsonrpc - DEBUG - Received 69 bytes of data
2025-01-03 06:01:00,383 - galaxy.api.jsonrpc - INFO - Handling request: id=4, method=init_authentication, params={}
2025-01-03 06:01:00,383 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: creating task 1 (init_authentication)
2025-01-03 06:01:00,384 - galaxy.task_manager - DEBUG - Task manager plugin external: creating task 4 (init_authentication)
2025-01-03 06:01:00,384 - root - WARNING - product.db not found: FileNotFoundError(2, 'No such file or directory')
2025-01-03 06:01:00,556 - root - ERROR -
2025-01-03 06:01:00,556 - galaxy.task_manager - DEBUG - Task manager plugin external: finished task 4 (init_authentication)
2025-01-03 06:01:00,556 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "4", "result": {"next_step": "web_session", "auth_params": {"window_title": "Login to Battle.net", "window_width": 540, "window_height": 700, "start_uri": "https://.battle.net/oauth/authorize?response_type=code&client_id=6cb41a854631426c8a74d4084c4d61f2&redirect_uri=http://friendsofgalaxy.com&scope=wow.profile+sc2.profile", "end_uri_regex": "(.logout&app=oauth.)|(^http://friendsofgalaxy\\.com.*)"}}}
2025-01-03 06:01:00,556 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: finished task 1 (init_authentication)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions