Git Product home page Git Product logo

python-recorder's People

Contributors

deepsource-autofix[bot] avatar deepsourcebot avatar esdandreu avatar

Stargazers

 avatar  avatar

python-recorder's Issues

System time drift

System timestamp my drift from the actual value, making synchronization with other machines imprecise. When initializing the recorder, a system time synchronization could be performed using ntplib.

import ntplib
client = ntplib.NTPClient()
response = client.request('pool.ntp.org')

bug: test without config file

recorder test microphone
Not handled exception

No configuration found in C:\Users\SRG_Adams\Documents\Andreu\python-recorder.yaml. Generate one.
Traceback (most recent call last):
  File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\recorder\__main__.py", line 148, in get_config
    return Config.from_yaml(path)
  File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\recorder\config.py", line 17, in from_yaml
    raise AttributeError(f'Configuration file {path} does not exist')
AttributeError: Configuration file C:\Users\SRG_Adams\Documents\Andreu\python-recorder.yaml does not exist

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\SRG_Adams\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\SRG_Adams\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\SRG_Adams\Documents\Andreu\venv\Scripts\recorder.exe\__main__.py", line 7, in <module>
  File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\typer\main.py", line 214, in __call__
    return get_command(self)(*args, **kwargs)
  File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\click\core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\click\core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\click\core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\click\core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\click\core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\typer\main.py", line 500, in wrapper
    return callback(**use_params)  # type: ignore
  File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\recorder\__main__.py", line 188, in test
    config = get_config(config_path)
  File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\recorder\__main__.py", line 151, in get_config
    return Config.from_yaml(path)
  File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\recorder\config.py", line 17, in from_yaml
    raise AttributeError(f'Configuration file {path} does not exist')
AttributeError: Configuration file C:\Users\SRG_Adams\Documents\Andreu\python-recorder.yaml does not exist

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.