kakos-k9 / app_kaique

APP MOBILE
0 stars 0 forks source link

Doesn't run. #1

Open hemna opened 1 month ago

hemna commented 1 month ago
└─> briefcase dev -r

*************************************************************************
** WARNING: License Definition for the Project is Deprecated           **
*************************************************************************

    Briefcase now uses PEP 621 format for license definitions.

    Previously, the name of the license was assigned to the 'license'
    field in pyproject.toml. For PEP 621, the name of the license is
    assigned to 'license.text' or the name of the file containing the
    license is assigned to 'license.file'.

    The current configuration for the Project has a 'license' field
    that is specified as a string:

        license = "BSD license"

    To use the PEP 621 format (and to remove this warning), specify that
    the LICENSE file contains the license for the Project:

        license.file = "LICENSE"

*************************************************************************

[kaique_teste] Installing requirements...
Requirement already satisfied: toga-cocoa>=0.3.0.dev20 in /Users/I530566/devel/mine/hamradio/beeware-tutorial/.venv-311/lib/python3.11/site-packages (0.4.8)
Requirement already satisfied: fonttools<5.0.0,>=4.42.1 in /Users/I530566/devel/mine/hamradio/beeware-tutorial/.venv-311/lib/python3.11/site-packages (from toga-cocoa>=0.3.0.dev20) (4.54.1)
Requirement already satisfied: rubicon-objc<0.5.0,>=0.4.9 in /Users/I530566/devel/mine/hamradio/beeware-tutorial/.venv-311/lib/python3.11/site-packages (from toga-cocoa>=0.3.0.dev20) (0.4.9)
Requirement already satisfied: toga-core==0.4.8 in /Users/I530566/devel/mine/hamradio/beeware-tutorial/.venv-311/lib/python3.11/site-packages (from toga-cocoa>=0.3.0.dev20) (0.4.8)
Requirement already satisfied: travertino>=0.3.0 in /Users/I530566/devel/mine/hamradio/beeware-tutorial/.venv-311/lib/python3.11/site-packages (from toga-core==0.4.8->toga-cocoa>=0.3.0.dev20) (0.3.0)
Installing dev requirements... done

[kaique_teste] Starting in dev mode...
===========================================================================
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<frozen runpy>", line 226, in run_module
  File "<frozen runpy>", line 98, in _run_module_code
  File "<frozen runpy>", line 88, in _run_code
  File "/Users/I530566/devel/mine/hamradio/beeware-tutorial/app_kaique/kaique_teste/src/kaique_teste/__main__.py", line 1, in <module>
    from kaique_teste.app import main
  File "/Users/I530566/devel/mine/hamradio/beeware-tutorial/app_kaique/kaique_teste/src/kaique_teste/app.py", line 8, in <module>
    import screen
ModuleNotFoundError: No module named 'screen'

Problem running app kaique_teste.

Log saved to /Users/I530566/devel/mine/hamradio/beeware-tutorial/app_kaique/kaique_teste/logs/briefcase.2024_10_23-14_11_05.dev.log
hemna commented 1 month ago

after manually installing screen I get this.

[kaique_teste] Installing requirements...
Requirement already satisfied: toga-cocoa>=0.3.0.dev20 in /Users/I530566/devel/mine/hamradio/beeware-tutorial/.venv-311/lib/python3.11/site-packages (0.4.8)
Requirement already satisfied: fonttools<5.0.0,>=4.42.1 in /Users/I530566/devel/mine/hamradio/beeware-tutorial/.venv-311/lib/python3.11/site-packages (from toga-cocoa>=0.3.0.dev20) (4.54.1)
Requirement already satisfied: rubicon-objc<0.5.0,>=0.4.9 in /Users/I530566/devel/mine/hamradio/beeware-tutorial/.venv-311/lib/python3.11/site-packages (from toga-cocoa>=0.3.0.dev20) (0.4.9)
Requirement already satisfied: toga-core==0.4.8 in /Users/I530566/devel/mine/hamradio/beeware-tutorial/.venv-311/lib/python3.11/site-packages (from toga-cocoa>=0.3.0.dev20) (0.4.8)
Requirement already satisfied: travertino>=0.3.0 in /Users/I530566/devel/mine/hamradio/beeware-tutorial/.venv-311/lib/python3.11/site-packages (from toga-core==0.4.8->toga-cocoa>=0.3.0.dev20) (0.3.0)
Installing dev requirements... done

[kaique_teste] Starting in dev mode...
===========================================================================
ListSource.insert() takes 3 positional arguments but 5 were given
/Users/I530566/devel/mine/hamradio/beeware-tutorial/.venv-311/lib/python3.11/site-packages/toga/window.py:537: DeprecationWarning: info_dialog(...) has been deprecated; use dialog(toga.InfoDialog(...))
  warnings.warn(
ListSource.insert() takes 3 positional arguments but 5 were given
Error in handler: module 'screen' has no attribute 'Tela_2'
Traceback (most recent call last):
  File "/Users/I530566/devel/mine/hamradio/beeware-tutorial/.venv-311/lib/python3.11/site-packages/toga/handlers.py", line 173, in _handler
    result = handler(interface, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/I530566/devel/mine/hamradio/beeware-tutorial/app_kaique/kaique_teste/src/kaique_teste/app.py", line 97, in chamar_tela2
    self.tela = screen.Tela_2()
                ^^^^^^^^^^^^^
AttributeError: module 'screen' has no attribute 'Tela_2'