You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to open a file from the GUI results in errors:
window appears then hidden behind main window
stack trace
(py3venv) C:\code\py\nyxtext>python editor/scripts/main.py
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Pythons\Python312\Lib\tkinter_init_.py", line 1962, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\code\py\nyxtext\py3venv\Lib\site-packages\customtkinter\windows\widgets\ctk_button.py", line 554, in _clicked
self.command()
File "C:\code\py\nyxtext\editor\scripts\framework\welcome_Screen.py", line 55, in
welcome_open_button = customtkinter.CTkButton(self.welcome_tab,text=" Open file... ", command=lambda: open_window(self.welcome_tab),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\code\py\nyxtext\editor\scripts\framework\welcome_Screen.py", line 54, in open_window
open = openfile_window(master)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\code\py\nyxtext\editor\scripts\framework\open_file.py", line 12, in init
self.wm_attributes('-type', 'splash')
File "C:\Pythons\Python312\Lib\tkinter_init.py", line 2046, in wm_attributes
return self.tk.call(args)
^^^^^^^^^^^^^^^^^^
_tkinter.TclError: bad attribute "-type": must be -alpha, -transparentcolor, -disabled, -fullscreen, -toolwindow, or -topmost
Steps to Reproduce
start editor
Click "open file"
Expected Behavior
No crash and from code scan file chooser dialog
Actual Behavior
See above
Screenshots
[If applicable, add screenshots to help explain the problem. You can drag and drop images here.]
Nyx Text Bug Report
Description
Similar to #14 but with errors.
Attempting to open a file from the GUI results in errors:
window appears then hidden behind main window
stack trace
(py3venv) C:\code\py\nyxtext>python editor/scripts/main.py
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Pythons\Python312\Lib\tkinter_init_.py", line 1962, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\code\py\nyxtext\py3venv\Lib\site-packages\customtkinter\windows\widgets\ctk_button.py", line 554, in _clicked
self.command()
File "C:\code\py\nyxtext\editor\scripts\framework\welcome_Screen.py", line 55, in
welcome_open_button = customtkinter.CTkButton(self.welcome_tab,text=" Open file... ", command=lambda: open_window(self.welcome_tab),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\code\py\nyxtext\editor\scripts\framework\welcome_Screen.py", line 54, in open_window
open = openfile_window(master)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\code\py\nyxtext\editor\scripts\framework\open_file.py", line 12, in init
self.wm_attributes('-type', 'splash')
File "C:\Pythons\Python312\Lib\tkinter_init.py", line 2046, in wm_attributes
return self.tk.call(args)
^^^^^^^^^^^^^^^^^^
_tkinter.TclError: bad attribute "-type": must be -alpha, -transparentcolor, -disabled, -fullscreen, -toolwindow, or -topmost
Steps to Reproduce
Expected Behavior
No crash and from code scan file chooser dialog
Actual Behavior
See above
Screenshots
[If applicable, add screenshots to help explain the problem. You can drag and drop images here.]
Environment
OS: Windows 10
Nyx Text Version: ❗ this information is not available from the GUI - 3cfb7d7 see [BUG] can't open files from command line #14
Other relevant information:
Python 3.12.1 (tags/v3.12.1:2305ca5, Dec 7 2023, 22:03:25) [MSC v.1937 64 bit (AMD64)] on win32
Additional Context
[Add any other context about the problem here. For example, any recent changes made to the project, or any workaround attempted.]
Possible Solution
[If you have any ideas on how to fix the bug, or where the problem might be located, please provide them here.]
Related Issues
[If there are any related issues or pull requests, please link them here.]
Your GitHub Username
[Please provide your GitHub username if you would like to be notified about updates or if further clarification is needed.]
Labels
[Choose appropriate labels to categorize the bug report, such as "bug", "needs investigation", etc.]