-
-
Notifications
You must be signed in to change notification settings - Fork 483
Description
Describe the bug
Question 1:
When using the briefcase new command, the App wants to use the Chinese name, but an error occurs:
Question 2:
The title in self.main_window = toga.MainWindow(title=self.formal_name) is customized, such as "hello", there is no effect when the Android App is running
Question 3:
Can the App icon be customized, and if so, where is the tutorial?
Question 4:
Where can there be more detailed grammar instructions or demos for toga? The online documentation says it is too simple to operate. For example, toga.MainWindow's info_dialog, I don't know how to use it if I want to use it.
Thank you very much for making such a good software as beeware, which can make Python have infinite possibilities, thank you!
To Reproduce
Steps to reproduce the behavior:
Formal Name [Hello World]: 学口算
Traceback (most recent call last):
File "D:\Python\Python38\lib\runpy.py", line 194, in _run_module_as_main
return run_code(code, main_globals, None,
File "D:\Python\Python38\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "D:\Python\Python38\envs\beeware\Scripts\briefcase.exe_main.py", line 7, in
File "d:\python\python38\envs\beeware\lib\site-packages\briefcase_main.py", line 11, in main
command(**options)
File "d:\python\python38\envs\beeware\lib\site-packages\briefcase\commands\new.py", line 523, in call
state = self.new_app(template=template, **options)
File "d:\python\python38\envs\beeware\lib\site-packages\briefcase\commands\new.py", line 461, in new_app
context = self.build_app_context()
File "d:\python\python38\envs\beeware\lib\site-packages\briefcase\commands\new.py", line 320, in build_app_context
class_name = self.make_class_name(formal_name)
File "d:\python\python38\envs\beeware\lib\site-packages\briefcase\commands\new.py", line 84, in make_class_name
if class_name[0].isdigit():
IndexError: string index out of range
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:
Operating System: win10
Python version: 3.8
Software versions:
Briefcase: 0.3.5
Toga:
...
Additional context
In English mode, I can use beeware normally. But I have difficulty in using beeware personally, and I want the help of detailed documentation and demo
Or where there are learning exchanges and places, there are too few materials to find
I also asked a question under beeware. I asked the wrong place. Please delete that question, thank you!
Thank you very much for making such a good software as beeware, which can make Python have infinite possibilities, thank you!