avalon60/ctk_theme_builder

after build_app.bat - can't open app

Closed this issue ยท 5 comments

this is the error message in consol

python theme_builder_setup.py
No pyvenv.cfg file

With VenV folder (download from build_app.bat

C:\Users\USER>D:\99_PROGRAM_WINDAUBE\Python\Python311\ctk_theme_builder\ctk_theme_builder/ctk_theme_builder.py
Unable to locate database file located at D:\99_PROGRAM_WINDAUBE\Python\Python311\ctk_theme_builder\ctk_theme_builder\assets\data\ctk_theme_builder.db
Traceback (most recent call last):
  File "D:\99_PROGRAM_WINDAUBE\Python\Python311\ctk_theme_builder\ctk_theme_builder\ctk_theme_builder.py", line 14, in <module>
    from lib.control_panel import ControlPanel
  File "D:\99_PROGRAM_WINDAUBE\Python\Python311\ctk_theme_builder\ctk_theme_builder\lib\control_panel.py", line 6, in <module>
    import lib.ctk_theme_builder_m as mod
  File "D:\99_PROGRAM_WINDAUBE\Python\Python311\ctk_theme_builder\ctk_theme_builder\lib\ctk_theme_builder_m.py", line 739, in <module>
    METHOD_LISTENER_ADDRESS = method_listener_address()
                              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\99_PROGRAM_WINDAUBE\Python\Python311\ctk_theme_builder\ctk_theme_builder\lib\ctk_theme_builder_m.py", line 734, in method_listener_address
    _listener_port = listener_port()
                     ^^^^^^^^^^^^^^^
  File "D:\99_PROGRAM_WINDAUBE\Python\Python311\ctk_theme_builder\ctk_theme_builder\lib\ctk_theme_builder_m.py", line 728, in listener_port
    _listener_port = preference_setting(db_file_path=DB_FILE_PATH, scope='user_preference',
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\99_PROGRAM_WINDAUBE\Python\Python311\ctk_theme_builder\ctk_theme_builder\lib\ctk_theme_builder_m.py", line 642, in preference_setting
    raise FileNotFoundError
FileNotFoundError

C:\Users\Mklughertz>

image

C:\Users\USER>python theme_builder_setup.py -i D:\99_PROGRAM_WINDAUBE\Python\Python311\bouh -p D:\99_PROGRAM_WINDAUBE\Python\Python311\bouh/ctk_theme_builder-2.4.0.zip
No pyvenv.cfg file

First of all, your installation location looks odd. Are you installing theme builder, where you have Python installed?

Please try an experiment:

mkdir d:\apps
D:
cd apps
mkdir ctk_theme_builder
cd ctk_theme_builder
py --version
py -m venv  venv

Please copy and paste entire session/output in a reply.

2.5 is now available. This now includes logging for both the app and the installer. You could install and set the main app log level, in Preferences, to "Debug". Providing the logs will help to see what's going on. 

Closing - no response.