Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Peter Demin
    @peterdemin
    Well, either way works. You can move kibitzr-env dir wherever and whenever you want.
    Vimalraj
    @Vimalraj571
    Okey I will follow this Steps on - home/name/Desktop/kibitzr/( master )
    I have done those steps !
    @peterdemin Done
    Peter Demin
    @peterdemin
    Great, so now you can run pip install -e . in kibitzr-env and it will be integrated with your kibitzr installation.
    Vimalraj
    @Vimalraj571
    Done @peterdemin it's installed
    Peter Demin
    @peterdemin
    Now you can code :-)
    Check how entry_points from setup.py points to a module:function, look how is it invoked from kibitzr/conf.py
    Vimalraj
    @Vimalraj571
    Okey !
    Vimalraj
    @Vimalraj571
    If I need anything any doubt I will let you know !
    @peterdemin
    Peter Demin
    @peterdemin
    Sure, I hope you'll have fun and learn new stuff
    Vimalraj
    @Vimalraj571
    :)
    Daniel-at-github
    @Daniel-at-github
    How much work could be a rss transform? and a ical transform?
    Peter Demin
    @peterdemin
    Hi, depends on what do you want from that transform
    And I have no idea how to use ical
    ColdIce
    @ColdIce1
    Hello Peter, still see build is failing in Travis
    I see requirements.txt , Selenium == 3.14, that is supported with geckodriver v0.23.0 and I had no issues in my Docker build, according to the docs: https://firefox-source-docs.mozilla.org/testing/geckodriver/geckodriver/Support.html - it's supported
    ColdIce
    @ColdIce1
    Tho, forgot to update travis!
    hillerliao
    @hillerliao
    xpath cannot get the cdata content
    Peter Demin
    @peterdemin
    hi
    @hillerliao could you please provide more details? This SO answer suggest, that lxml supports CDATA access through XPATH: https://stackoverflow.com/a/14432066/135079
    James Nobles
    @VacantFuture
    Trying to run the docker version with the command from the documentation and getting this error '''
    2020-04-01 22:52:25,130 [INFO] kibitzr.conf: No credentials file found at /root/.config/kibitzr/kibitzr-creds.yml"
    Peter Demin
    @peterdemin
    Strange. I am out of keyboard right now. Try running kibitzr init
    Please open an issue on Github if the problem persists
    James Nobles
    @VacantFuture
    This is what I got replacing run with init
    2020-04-01 23:22:36,135 [INFO] kibitzr.bootstrap: Saving sample check in kibitzr.yml
    2020-04-01 23:22:36,136 [INFO] kibitzr.bootstrap: Creating kibitzr-creds.yml
    But when i run the docker command with run, I get the same error.
    I will open an issue on github
    it is looking for the cred file inside the docker or in the $PWD that is is using with -v?
    Peter Demin
    @peterdemin
    It’s meant to use mounted dir
    Because both checks and creds belong out of container
    matrixbot
    @matrixbot
    @ptman:kapsi.fi kibitzr was called an alternative to IFTTT
    @ptman:kapsi.fi any good examples?
    @ptman:kapsi.fi and also, notification support for matrix could be nice, and quite easy, a single HTTP(S) call
    @ptman:kapsi.fi (with JSON)
    Peter Demin
    @peterdemin
    Hi @ptman would you consider these as examples? https://kibitzr.readthedocs.io/en/latest/recipes.html It's not really comparing to IFTT, but gives an idea of what's possible.
    Botter
    @BotterAir_gitlab
    hey,
    anyone having issues with telegram? i am pretty sure my token and chatid (negative chat id) are correct by using curl
    however in kibitzr:
    2020-08-09 19:56:30,241 [DEBUG] telegram.vendor.ptb_urllib3.urllib3.connectionpool: https://api.telegram.org:443 "POST /botXXXXX:YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY/sendMessage HTTP/1.1" 401 58 2020-08-09 19:56:30,241 [ERROR] kibitzr.notifier.factory: Exception occurred during sending notification Traceback (most recent call last): File "c:\python38\lib\site-packages\kibitzr\notifier\factory.py", line 69, in notify notifier(report=report) File "c:\python38\lib\site-packages\kibitzr\notifier\telegram.py", line 44, in post self.send_message(m) File "c:\python38\lib\site-packages\kibitzr\notifier\telegram.py", line 47, in send_message message = self.bot.send_message( File "<decorator-gen-2>", line 2, in send_message File "c:\python38\lib\site-packages\telegram\bot.py", line 67, in decorator result = func(*args, **kwargs) File "c:\python38\lib\site-packages\telegram\bot.py", line 346, in send_message return self._message(url, data, disable_notification=disable_notification, File "c:\python38\lib\site-packages\telegram\bot.py", line 175, in _message result = self._request.post(url, data, timeout=timeout) File "c:\python38\lib\site-packages\telegram\utils\request.py", line 330, in post result = self._request_wrapper('POST', url, File "c:\python38\lib\site-packages\telegram\utils\request.py", line 242, in _request_wrapper raise Unauthorized(message) telegram.error.Unauthorized: Unauthorized
    Peter Demin
    @peterdemin
    Hmm. I’ve been using telegram integration for quite some time, and it works fine for me. I’m likely to have outdated library versions though. Can’t tell the numbers, as I’m on vacation atm
    Botter
    @BotterAir_gitlab
    @peterdemin no worries, i ended up nuking everything and with the same kibitzr.yml it works fine. cant complain :D
    On to the next issue : how to cut up the result of transform (ersult being a list of urls) into seperate notify calls
    lesha-dev
    @lesha-dev
    Hi. Can someone help me with gmail notifications? I'm trying to notify via smtp: I set up just like in docs (https://kibitzr.readthedocs.io/en/latest/smtp.html), set port to the one from gmail settings page and authorized blocked attempt to login. And still I'm getting the same error: smtplib.SMTPServerDisconnected: Connection unexpectedly closed. How can I fix this?
    Peter Demin
    @peterdemin
    @BotterAir_gitlab for more than one notification, you’ll need to use python or shell notifier and put this logic explicitly. Kibitzr doesn’t support this out of the box.
    @lesha-dev I’ll need to check it next week. Could you please provide kibitzr.yml if it’s anyhow different from the docs?
    lesha-dev
    @lesha-dev
    kibitzr.yml:
      - name: Current Time
        url: https://www.worldtimeserver.com/current_time_in_US-NY.aspx
        transform:
          - css: "span#theTime"
          - text
        notify:
          - python: print(content)
          - smtp:
              subject: Kibitzr current time
              recepients:
                - bla-bla-bla@gmail.com
        period: 3
    kibitzr-creds.yml:
        host: smtp.gmail.com
        port: 465
        user: bla-bla-bla@gmail.com
        password: something
    Botter
    @BotterAir_gitlab
    @lesha-dev i believe this might be due to google blocking thirdparty. you have to enable "allow unsafe applications" or something like that
    did you get a warning in the gmail account about unauthorized application
    ?
    lesha-dev
    @lesha-dev
    @BotterAir_gitlab , I got a warning from gmail and after that allowed unsafe applications in the account. Didn't help.
    Peter Demin
    @peterdemin
    @lesha-dev I just checked my kibitzr-creds.yml and noticed, that SMTP port is 587. Could you please check it solves the issue?