Git Product home page Git Product logo

Comments (11)

s9gf4ult avatar s9gf4ult commented on August 24, 2024
libpng warning: iCCP: known incorrect sRGB profile
Traceback (most recent call last):
  File "main.py", line 53, in on_btn_start
    subprocess.Popen(config.read_conf('run_commands', 'before', True))
  File "/usr/lib64/python3.4/subprocess.py", line 859, in __init__
    restore_signals, start_new_session)
  File "/usr/lib64/python3.4/subprocess.py", line 1463, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] Нет такого файла или каталога: 'notify-send "yello yoba"'
libpng warning: iCCP: known incorrect sRGB profile

когда в настройках команда

notify-send "yello yoba"

from tomacco.

s9gf4ult avatar s9gf4ult commented on August 24, 2024

А еще не правильно парсится или сохраняется конфиг

  1. Ставишь галку with start pomidor, галка when finish pomodor не активна.
  2. Вписываешь команду
  3. Закрываешь программу
  4. Открываешь программу, открываешь настройки
  5. Активна галка when finish pomodor но команда вбита в неактивное поле под первой галкой

from tomacco.

axce1 avatar axce1 commented on August 24, 2024

pull to develop

from tomacco.

s9gf4ult avatar s9gf4ult commented on August 24, 2024
  1. Команда для старта помидора запускается, когда галка в настройках снята.
  2. Команда остановки помидора не запускается, когда останавливаешь помидор по кнопке.

from tomacco.

axce1 avatar axce1 commented on August 24, 2024

усе поправим

from tomacco.

s9gf4ult avatar s9gf4ult commented on August 24, 2024
  1. Если включить галку команды, но команду оставить пустой, то помидор не стартует, а в консоли
Traceback (most recent call last):
  File "tomacco/main.py", line 52, in on_btn_start
    utils.run('before')
  File "/home/razor/tmp/tomacco/tomacco/modules/utils.py", line 17, in run
    subprocess.Popen(cmd_list)
  File "/usr/lib64/python3.4/subprocess.py", line 859, in __init__
    restore_signals, start_new_session)
  File "/usr/lib64/python3.4/subprocess.py", line 1359, in _execute_child
    executable = args[0]
IndexError: list index out of range

from tomacco.

axce1 avatar axce1 commented on August 24, 2024

need testing

from tomacco.

s9gf4ult avatar s9gf4ult commented on August 24, 2024

stop команда запускается если остановить паузу (короткую или длинную) по кнопке. Если пауза останавливается сама, то команда не запускается.

По окончании ПАУЗЫ команда вообще не должна запускаться никогда.

from tomacco.

s9gf4ult avatar s9gf4ult commented on August 24, 2024

Команда остановки запускается, если галка команды в настройках снята (но поле заполнено командой). И по кнопке и по таймеру помидора.

from tomacco.

s9gf4ult avatar s9gf4ult commented on August 24, 2024

Если в окне настроек снять галку команды останова, сохранить, закрыть программу, снова открыть программу, то в настройках галка команды останова снова оказывается включена.

from tomacco.

s9gf4ult avatar s9gf4ult commented on August 24, 2024

Вроде работает.

from tomacco.

Related Issues (15)

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.