text:
Can't install astronomer-cosmos[dbt-redshift]==1.3.2 in MWAA(airflow 2.8.1)

Evironments:

MWAA 2.8.1
requirements.txt for MWAA (only contains one line 'astronomer-cosmos[dbt-redshift]==1.3.2')
Some logs in worker thread log group 'requirements_install_ip-10-1-64-85.us-east-2.compute.internal_1715574539.5060384.log'

  | 2024-05-13T04:29:52.416Z | ERROR: Cannot install astronomer-cosmos because these package versions have conflicting dependencies.
  | 2024-05-13T04:29:52.432Z |
  | 2024-05-13T04:29:52.450Z | The conflict is caused by:
  | 2024-05-13T04:29:52.464Z | dbt-redshift 1.8.0 depends on redshift-connector!=2.0.914, <2.0.918 and >=2.0.913
  | 2024-05-13T04:29:52.481Z | dbt-redshift 1.7.7 depends on redshift-connector!=2.0.914, <2.0.918 and >=2.0.913
  | 2024-05-13T04:29:52.504Z | dbt-redshift 1.7.6 depends on redshift-connector!=2.0.914, <2.0.918 and >=2.0.913
  | 2024-05-13T04:29:52.522Z | dbt-redshift 1.7.1 depends on redshift-connector==2.0.915
  | 2024-05-13T04:29:52.560Z | dbt-redshift 1.7.0 depends on boto3~=1.26.157
  | 2024-05-13T04:29:52.580Z | dbt-redshift 1.6.7 depends on redshift-connector==2.0.915
  | 2024-05-13T04:29:52.598Z | dbt-redshift 1.6.6 depends on redshift-connector==2.0.915
  | 2024-05-13T04:29:52.613Z | dbt-redshift 1.6.5 depends on redshift-connector==2.0.915
  | 2024-05-13T04:29:52.629Z | dbt-redshift 1.6.4 depends on boto3~=1.26.157
  | 2024-05-13T04:29:52.645Z | dbt-redshift 1.6.3 depends on boto3~=1.26.157
  | 2024-05-13T04:29:52.664Z | dbt-redshift 1.6.2 depends on boto3~=1.26.157
  | 2024-05-13T04:29:52.681Z | dbt-redshift 1.6.1 depends on boto3~=1.26.157
  | 2024-05-13T04:29:52.700Z | dbt-redshift 1.6.0 depends on boto3~=1.26.157
  | 2024-05-13T04:29:52.718Z | dbt-redshift 1.5.12 depends on boto3~=1.26.157
  | 2024-05-13T04:29:52.734Z | dbt-redshift 1.5.11 depends on boto3~=1.26.157
  | 2024-05-13T04:29:52.751Z | dbt-redshift 1.5.10 depends on boto3~=1.26.157
  | 2024-05-13T04:29:52.776Z | dbt-redshift 1.5.9 depends on boto3~=1.26.157
  | 2024-05-13T04:29:52.794Z | dbt-redshift 1.5.8 depends on boto3~=1.26.157
  | 2024-05-13T04:29:52.812Z | dbt-redshift 1.5.7 depends on boto3~=1.26.26
  | 2024-05-13T04:29:52.831Z | dbt-redshift 1.5.6 depends on boto3~=1.26.26
  | 2024-05-13T04:29:52.846Z | dbt-redshift 1.5.5 depends on boto3~=1.26.26
  | 2024-05-13T04:29:52.866Z | dbt-redshift 1.5.4 depends on boto3~=1.26.26
  | 2024-05-13T04:29:52.879Z | dbt-redshift 1.5.3 depends on boto3~=1.26.26
  | 2024-05-13T04:29:52.895Z | dbt-redshift 1.5.2 depends on boto3~=1.26.26
  | 2024-05-13T04:29:52.961Z | dbt-redshift 1.5.1 depends on boto3~=1.26.26
  | 2024-05-13T04:29:52.977Z | dbt-redshift 1.5.0 depends on boto3~=1.26.26
  | 2024-05-13T04:29:52.997Z | dbt-redshift 1.4.1 depends on boto3~=1.26.26
  | 2024-05-13T04:29:53.015Z | dbt-redshift 1.4.0 depends on boto3~=1.26.26
  | 2024-05-13T04:29:53.031Z | dbt-redshift 0.19.2 depends on boto3<1.16 and >=1.4.4
  | 2024-05-13T04:29:53.047Z | dbt-redshift 0.19.1 depends on boto3<1.16 and >=1.4.4
  | 2024-05-13T04:29:53.061Z | dbt-redshift 0.19.0 depends on boto3<1.16 and >=1.4.4
  | 2024-05-13T04:29:53.079Z | dbt-redshift 0.18.2 depends on boto3<1.12 and >=1.4.4
  | 2024-05-13T04:29:53.094Z | dbt-redshift 0.18.1 depends on boto3<1.12 and >=1.4.4
  | 2024-05-13T04:29:53.109Z | dbt-redshift 0.18.0 depends on boto3<1.12 and >=1.4.4
  | 2024-05-13T04:29:53.124Z | dbt-redshift 0.17.2 depends on boto3<1.12 and >=1.4.4
  | 2024-05-13T04:29:53.141Z | dbt-redshift 0.17.1 depends on boto3<1.12 and >=1.4.4
  | 2024-05-13T04:29:53.155Z | dbt-redshift 0.17.0 depends on boto3<1.12 and >=1.4.4
  | 2024-05-13T04:29:53.171Z | dbt-redshift 0.16.1 depends on boto3<1.12 and >=1.4.4
  | 2024-05-13T04:29:53.188Z | dbt-redshift 0.16.0 depends on boto3<1.12 and >=1.4.4
  | 2024-05-13T04:29:53.205Z | dbt-redshift 0.15.3 depends on boto3<1.10.0 and >=1.6.23
  | 2024-05-13T04:29:53.221Z | dbt-redshift 0.15.2 depends on boto3<1.10.0 and >=1.6.23
  | 2024-05-13T04:29:53.237Z | dbt-redshift 0.15.1 depends on boto3<1.10.0 and >=1.6.23
  | 2024-05-13T04:29:53.252Z | dbt-redshift 0.15.0 depends on boto3<1.10.0 and >=1.6.23
  | 2024-05-13T04:29:53.271Z | dbt-redshift 0.14.4 depends on boto3<1.11.0 and >=1.4.4
  | 2024-05-13T04:29:53.290Z | dbt-redshift 0.14.3 depends on boto3<1.10.0 and >=1.6.23
  | 2024-05-13T04:29:53.310Z | dbt-redshift 0.14.2 depends on boto3<1.10.0 and >=1.6.23
  | 2024-05-13T04:29:53.327Z | dbt-redshift 0.14.1 depends on boto3<1.10.0 and >=1.6.23
  | 2024-05-13T04:29:53.344Z | dbt-redshift 0.14.0 depends on boto3<1.10.0 and >=1.6.23
  | 2024-05-13T04:29:53.360Z | dbt-redshift 0.13.1 depends on boto3<1.10.0 and >=1.6.23
  | 2024-05-13T04:29:53.379Z | dbt-redshift 0.13.0 depends on boto3<1.10.0 and >=1.6.23
  | 2024-05-13T04:29:53.395Z | The user requested (constraint) redshift-connector==2.0.918
  | 2024-05-13T04:29:53.409Z | The user requested (constraint) boto3==1.33.13
  | 2024-05-13T04:29:53.426Z |
  | 2024-05-13T04:29:53.441Z | To fix this you could try to:
  | 2024-05-13T04:29:53.467Z | 1. loosen the range of package versions you've specified
  | 2024-05-13T04:29:53.485Z | 2. remove package versions to allow pip attempt to solve the dependency conflict
  | 2024-05-13T04:29:53.501Z |
  | 2024-05-13T04:29:53.517Z | ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

To address the dependency conflict issue with astronomer-cosmos[dbt-redshift]==1.3.2 in MWAA 2.8.1, follow these steps:

Isolate dbt in a Separate Virtual Environment: Use MWAA's startup script to create a virtual environment specifically for dbt. This approach allows you to manage dbt and its dependencies separately from the main environment, avoiding conflicts.#!/bin/sh
export DBT_VENV_PATH="${AIRFLOW_HOME}/dbt_venv"
export PIP_USER=false
python3 -m venv "${DBT_VENV_PATH}"
${DBT_VENV_PATH}/bin/pip install dbt-redshift
export PIP_USER=true

Modify Your requirements.txt: List astronomer-cosmos without the dbt-redshift extra to prevent automatic installation of conflicting versions.astronomer-cosmos

Manually Adjust Dependency Versions: After setting up the virtual environment, manually install or adjust the versions of redshift-connector or boto3 to ensure compatibility.${DBT_VENV_PATH}/bin/pip install 'redshift-connector==2.0.918' 'boto3==1.33.13'

Point to the Correct dbt Executable: In your DAG, use the dbt_executable_path argument to specify the path to the dbt executable within the virtual environment.execution_config = ExecutionConfig(
    dbt_executable_path=f"{os.environ['AIRFLOW_HOME']}/dbt_venv/bin/dbt",
)

This setup ensures that dbt and its dependencies are managed in isolation, mitigating the conflict and allowing for a smoother integration with MWAA.
Details
To continue the conversation, mention @dosu.

Great!,It works to me.But now I got a new problem.my execution mode is kubernetes(eks 1.27),task seems not running on k8s.Pod status changes from Pending to Completed takes 0s.
➜  ~ kubectl get po -A -w
NAMESPACE     NAME                                               READY   STATUS              RESTARTS   AGE
kube-system   aws-node-62v44                                     2/2     Running             0          5h48m
kube-system   coredns-6dfd46db99-mszjc                           1/1     Running             0          5h54m
kube-system   coredns-6dfd46db99-xfrls                           1/1     Running             0          5h54m
kube-system   kube-proxy-c8vs2                                   1/1     Running             0          5h48m
mwaa          dbt-task-group-base-public-category-run-4hrk5hmz   0/1     Completed           0          10s
mwaa          dbt-task-group-base-public-event-run-94r4a8hr      0/1     Completed           0          9s
mwaa          dbt-task-group-base-public-sales-run-6o1no285      0/1     ContainerCreating   0          7s
mwaa          dbt-task-group-base-public-users-run-51toaaz5      0/1     Completed           0          7s
mwaa          dbt-task-group-my-first-dbt-model-run-ouja4593     0/1     Completed           0          7s
mwaa          dbt-task-group-base-public-users-run-51toaaz5      0/1     Completed           0          9s
mwaa          dbt-task-group-my-first-dbt-model-run-ouja4593     0/1     Completed           0          9s
mwaa          dbt-task-group-base-public-category-run-4hrk5hmz   0/1     Completed           0          12s
mwaa          dbt-task-group-base-public-event-run-94r4a8hr      0/1     Completed           0          11s
mwaa          dbt-task-group-base-public-users-run-51toaaz5      0/1     Completed           0          9s
mwaa          dbt-task-group-base-public-category-run-4hrk5hmz   0/1     Completed           0          12s
mwaa          dbt-task-group-my-first-dbt-model-run-ouja4593     0/1     Completed           0          9s
mwaa          dbt-task-group-base-public-event-run-94r4a8hr      0/1     Completed           0          11s
mwaa          dbt-task-group-base-public-category-run-4hrk5hmz   0/1     Terminating         0          13s
mwaa          dbt-task-group-base-public-category-run-4hrk5hmz   0/1     Terminating         0          13s
mwaa          dbt-task-group-base-public-event-run-94r4a8hr      0/1     Terminating         0          12s
mwaa          dbt-task-group-base-public-event-run-94r4a8hr      0/1     Terminating         0          12s
mwaa          dbt-task-group-base-public-users-run-51toaaz5      0/1     Terminating         0          10s
mwaa          dbt-task-group-base-public-users-run-51toaaz5      0/1     Terminating         0          10s
mwaa          dbt-task-group-my-first-dbt-model-run-ouja4593     0/1     Terminating         0          10s
mwaa          dbt-task-group-my-first-dbt-model-run-ouja4593     0/1     Terminating         0          10s
mwaa          dbt-task-group-base-public-sales-run-6o1no285      0/1     Completed           0          14s
mwaa          dbt-task-group-base-public-sales-run-6o1no285      0/1     Completed           0          15s
mwaa          dbt-task-group-base-public-sales-run-6o1no285      0/1     Terminating         0          16s
mwaa          dbt-task-group-base-public-sales-run-6o1no285      0/1     Terminating         0          16s
mwaa          dbt-task-group-base-public-listing-run-rt4ofxra    0/1     Pending             0          0s
mwaa          dbt-task-group-base-public-listing-run-rt4ofxra    0/1     Pending             0          0s
mwaa          dbt-task-group-base-public-listing-run-rt4ofxra    0/1     ContainerCreating   0          0s
mwaa          dbt-task-group-base-public-listing-run-rt4ofxra    0/1     Completed           0          1s
mwaa          dbt-task-group-my-first-dbt-model-test-lapl1fwq    0/1     Pending             0          0s
mwaa          dbt-task-group-my-first-dbt-model-test-lapl1fwq    0/1     Pending             0          0s
mwaa          dbt-task-group-my-first-dbt-model-test-lapl1fwq    0/1     ContainerCreating   0          0s
mwaa          dbt-task-group-my-first-dbt-model-test-lapl1fwq    0/1     Completed           0          1s
mwaa          dbt-task-group-base-public-listing-run-rt4ofxra    0/1     Completed           0          2s
mwaa          dbt-task-group-base-public-date-run-qabzl5z5       0/1     Pending             0          0s
mwaa          dbt-task-group-base-public-date-run-qabzl5z5       0/1     Pending             0          0s
mwaa          dbt-task-group-base-public-date-run-qabzl5z5       0/1     ContainerCreating   0          1s
mwaa          dbt-task-group-base-public-venue-run-b9ke290z      0/1     Pending             0          0s
mwaa          dbt-task-group-base-public-venue-run-b9ke290z      0/1     Pending             0          0s
mwaa          dbt-task-group-base-public-venue-run-b9ke290z      0/1     ContainerCreating   0          0s
mwaa          dbt-task-group-base-public-listing-run-rt4ofxra    0/1     Completed           0          3s
mwaa          dbt-task-group-base-public-date-run-qabzl5z5       0/1     Completed           0          1s
mwaa          dbt-task-group-my-first-dbt-model-test-lapl1fwq    0/1     Completed           0          2s
mwaa          dbt-task-group-base-public-listing-run-rt4ofxra    0/1     Terminating         0          4s
mwaa          dbt-task-group-base-public-listing-run-rt4ofxra    0/1     Terminating         0          4s
mwaa          dbt-task-group-rpt-finance-qtr-total-sales-by-event-ru-1envlgl2   0/1     Pending             0          0s
mwaa          dbt-task-group-rpt-finance-qtr-total-sales-by-event-ru-1envlgl2   0/1     Pending             0          0s
mwaa          dbt-task-group-rpt-finance-qtr-total-sales-by-event-ru-1envlgl2   0/1     ContainerCreating   0          0s
mwaa          dbt-task-group-my-first-dbt-model-test-lapl1fwq                   0/1     Terminating         0          3s
mwaa          dbt-task-group-my-first-dbt-model-test-lapl1fwq                   0/1     Terminating         0          3s
mwaa          dbt-task-group-base-public-date-run-qabzl5z5                      0/1     Completed           0          2s
mwaa          dbt-task-group-base-public-date-run-qabzl5z5                      0/1     Terminating         0          3s
mwaa          dbt-task-group-base-public-date-run-qabzl5z5                      0/1     Terminating         0          3s
mwaa          dbt-task-group-my-second-dbt-model-run-7a3me2r9                   0/1     Pending             0          0s
mwaa          dbt-task-group-my-second-dbt-model-run-7a3me2r9                   0/1     Pending             0          0s
mwaa          dbt-task-group-my-second-dbt-model-run-7a3me2r9                   0/1     ContainerCreating   0          0s
mwaa          dbt-task-group-my-second-dbt-model-run-7a3me2r9                   0/1     Completed           0          1s
mwaa          dbt-task-group-my-second-dbt-model-run-7a3me2r9                   0/1     Completed           0          2s
mwaa          dbt-task-group-my-second-dbt-model-run-7a3me2r9                   0/1     Terminating         0          3s
mwaa          dbt-task-group-my-second-dbt-model-run-7a3me2r9                   0/1     Terminating         0          3s
mwaa          dbt-task-group-my-second-dbt-model-test-knk3wih3                  0/1     Pending             0          0s
mwaa          dbt-task-group-my-second-dbt-model-test-knk3wih3                  0/1     Pending             0          0s
mwaa          dbt-task-group-my-second-dbt-model-test-knk3wih3                  0/1     ContainerCreating   0          0s
mwaa          dbt-task-group-my-second-dbt-model-test-knk3wih3                  0/1     Completed           0          13s
mwaa          dbt-task-group-my-second-dbt-model-test-knk3wih3                  0/1     Completed           0          15s
mwaa          dbt-task-group-my-second-dbt-model-test-knk3wih3                  0/1     Terminating         0          15s
mwaa          dbt-task-group-my-second-dbt-model-test-knk3wih3                  0/1     Terminating         0          15s
mwaa          dbt-task-group-rpt-finance-qtr-total-sales-by-event-ru-1envlgl2   0/1     Completed           0          38s
mwaa          dbt-task-group-rpt-finance-qtr-total-sales-by-event-ru-1envlgl2   0/1     Completed           0          40s
mwaa          dbt-task-group-rpt-finance-qtr-total-sales-by-event-ru-1envlgl2   0/1     Completed           0          40s
mwaa          dbt-task-group-base-public-venue-run-b9ke290z                     0/1     Completed           0          41s
mwaa          dbt-task-group-rpt-finance-qtr-total-sales-by-event-ru-1envlgl2   0/1     Terminating         0          41s
mwaa          dbt-task-group-rpt-finance-qtr-total-sales-by-event-ru-1envlgl2   0/1     Terminating         0          41s
mwaa          dbt-task-group-base-public-venue-run-b9ke290z                     0/1     Completed           0          43s
mwaa          dbt-task-group-base-public-venue-run-b9ke290z                     0/1     Terminating         0          43s
mwaa          dbt-task-group-base-public-venue-run-b9ke290z                     0/1     Terminating         0          43s
mwaa          dbt-task-group-rpt-finance-qtr-top-events-by-sales-run-cjf6gwpq   0/1     Pending             0          0s
mwaa          dbt-task-group-rpt-finance-qtr-top-events-by-sales-run-cjf6gwpq   0/1     Pending             0          0s
mwaa          dbt-task-group-rpt-finance-qtr-top-events-by-sales-run-cjf6gwpq   0/1     ContainerCreating   0          0s
mwaa          dbt-task-group-rpt-finance-qtr-top-events-by-sales-run-cjf6gwpq   0/1     Completed           0          0s
mwaa          dbt-task-group-rpt-finance-qtr-top-events-by-sales-run-cjf6gwpq   0/1     Completed           0          2s
mwaa          dbt-task-group-rpt-finance-qtr-top-events-by-sales-run-cjf6gwpq   0/1     Terminating         0          2s
mwaa          dbt-task-group-rpt-finance-qtr-top-events-by-sales-run-cjf6gwpq   0/1     Terminating         0          2s

Below is my dag python code.
from pathlib import Path

from airflow import DAG
from pendulum import datetime
from cosmos.config import ProjectConfig

from cosmos import (
    ProfileConfig,
    ExecutionConfig,
    ExecutionMode,
    DbtTaskGroup,
)
from cosmos.profiles import RedshiftUserPasswordProfileMapping
from airflow.operators.empty import EmptyOperator

PROJECT_DIR = Path("dags/dbt/dbtcicdnew/")

with DAG(
    dag_id="dbtcicdnew",
    start_date=datetime(2022, 11, 27),
    doc_md=__doc__,
    catchup=False,
) as dag:

    run_models = DbtTaskGroup(
        profile_config=ProfileConfig(
            profile_name="dbtcicdnew",
            target_name="dev",
            profile_mapping=RedshiftUserPasswordProfileMapping(
                conn_id="redshift_default",
                profile_args={
                    "schema": "public",
                },
            ),
        ),
        project_config=ProjectConfig(PROJECT_DIR),
        execution_config=ExecutionConfig(
            execution_mode=ExecutionMode.KUBERNETES,
        ),
        operator_args={
            "do_xcom_push": False,
            "project_dir":"/app",
            "image": "139260835254.dkr.ecr.us-east-2.amazonaws.com/dbtcicdnew:1.0",
            "get_logs": True,
            "is_delete_operator_pod": True,
            "namespace": "mwaa",
            "config_file": "/usr/local/airflow/dags/kubeconfig",
            "in_cluster": False,
            "image_pull_policy": "Always",
        },
    )
    e1 = EmptyOperator(task_id="pre_dbt")
    e2 = EmptyOperator(task_id="post_dbt")
    e1 >> run_models >> e2

Graph show all tasks successed.

@ysjjovo what do those K8s pods logs say?

@ysjjovo what do those K8s pods logs say?

no logs generated in K8s pod,Here is the screenshot.

Airflow Graph show All success.

one of airflow task 'base_public_users_run' logs
ip-10-1-66-19.us-east-2.compute.internal
*** Reading remote log from Cloudwatch log_group: airflow-lin-test-Task log_stream: dag_id=dbtcicdnew/run_id=manual__2024-05-14T02_34_50.996510+00_00/task_id=dbt_task_group.base_public_users_run/attempt=1.log.
[2024-05-14, 02:36:11 UTC] {{taskinstance.py:1956}} INFO - Dependencies all met for dep_context=non-requeueable deps ti=<TaskInstance: dbtcicdnew.dbt_task_group.base_public_users_run manual__2024-05-14T02:34:50.996510+00:00 [queued]>
[2024-05-14, 02:36:11 UTC] {{taskinstance.py:1956}} INFO - Dependencies all met for dep_context=requeueable deps ti=<TaskInstance: dbtcicdnew.dbt_task_group.base_public_users_run manual__2024-05-14T02:34:50.996510+00:00 [queued]>
[2024-05-14, 02:36:11 UTC] {{taskinstance.py:2170}} INFO - Starting attempt 1 of 1
[2024-05-14, 02:36:12 UTC] {{taskinstance.py:2191}} INFO - Executing <Task(DbtRunKubernetesOperator): dbt_task_group.base_public_users_run> on 2024-05-14 02:34:50.996510+00:00
[2024-05-14, 02:36:12 UTC] {{standard_task_runner.py:60}} INFO - Started process 371 to run task
[2024-05-14, 02:36:12 UTC] {{standard_task_runner.py:87}} INFO - Running: ['airflow', 'tasks', 'run', 'dbtcicdnew', 'dbt_task_group.base_public_users_run', 'manual__2024-05-14T02:34:50.996510+00:00', '--job-id', '10', '--raw', '--subdir', 'DAGS_FOLDER/dbt/dbtcicdnew/dags/eks.py', '--cfg-path', '/tmp/tmp37f9xj4k']
[2024-05-14, 02:36:12 UTC] {{standard_task_runner.py:88}} INFO - Job 10: Subtask dbt_task_group.base_public_users_run
[2024-05-14, 02:36:12 UTC] {{task_command.py:423}} INFO - Running <TaskInstance: dbtcicdnew.dbt_task_group.base_public_users_run manual__2024-05-14T02:34:50.996510+00:00 [running]> on host ip-10-1-66-19.us-east-2.compute.internal
[2024-05-14, 02:36:13 UTC] {{taskinstance.py:2480}} INFO - Exporting env vars: AIRFLOW_CTX_DAG_OWNER='airflow' AIRFLOW_CTX_DAG_ID='dbtcicdnew' AIRFLOW_CTX_TASK_ID='dbt_task_group.base_public_users_run' AIRFLOW_CTX_EXECUTION_DATE='2024-05-14T02:34:50.996510+00:00' AIRFLOW_CTX_TRY_NUMBER='1' AIRFLOW_CTX_DAG_RUN_ID='manual__2024-05-14T02:34:50.996510+00:00'
[2024-05-14, 02:36:13 UTC] {{pod.py:926}} INFO - Building pod dbt-task-group-base-public-users-run-hz8l2jbg with labels: {'dag_id': 'dbtcicdnew', 'task_id': 'dbt_task_group.base_public_users_run', 'run_id': 'manual__2024-05-14T023450.9965100000-c066a9c38', 'kubernetes_pod_operator': 'True', 'try_number': '1'}
[2024-05-14, 02:36:13 UTC] {{base.py:83}} INFO - Using connection ID 'kubernetes_default' for task execution.
[2024-05-14, 02:36:20 UTC] {{pod.py:490}} INFO - Found matching pod dbt-task-group-base-public-users-run-hz8l2jbg with labels {'airflow_kpo_in_cluster': 'False', 'airflow_version': '2.8.1', 'dag_id': 'dbtcicdnew', 'kubernetes_pod_operator': 'True', 'run_id': 'manual__2024-05-14T023450.9965100000-c066a9c38', 'task_id': 'dbt_task_group.base_public_users_run', 'try_number': '1'}
[2024-05-14, 02:36:20 UTC] {{pod.py:491}} INFO - `try_number` of task_instance: 1
[2024-05-14, 02:36:20 UTC] {{pod.py:492}} INFO - `try_number` of pod: 1
[2024-05-14, 02:36:20 UTC] {{pod_manager.py:359}} WARNING - Pod not yet started: dbt-task-group-base-public-users-run-hz8l2jbg
[2024-05-14, 02:36:21 UTC] {{pod_manager.py:359}} WARNING - Pod not yet started: dbt-task-group-base-public-users-run-hz8l2jbg
[2024-05-14, 02:36:22 UTC] {{pod_manager.py:359}} WARNING - Pod not yet started: dbt-task-group-base-public-users-run-hz8l2jbg
[2024-05-14, 02:36:23 UTC] {{pod_manager.py:460}} INFO - [base] None
[2024-05-14, 02:36:23 UTC] {{pod.py:788}} INFO - Skipping deleting pod: dbt-task-group-base-public-users-run-hz8l2jbg
[2024-05-14, 02:36:23 UTC] {{taskinstance.py:1138}} INFO - Marking task as SUCCESS. dag_id=dbtcicdnew, task_id=dbt_task_group.base_public_users_run, execution_date=20240514T023450, start_date=20240514T023611, end_date=20240514T023623
[2024-05-14, 02:36:24 UTC] {{local_task_job_runner.py:234}} INFO - Task exited with return code 0
[2024-05-14, 02:36:24 UTC] {{taskinstance.py:3280}} INFO - 0 downstream tasks scheduled from follow-on schedule check

@ysjjovo, thanks for the details! Could you confirm which version of apache-airflow-providers-cncf-kubernetes and what is the Dockerfile used to build the image 139260835254.dkr.ecr.us-east-2.amazonaws.com/dbtcicdnew:1.0?

@ysjjovo, thanks for the details! Could you confirm which version of apache-airflow-providers-cncf-kubernetes and what is the Dockerfile used to build the image 139260835254.dkr.ecr.us-east-2.amazonaws.com/dbtcicdnew:1.0?
Also, could you test if your DAG works as expected in a local k8s cluster (e.g., with Kind, as described in these docs), it would be great for us to isolate the issue from a bug specific to MWAA, or a problem in the docker image / or in Cosmos.

Here is the Dockerfile I used.
FROM python:3.9-slim
ENV AWS_DEFAULT_REGION "us-east-2"
RUN apt-get update

WORKDIR /app

COPY ./requirements.txt /app

RUN pip install -U pip \
    && pip --no-cache-dir install -r ./requirements.txt

COPY . .
COPY profiles.yml /root/.dbt/profiles.yml

RUN dbt deps

Here is the entire dbt project: https://github.com/ysjjovo/dbtcicdnew
I also tried local aiflow with a public eks(k8s) could visit locally.Also got the same problem.
Here is the issue I submitted:https://github.com/astronomer/cosmos-example/issues/7

Hey @ysjjovo, I'm curious if you're still experiencing this issue. I attempted to reproduce it on my local machine using the setup steps described in the documentation at https://astronomer.github.io/astronomer-cosmos/getting_started/kubernetes.html, but I couldn't replicate it.
I'm using dag https://github.com/astronomer/cosmos-example/blob/main/dags/jaffle_shop_kubernetes.py

Please re-open if the issue still exists. Closing it now.

authors: pankajastro tatiana ysjjovo

repo: astronomer/astronomer-cosmos


text:
HowToPlayModal コンポーネントを実装する

HowToPlayModal コンポーネントを実装する

Design

https://www.figma.com/file/BTr1WeuSZkT7CUEehBThdU/aeon-quiz-rally?type=design&node-id=163-3516&mode=design&t=QMgk7pDoYeTQiesr-4

@dino3616
他の機能ができたら実装します

source: gharchive/issue

repo: astronomy-club-at-nitic/quiz-rally

license: MIT

license_type: permissive

license_source: github-api


text:
Tutorial with large catalogs cross-matching

We should have a basic tutorial about large catalog cross-matching covering all the steps needed to go from initial raw data to a directory with cross-matched hipscat catalog. So it should include something about hipscat-import and some recommendations about Dask configuration.
We may consider Gaia DR3 vs DES DR2 use-case. Gaia DR3 gaia_source CSV files are here. DES DR2 FITS files are here, we can use only *_dr2_main.fits files for the main table data.
It also would be nice to have a "light" version of the notebook, which would run for a single file per catalog only, so users could run it on their laptops.

Blocked by https://github.com/astronomy-commons/hipscat-import/issues/227

Implemented in #166

repo: astronomy-commons/lsdb


text:
download_IERS_A triggers IndexError

Importing IERS bulletin A is triggering an IndexError - having looked, the URI for the table is generating an error but I can't work out how to tell it to use a different source.
>>> from astropy.utils.data import clear_download_cache
>>> clear_download_cache()
>>> from astroplan import download_IERS_A
Downloading https://hpiers.obspm.fr/iers/bul/bulc/Leap_Second.dat
|===================================================================| 1.3k/1.3k (100.00%)         0s
>>> download_IERS_A()
Downloading https://datacenter.iers.org/data/9/finals2000A.all
|===================================================================| 2.1k/2.1k (100.00%)         0s
Traceback (most recent call last):
  File "/usr/local/lib64/python3.6/site-packages/astropy/io/ascii/core.py", line 955, in _convert_vals
    converter_func, converter_type = col.converters[0]
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.6/site-packages/astroplan/utils.py", line 146, in download_IERS_A
    iers.IERS.iers_table = iers.IERS_A.open(local_iers_a_path)
  File "/usr/local/lib64/python3.6/site-packages/astropy/utils/iers/iers.py", line 205, in open
    cls.iers_table = cls.read(**kwargs)
  File "/usr/local/lib64/python3.6/site-packages/astropy/utils/iers/iers.py", line 542, in read
    iers_a = super().read(file, format='cds', readme=readme)
  File "/usr/local/lib64/python3.6/site-packages/astropy/table/connect.py", line 52, in __call__
    out = registry.read(cls, *args, **kwargs)
  File "/usr/local/lib64/python3.6/site-packages/astropy/io/registry.py", line 523, in read
    data = reader(*args, **kwargs)
  File "/usr/local/lib64/python3.6/site-packages/astropy/io/ascii/connect.py", line 19, in io_read
    return read(filename, **kwargs)
  File "/usr/local/lib64/python3.6/site-packages/astropy/io/ascii/ui.py", line 323, in read
    dat = reader.read(table)
  File "/usr/local/lib64/python3.6/site-packages/astropy/io/ascii/cds.py", line 326, in read
    return super().read(table)
  File "/usr/local/lib64/python3.6/site-packages/astropy/io/ascii/core.py", line 1204, in read
    table = self.outputter(cols, self.meta)
  File "/usr/local/lib64/python3.6/site-packages/astropy/io/ascii/core.py", line 986, in __call__
    self._convert_vals(cols)
  File "/usr/local/lib64/python3.6/site-packages/astropy/io/ascii/core.py", line 971, in _convert_vals
    raise ValueError(f'Column {col.name} failed to convert: {last_err}')
ValueError: Column year failed to convert: invalid literal for int() with base 10: '<!'
>>>

Is this just a case of "wait until the new tables are published"? I first noticed this on March 28th, if that's helpful.
Thanks!

Ah, I see that the bulletin servers are unavailable. Sorry for making this an issue (so I'll close it now, as it's out of your hands). But, as a future feature request can we make alternate sources an option to download_IERS_A()?

repo: astropy/astroplan


text:
Allow for mixed-case data in ds9 strings

WIP: This is a fix for #236.  Wherever we're handling global metadata (keywords) or region shape names, we force them lowercase.  For the metadata, e.g., text={blah}, we lowercase the key but not the value.

This PR is made from a branch in the main repo. TODO: remove branch after merging.

source: gharchive/pull-request

authors: bsipocz keflavich

repo: astropy/regions


text:
refactor(background-worker): now background worker leaves error message if it was failed

this PR resolves #46

:tada: This PR is included in version 1.0.0-dev.2 :tada:
The release is available on:

v1.0.0-dev.2
GitHub release
v1.0.0-dev.2

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

v1.0.0
GitHub release
v1.0.0

Your semantic-release bot :package::rocket:


text:
[BUG] IntelliJ Plugin (3.0.0+jre21): No error message on mouse-over

Describe the bug.
Errors are underlined in red in editor, but there is no actual error message presented
Expected behavior
Error message (shown in progressbar on the right) should also be shown on mouse-over
Screenshots

How to Reproduce

Create version 2 json
Provoke error (like invalid reference)
Move mouse over error

🥦 Browser
None
👀 Have you checked for similar open issues?

[X] I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

Are you willing to work on this issue ?
None

@rupert-jung-mw hi!
I'm not sure that I understand what's went wrong
Here is a video with latest plugin version where cmd + z is working also as show error on mouse-over
https://github.com/user-attachments/assets/706a39c9-b4f7-4a61-aa16-ea01ba00f4fb

authors: Pakisan rupert-jung-mw

repo: asyncapi/jasyncapi-idea-plugin


text:
Implementing Sink for Sender

Hello !
First thank you for your amazing work, your crates are amazing !
I would like to be able to implement the Sink trait for the Sender endpoint of the channel.
Contrary to Stream for the Receiver the Sink trait is not in futures-core crate so I don't think it is worth implementing it in your crate to keep the dependancies minimal.
That's said it would be nice if your crate provides the needed methods to allow implementing Sink<T> in a clean way on a Sender wrapper. I think try_send already allow to implement the start_send method of the trait. What miss currently is buffering management, there is no public API to know if the queue is full to apply back-pressure (poll_ready method) or empty to let it flush (poll_flush) and maybe closing would be cleaner if we can use the sender_signal in the channel rather than creating a new Event to implement poll_close using close and is_closed and your async-event crate.
Otherwise I would need to include an atomic int and another sender signal in the Sender wrapper to track the number of items in the queue in the channel.
Do you think it is acceptable to provide such API in your crate ? It could be interesting to look at how tokio does it for its channel, they do handle backpressure but not flushing.
Thank you for your time :)

After trying a bit it seems impossible to me to implement the sink correctly with a wrapper. So I gave a try at what can be done if I can touch the internals. I end up with:
Adding this method on the queue:
impl<T> Queue<T> {
    /// Perform checks to determine if a push can be attempted.
    /// The next push is guaranteed to be successful
    /// only if no other sender are waiting to send
    pub(super) fn can_push(&self) -> bool {
        let mut enqueue_pos = self.enqueue_pos.load(Ordering::Acquire);

        loop {
            let slot = &self.buffer[enqueue_pos & self.right_mask];
            let stamp = slot.stamp.load(Ordering::Acquire);

            let stamp_delta = stamp.wrapping_sub(enqueue_pos) as isize;

            match stamp_delta.cmp(&0) {
                cmp::Ordering::Less => return false,
                cmp::Ordering::Equal => return true,
                cmp::Ordering::Greater => enqueue_pos = self.enqueue_pos.load(Ordering::Acquire),
            }
        }
    }
}

to implement this method on Sender:
    /// Wait until a push can be attempted
    pub async fn wait_until_can_push(&self) {
        self.inner
            .sender_signal
            .wait_until(|| self.inner.queue.can_push().then_some(()))
            .await
    }

to implement Sink<T> like this:
impl<T> Sink<T> for Sender<T> {
   type Error = TrySendError<T>;

   fn poll_ready(
       self: std::pin::Pin<&mut Self>,
       cx: &mut std::task::Context<'_>,
   ) -> Poll<Result<(), Self::Error>> {
       pin!(self.wait_until_can_push()).poll(cx).map(Ok)
   }

   fn start_send(self: std::pin::Pin<&mut Self>, item: T) -> Result<(), Self::Error> {
       self.try_send(item)
   }

   fn poll_flush(
       self: std::pin::Pin<&mut Self>,
       _cx: &mut std::task::Context<'_>,
   ) -> Poll<Result<(), Self::Error>> {
       // Flushing does not really matter for a channel as long as done when it is closing
       Poll::Ready(Ok(()))
   }

   fn poll_close(
       self: std::pin::Pin<&mut Self>,
       cx: &mut std::task::Context<'_>,
   ) -> Poll<Result<(), Self::Error>> {
       self.close();
       pin!(self
           .inner
           .sender_signal
           .wait_until(|| self.is_closed().then_some(Ok(()))))
       .poll(cx)
   }
}

I don't think that we can guarantee that try_send will be successful right after when wait_until_can_push returns. But I think that this guarantee holds for the Sink<T> contract because all messages sent using the sink api to the channel will have to be preceed by a wait_until_can_push check through a poll_ready call. That's said I may not be fully aware of the raicy conditions that may happen on the Queue<T> and be wrong... I have to try it.
If this is right It could be worth it to add it behind a feature flag to avoid adding futures-sink dependancy just to get the Sink trait for those who need it.

Many thanks for looking into this! I admit I have never used the Sink trait and indeed, unlike Stream it does not look like it has much chances ending up into std, but I am not against including support under a feature flag.
I haven't looked at the details yet but your analysis and suggestions about what needs to be implemented look correct to me, with one large caveat: I'm afraid that even if all messages are sent using the sink API (poll_ready followed by start_send), then start_send may fail if used concurrently. This is because the can_push method would return true to all concurrent senders even if only one slot is available. The tokio and futures channels have a different design than tachyonix or async_channel, and this allows them to guaranty that a send will succeed.
While we could theoretically "book" a slot by incrementing enqueue_pos, if start_send is not called fast enough this would ultimately block the channel once the enqueue position wraps around. TBH I don't really see a good solution here...

This is because the can_push method would return true to all concurrent senders even if only one slot is available.

I think this is really the pain point.  A Sink<T> implementation would be sound if and only if Sender is not Clone for such channel. This would prevent them to race each others between a poll_ready and a start_send. In my use case I do not clone the sender so it would make sense... maybe 😅 ?
It could make sense to add the Sink<T> implementation behind a feature flag that also remove the Clone implementation and the related sender_count but I don't know if there is more efficient implementation of SPSC channel (most of them are oneshot) I should start to look at that first.
Thank you very much for taking time on this, interesting to see the tradeoffs like this one on concurrent programming.

It does indeed look like your best bet is to use an SPSC channel, which would also be faster.
I haven't researched the topic but an obvious SPCS implementation would to start with tachyonix and make enqueue_pos non-atomic (as dequeue_pos currently is). Then the enqueue operation simplifies a lot and becomes wait-free. When it comes to notifications, you could use diatomic_waker for both the sender and receiver, which is faster than async_event.

Quick update before closing:
For my use case I ended up "reversing the data flow logic" since my Sink is used to send data to a rayon thread pool and I mostly needed to get results back, I also think I needed some time to understand the intent behind the Sink abstraction. I successfully used your MPSC queue by arcing it. Then I needed to use the strong count of the Arc with atomic fences to monitor the number of handles to the queue to implement back pressure by forcing this count to be lower than a capacity.
It was working but I find it a bit ugly to copy the queue.rs file with all the unsafe and atomic ordering choices it implies in my production code. So I end up refactoring my sink by using oneshot channels (this implementation seems very light and efficient) which are created at poll_ready step and the sender is consumed when calling start_send as argument of a closure executed in rayon which reproduces a lighter system of permits as the tokio channel does. I am fine with allocating at this step since the thread pool is often already working in parallel while preparing the sink.
To received data back, the oneshot receivers are queued in a FuturesUnorderedBounded from futures-buffered crate, which is also very light, uses the same MPSC queue from 1024cores, uses your amazing diatomic-waker (this one is really a gem) and is not using ugly unbounded linked lists as the futures crate. The poll_flush polls this queue to see if it can get going.
So in the end I don't use tachyonix in my Sink at all and I don't think it is relevant for your crate anymore since it seems to me it cannot easily create "owned permits". But I learn a lot in the process and I discover your work that I will follow closely, it is very very exciting thank you very much for it !
Cheers :)

Be careful: concurrency primitives are a very deep rabbit hole ;-)
Anyway, glad you got it to work. I don't know if this can help but I wrote at some point a mutltishot crate which is a re-usable one-shot channel, with the upshot that allocation is done only once. Not sure it is pertinent to your use-case though, I admit I haven't fully grasped all subtleties...
Thanks about the pointer to these other crates, futures-buffered looks indeed quite interesting. I wrote as well a lighter variation of FuturesUnordered (unsafe-free!) but it is too idiosyncratic to make it into a general-purpose crate.

authors: Pantamis sbarral

repo: asynchronics/tachyonix


text:
这个背后的实现原理是啥

请问是用微软GUID，UUID，mongodb的object_id实现的吗

@xiaohuazi123 作者有介绍过，看下面 ⬇

https://segmentfault.com/a/1190000023087471
https://github.com/asyncins/mist

大概是： 1位 最高位 + 47位 递增数 + 16位 随机数

authors: Akimotorakiyu fudiwei xiaohuazi123

repo: asyncins/medis


text:
help for deploy docker

Service 1:
`  public ServiceRegistration(ILogger logger)
{
MyActorProps=Props.FromProducer(() => new UserCreateActor(logger));
}
    public async Task Register()
    {
        var config =

BindToLocalhost();
var consulProvider =
new ConsulProvider(new ConsulProviderConfig(), c => c.Address = new Uri("http://172.17.0.5:8500/"));
         system
      = new ActorSystem();
        var props = system.Root.NewRandomGroup(
system.Root.Spawn(MyActorProps),
system.Root.Spawn(MyActorProps),
system.Root.Spawn(MyActorProps),
system.Root.Spawn(MyActorProps)

);
var clusterConfig =
ClusterConfig
.Setup("services.user.create", consulProvider, new PartitionIdentityLookup()).WithGossipFanOut(1)
.WithClusterKinds(new ClusterKind("services.user.create", props));
        system.WithRemote(config.WithAdvertisedPort(37101)).WithCluster(clusterConfig);
        _cluster = system.Cluster();

        await _cluster.StartMemberAsync();
        context = system.Root;

    }
}

public class UserCreateActor : IActor
{
private readonly ILogger _logger;
public UserCreateActor(ILogger logger)
{
_logger = logger;
logger.LogInformation("Actor created");
}
public Task ReceiveAsync(IContext context)
{
_logger.LogInformation("new request call");
switch (context.Message)
{
case Services.Models.User.UserCreateRequest:
context.Send(context.Sender, new Services.Models.User.UserCreateResponse() { Id=1 });
break;
default:
break;
}
return Task.CompletedTask;
}
}`
Service 2:
Call Service 1 actor.
public async Task Register()
{
try
{
var config =
BindToLocalhost();
var consulProvider =
new ConsulProvider(new ConsulProviderConfig(), c => c.Address = new Uri("http://172.17.0.5:8500/"));
var clusterConfig =
ClusterConfig
.Setup("services.user.create", consulProvider, new PartitionIdentityLookup()).WithGossipFanOut(1);
            system
               = new ActorSystem()
                   .WithRemote(config.WithAdvertisedPort(37100)).WithCluster(clusterConfig);

            _cluster = system.Cluster();
            await _cluster.StartMemberAsync();

            context = system.Root;

            await Task.Delay(1000);
            var c = _cluster.GetIdentity("UserCreateActor", "services.user.create");
            var l = await _cluster.RequestAsync<Services.Models.User.UserCreateResponse>(c, new Services.Models.User.UserCreateRequest("", ""), System.Threading.CancellationToken.None);
            _logger.LogInformation("Response: " + l.Id);
        }
        catch (Exception ex)
        {
            _logger.LogError(ex, ex.Message);
        }
    }

I'm installing services in docker.
For service 1, I open 37100/tcp and 37100/upd ports in containers.
For serivis 2, I open 37101/tcp and 37101/upd ports in containers.
My services are exiting in consul.
but _cluster.RequestAsync is not working.
can you help?

In the bridge network, the actors cannot communicate, but in the host network they can.

without much detail, I can only guess that you are using BindToLocalHost, which bind to 127.0.0.1 and stops working when the nodes run in different containers in bridge mode.  If that's the case, change Remote to BindTo the container IP instead.

repo: asynkron/protoactor-dotnet


text:
🛑 Wedding HTTPS is down

In bf6fd39, Wedding HTTPS ($WEDDINGHTTPS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wedding HTTPS is back up in 325becb.

repo: atatkin/milos-uptime


text:
🛑 Wedding HTTPS is down

In 17f25bf, Wedding HTTPS ($WEDDINGHTTPS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wedding HTTPS is back up in 75a8448.


text:
🛑 Wedding HTTPS is down

In 1e901bf, Wedding HTTPS ($WEDDINGHTTPS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wedding HTTPS is back up in f3576f6.


text:
🛑 Wedding HTTPS is down

In 7ed00ea, Wedding HTTPS ($WEDDINGHTTPS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wedding HTTPS is back up in 22a5889.


text:
🛑 Wedding HTTPS is down

In d66d409, Wedding HTTPS ($WEDDINGHTTPS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wedding HTTPS is back up in 8143c90.


text:
🛑 Wedding HTTPS is down

In 9a23744, Wedding HTTPS ($WEDDINGHTTPS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wedding HTTPS is back up in 7f0be44.


text:
🛑 Wedding HTTPS is down

In fc8a750, Wedding HTTPS ($WEDDINGHTTPS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wedding HTTPS is back up in 3cd6bf8.


text:
🛑 Wedding HTTP is down

In 0deaf81, Wedding HTTP ($WEDDINGHTTP) was down:

HTTP code: 503
Response time: 559 ms

Resolved: Wedding HTTP is back up in 55c14fb.


text:
🛑 Wedding HTTPS is down

In b14e200, Wedding HTTPS ($WEDDINGHTTPS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wedding HTTPS is back up in 6572038.


text:
Mobile optimizations

Placeholder for mobile conversations, eg. how to handle @custom-media --breakpoint & --heading-font

Remember the usage of compound classes, example .p-2.mobile-reset might reset clear all positioning on mobile.


text:
clock_gettime() is not thread-safe

Don't use a global variable in clock_gettime(). Create a new timespec
object for each call to clock_gettime().

A friendly ping :) I'd like to have this fix too...

Yikes, sorry for the delay @felixonmars, @mdbooth, @haypo.

authors: atdt felixonmars haypo

repo: atdt/monotonic

license_source: bigquery


text:
System include for company-c-headers not working

Autocompletion of C and C++ system headers always return no result. Instead, project local headers are completed as expected.
I did a bit of debugging and I found out that the company-c-headers-path-system variable is set to nil by the function cmake-ide-set-compiler-flags. The input parameter sys-includes of this function is nil and the reason seems to be that the system include flags could not be found in the project's compile_commands.json file.
An example of compile_commands.json generated by CMake on my system:
{
  "directory": "/home/franzo/Workspaces/cmake_test/build",
  "command": "/usr/local/bin/c++    -I/home/franzo/Workspaces/cmake_test/include    -o CMakeFiles/cmake_test.dir/src/cmake_test.cpp.o -c /home/franzo/Workspaces/cmake_test/src/cmake_test.cpp",
  "file": "/home/franzo/Workspaces/cmake_test/src/cmake_test.cpp"
}

CMake seems to avoid writing the system include flags, but the project local include directory is present. Am I missing any cmake-ide or CMake configuration to also enable system include flags in compile_commands.json?
My system informations:
$ uname -a
Linux Xubuntu-16-10 4.8.0-27-generic #29-Ubuntu SMP Thu Oct 20 21:03:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ cmake --version
cmake version 3.5.2
$ emacs --version
GNU Emacs 26.0.50.2

Thanks.

From the README:
If cmake-ide-flags-c or cmake-ide-flags-c++ are set, they will be added to ac-clang-flags and company-clang-arguments. These variables should be set. Particularly, they should contain the system include paths (e.g. '("-I/usr/include/c++/4.9.1" "..."). For a system with gcc, you can get this information by running gcc -v -xc++ /dev/null -fsyntax-only (it's the same prerequisite for auto-complete-clang to work, since that's how clang itself works).
I'm not sure I tried it manually with company though.

Yes, I manually set cmake-ide-flags-c and cmake-ide-flags-c++ in init.el and their values are mantained when I open a source file of my C++ project. On the other hand, I also set a global value for company-c-headers-path-system (used by company-c-headers for autocompletion) in init.el, but, in the source file buffer, this value is overwritten by a local one which is nil. So, autocompletion works everywhere except when I try to autocomplete an header.
The culprit seems to be the parameter sys-includes of the cmake-ide-set-compiler-flags function, which its called by cmake-ide every time I open a new source file of my C++ project. But sys-includes is nil because there are no system include flags in compile_commands.json.
I also see that sys-includes is used in that function to set some flycheck related variables, so, if its value is nil, it could cause problems even to flycheck. But I personally have not seen any problem with flycheck so far...

I never even had the relevant package installed, so I'd never tried this myself. git tells me I wasn't the one who wrote those lines. I installed company-c-headers and, as you say, it gets set to nil locally. I think this was a misunderstanding of what sys-includes means - it's not the system include paths at all. And it's wrong to reset instead of adding to it. So I'll fix this.

authors: Franzo- atilaneves

repo: atilaneves/cmake-ide


text:
Testing your bot

Hi all,
I made my second bot with this great gem. I would like to do some automatic testing of my bots commands. I am thinking of using Minitest, Webmock and VCR.
What would be the best approach to do this? Would it even be possible to test without making real connections to Telegram servers?
Any thoughts on that?
Thanks
Christian

Just answering my own question here :-)
I now have some automatic tests for my bot (which uses webhooks) running with
minitest
rack-test
vcr
ngrok
I recorded JSON data from Telegram with ngrok and am replaying it in my tests. Works great so far.

@chriso0710 Please share your setup

The project is not active anymore. It was a small side-project 3 years ago and I have no easy access to the project (and no free time) to restore it quickly. Sorry, @edenworky. But you should still be ok with the mentioned gems/tools. ngrok is great, highly recommended.

repo: atipugin/telegram-bot-ruby

license: WTFPL


text:
Add tags for numbers of errors and warnings to the error text area.

In the error text area there should exist a tag indicating the number of errors and warnings that exist as in syndesis.
ref:

There's no available real-estate with the main error window to show the error and warning count.  Additionally it might make more sense to add a selection to the 'panel settings' gear icon that would also indicate the number of errors/ warning.  Consequently - it makes the most sense to add the error and warning dount to the actual error modal window in a patternfly style.

repo: atlasmap/atlasmap


text:
New config!

Still need to write tests for this.

@Noviny updated All The Things

repo: atlassian/changesets


text:
Add new CompactingQueue structure in a lock free threadsafe way.

:pencil: Description
:link: Related Issues

Closing in favor of #211

repo: atleon/atleon


text:
Slow activation

On atom startup, I have 124 packages loading, and 109 activating. Of the 109 activating, 5 take longer than 25ms: linter (40ms), linter-shellcheck (43ms), linter-ruby (49ms), linter-flake8 (75ms), and linter-htmlhint (76ms). I'm not sure what's taking them so long, but the common thread seems to be linter.
Versions:
linter 1.11.3
atom 1.3.1

343 ms on my machine.

Is there any progress on this one? linter, linter-php, linter-htmlhint, linter-sass-lint and linter-eslint are the packages I use in my linting-process and they are really the slowest when it comes to activation even without any file opened. Once I was happy about Atom's startup time but nowadays with all the plugins (especially the linting ones) it's even frustrating on a freshly booted 4ghz i7.
Don't take me wrong, I really appreciate the hard work of every contributor.

authors: csholmq dkerzig wackywendell

repo: atom-community/linter

license: mit


text:
deps: Bump tar to v4 (synced with npm)

Requirements

Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
All new code requires tests to ensure against regressions

Description of the Change

Bumps tar to v4. Required a slight change to invoking tar (tar.Extract --> tar.extract, option path: --> option cwd:).
Alternate Designs

Stay on outdated tar (I can't see a reason to do that)
Bump to a newer tar (versions up to v6 are published)

(There are some minor bugfixes and dependency bumps available in even newer versions of tar. I prefer to use the version shipped by npm so we can dedupe our direct dependencies with npm's, and to not expose ourselves to whatever might be broken in the newer, less-well-tested versions that aren't in wide use yet. Using newer tar might make enough sense to do that instead, but this is my first choice.)

Benefits

This is supposedly faster, according to the CHANGELOG.
It's only used in a couple of places, though: When installing apm (should extract the bundled Node a bit faster), and whenever apm/lib/package-converter.js is used (appears to only be used when running apm init) [1] [2].
This is the version of tar used by our bundled npm. Using the same version lets us dedupe dependencies, shipping a slightly lighter apm on disk, perhaps marginally improving apm's startup time, and using marginally less memory at runtime.
Possible Drawbacks

None expected. npm has been using this version of tar already.
Verification Process

CI should pass.
Applicable Issues

See the experimental PR attempting to bump all the dependencies. This checks on dependency off the list. https://github.com/atom-ide-community/apm/pull/19

@aminya please take a look.
This gives us a newer dependency that should be faster than before. It's in sync with npm's dependency for the same module, so it gets deduped during install, which is nice.

I'm pretty sure the failing AppVeyor build is not related to this PR.
(It errored out before it even began installing dependencies. And only during one run. The rest of the runs passed.)

I'll say this ahead of time: if you'd rather have tar v6, then go for it. Just make sure CI passes.
(And if we do that we should change the PR title so the merge commit doesn't say "v4" when we're actually merging tar v6.)

Could you go to the latest version?

Yes, I can do tar@6. (I found out npm@7 (the next version, currently in beta) will have tar@6. Just  saw you edited your comment to say the same thing. So we'll be synced with npm again... eventually. It's not a heavy dependency anyway, I think.)
Did you see my comment in #19? I was able to upgrade all dependencies other than colors, async, and yargs to their latest versions and CI passes.
It might be smarter to do them one at a time I guess, rathe rthan all at once. But it seems pretty doable to upgrade almost everything at some point if we want.

It's updated to tar v6.
CI is passing on GitHub Actions. AppVeyor is taking a while as always.

Please upstream this.

authors: DeeDeeG aminya

repo: atom-ide-community/apm


text:
Indent guide is crazy in XML files

Reopening https://github.com/atom/language-xml/issues/42 in the right place.
See this pic and you will understand what I mean:

Atom 1.3.2. Fedora 23. No Emmet plugin installed. Issue happens with atom --safe.

I suspect that this is the same issue as #9369.  @Yajo can you please try increasing/decreasing the font size to see if the problem fixes itself at a certain font size?  If so then it's probably a duplicate of #9369.

Thanks, I tried. No matter the zoom, the lines stay the same.

repo: atom/atom


text:
Crashes Every every minute

I was working on it around 4 months and now it crashes every minute while writing code.

Using windows 10. Using no plugin. Version 1.2.4
On 2 Jun 2016 11:13 p.m., "Posthumus" notifications@github.com wrote:

What OS and what Atom version are you using?
Did you disable all the plugins and run in safe mode ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/atom/atom/issues/11883#issuecomment-223375251, or mute
the thread
https://github.com/notifications/unsubscribe/AIZwpB0EnJWMJ-UhDuMz17Fge_UEubmfks5qHx1FgaJpZM4Isz7r
.

Please fill out the issue template provided when you are facing the new issue screen as this issue needs more information.

Atom crashes on Windows 10 when the same file which is being edited is opened in two tabs (and/or panes) simultaneously. Pretty reproducible (happens inside of 5 minutes of editing such file).
I'll try to find time to submit a proper bug report later. It would be awesome if Atom could just send its current state aftera crash, like many other programs.

@youurayy Atom saves crash dumps in %LocalAppData%\Temp\Atom Crashes[1] and in /tmp/Atom Crashes on OSX/Linux.
[1] https://discuss.atom.io/t/atom-keeps-crashing-when-opening-a-file-or-project-folder/23847/4

thanks @hultberg!
however I don't know how to attach the .dmp file here (tried inside .zip too) -- is there a known method that works?

You should be able to attach the .zip (at least) on an comment as explained here.

Something's wrong with Github. I tried both WinRar and Info-ZIP and neither (nor the .dmp) is attachable to this message (by drag&drop or open dialog).

works when renamed to .dmp.txt:
e7e4d6a6-5346-45e1-ace4-5037024af8fe.dmp.txt

@tehzu9 Atom 1.2.4 is an old version and there has been many improvements to the overall Windows experience in the more current versions, I think the first thing to try would be to update to a current version and see if the problem persists.

My atom crashes every time I'm trying to run it. There is no dumps, it crashed in safe mode too
deleting ~/.atom didn't help
It was fine last week. I don't know what's wrong and how to debug it
Atom    : 1.7.4
Electron: 0.36.8
Chrome  : 47.0.2526.110
Node    : 5.1.1
OpenSUSE leap 42
Gnome 3.18

I have installed 1.7 version and it also crashes while writing Javascript
code.
On 3 Jun 2016 3:49 p.m., "Ben3eeE" notifications@github.com wrote:

@tehzu9 https://github.com/tehzu9 Atom 1.2.4 is an old version and
there has been many improvements to the overall Windows experience in the
more current versions, I think the first thing to try would be to update to
a current version and see if the problem persists.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/atom/atom/issues/11883#issuecomment-223548935, or mute
the thread
https://github.com/notifications/unsubscribe/AIZwpFwH0jMvG0-lBtdO48sLoXqE8tz0ks5qIAaygaJpZM4Isz7r
.

@youurayy @lem8r please open new issues.
@tehzu9 does it still crash in safe mode (atom --safe)?

@youurayy I've solved my issue downgrading libfreetype2

just FYI my problem (Windows crashing in same-file multi-pane edit) got resolved in 1.8.0 - works like a clock now, thanks everyone!


text:
Uncaught Error: ENOENT: no such file or directory, lstat '/private/var/folders/7p/qxqsxdq93kq0rwb...

[Enter steps to reproduce:]

...
...

Atom: 1.23.1 x64
Electron: 1.6.15
OS: Mac OS X 10.13.1
Thrown From: Atom Core
Stack Trace
Uncaught Error: ENOENT: no such file or directory, lstat '/private/var/folders/7p/qxqsxdq93kq0rwb_2gv7mdnr0000gn/T/AppTranslocation/C47D655F-E826-482B-AF80-BF0104004A91/d/Atom.app/Contents'
At fs.js:902

Error: ENOENT: no such file or directory, lstat '/private/var/folders/7p/qxqsxdq93kq0rwb_2gv7mdnr0000gn/T/AppTranslocation/C47D655F-E826-482B-AF80-BF0104004A91/d/Atom.app/Contents'
    at fs.lstatSync (fs.js:902:18)
    at Object.fs.lstatSync (ELECTRON_ASAR.js:244:16)
    at realpathSync (fs.js:1542:21)
    at Object.fs.realpathSync (ELECTRON_ASAR.js:331:24)
    at toRealPath (module.js:130:13)
    at Function.Module._findPath (module.js:178:22)
    at Module._resolveFilename (module.js:468:25)
    at Module._resolveFilename (/private/var/folders/7p/qxqsxdq93kq0rwb_2gv7mdnr0000gn/T/AppTranslocation/C47D655F-E826-482B-AF80-BF0104004A91/d/Atom.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.get_Module._resolveFilename (/private/var/folders/7p/qxqsxdq93kq0rwb_2gv7mdnr0000gn/T/AppTranslocation/C47D655F-E826-482B-AF80-BF0104004A91/d/Atom.app/Contents/Resources/app/src/module-cache.js:354:58)
    at Module.require (/app.asar/static/index.js:40:43)
    at require (internal/module.js:20:19)
    at customRequire (/private/var/folders/7p/qxqsxdq93kq0rwb_2gv7mdnr0000gn/T/AppTranslocation/C47D655F-E826-482B-AF80-BF0104004A91/d/Atom.app/Contents/Resources/app/static/<embedded>:96:26)
    at get_KeyboardLayoutManager (/private/var/folders/7p/qxqsxdq93kq0rwb_2gv7mdnr0000gn/T/AppTranslocation/C47D655F-E826-482B-AF80-BF0104004A91/d/Atom.app/Contents/Resources/app/node_modules/keyboard-layout/lib/keyboard-layout.js:7:65)
    at get_manager (/private/var/folders/7p/qxqsxdq93kq0rwb_2gv7mdnr0000gn/T/AppTranslocation/C47D655F-E826-482B-AF80-BF0104004A91/d/Atom.app/Contents/Resources/app/node_modules/keyboard-layout/lib/keyboard-layout.js:16:42)
    at Object.getCurrentKeyboardLayout (/private/var/folders/7p/qxqsxdq93kq0rwb_2gv7mdnr0000gn/T/AppTranslocation/C47D655F-E826-482B-AF80-BF0104004A91/d/Atom.app/Contents/Resources/app/node_modules/keyboard-layout/lib/keyboard-layout.js:32:17)
    at exports.keystrokeForKeyboardEvent (/private/var/folders/7p/qxqsxdq93kq0rwb_2gv7mdnr0000gn/T/AppTranslocation/C47D655F-E826-482B-AF80-BF0104004A91/d/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/helpers.js:201:42)
    at KeymapManager.module.exports.KeymapManager.keystrokeForKeyboardEvent (/private/var/folders/7p/qxqsxdq93kq0rwb_2gv7mdnr0000gn/T/AppTranslocation/C47D655F-E826-482B-AF80-BF0104004A91/d/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:467:20)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/private/var/folders/7p/qxqsxdq93kq0rwb_2gv7mdnr0000gn/T/AppTranslocation/C47D655F-E826-482B-AF80-BF0104004A91/d/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:347:30)
    at WindowEventHandler.handleDocumentKeyEvent (/private/var/folders/7p/qxqsxdq93kq0rwb_2gv7mdnr0000gn/T/AppTranslocation/C47D655F-E826-482B-AF80-BF0104004A91/d/Atom.app/Contents/Resources/app/src/window-event-handler.js:108:40)

Commands
     -1:54.7.0 application:open (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)

Non-Core Packages

Thanks for taking the time to contribute!
We noticed that this is a duplicate of #10774. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.

authors: baiyinshi rsese


text:
Uncaught Error: ENOENT: no such file or directory, lstat '~/Desktop\protecosssss'

[Enter steps to reproduce:]

...
...

Atom: 1.37.0 x64
Electron: 2.0.18
OS: Unknown Windows version
Thrown From: Atom Core
Stack Trace
Uncaught Error: ENOENT: no such file or directory, lstat 'C:\Users\TOSHIBA\Desktop\protecosssss'
At fs.js:1661

Error: ENOENT: no such file or directory, lstat 'C:\Users\TOSHIBA\Desktop\protecosssss'
    at Proxy.realpathSync (fs.js:1661:15)
    at Proxy.fs.realpathSync (ELECTRON_ASAR.js:336:29)
    at atom.project.getPaths.map.e (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:791546)
    at Array.map (<anonymous>)
    at Object.startTask (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:791537)
    at Object.startLoadPathsTask (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:188199)
    at get_process.nextTick (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:186163)
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Commands

Non-Core Packages
atom-ide-ui 0.13.0
atom-live-server 2.3.0
emmet 2.4.3
file-icons 2.1.33
highlight-selected 0.16.0
ide-css 0.3.2
ide-html 0.5.0
ide-php 0.7.18
ide-typescript 0.9.1
minimap 4.29.9
platformio-ide-terminal 2.9.1

Thanks for the report!  Can you confirm a few things for us?

What were you doing at the time of the error?
Is the error is reproducible?
If reproducible, do you see the error in safe mode (atom --safe)?


text:
Packages failing to install on Ubuntu 20.04

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
Atom packages can't be installed on Ubuntu 20.04
Steps to Reproduce

Installing apm package trough atom directly or via manual install

Expected behavior:
Package installs.
Actual behavior:
For example when installing terminus via apm install terminus
Log:
marcus@~$ apm install terminus
Installing terminus to /home/marcus/.atom/packages ✗
node-pty-prebuilt-multiarch@0.9.0 install /tmp/apm-install-dir-120325-178860-l8s1ro.s8njo/node_modules/terminus/node_modules/node-pty-prebuilt-multiarch
prebuild-install || node scripts/install.js
Aborted (core dumped)
Aborted (core dumped)
gyp: Call to 'node -e "require('nan')"' returned exit status 134 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Linux 5.4.0-26-generic
gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-120325-178860-l8s1ro.s8njo/node_modules/terminus/node_modules/node-pty-prebuilt-multiarch
gyp ERR! node -v v10.2.1
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
Aborted (core dumped)
Aborted (core dumped)
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-120325-178860-l8s1ro.s8njo/package.json'
npm WARN apm-install-dir-120325-178860-l8s1ro.s8njo No description
npm WARN apm-install-dir-120325-178860-l8s1ro.s8njo No repository field.
npm WARN apm-install-dir-120325-178860-l8s1ro.s8njo No README data
npm WARN apm-install-dir-120325-178860-l8s1ro.s8njo No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! node-pty-prebuilt-multiarch@0.9.0 install: `prebuild-install || node scripts/install.js`
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the node-pty-prebuilt-multiarch@0.9.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/marcus/.atom/.apm/_logs/2020-04-25T10_34_51_603Z-debug.log

Complete Log
Reproduces how often:
100% of the time.
Versions
Tested on:
Atom    : 1.45.0
Electron: 4.2.7
Chrome  : 69.0.3497.128
Node    : 10.11.0
and:
Atom    : 1.48.0-nightly1
Electron: 5.0.13
Chrome  : 73.0.3683.121
Node    : 12.0.0
Additional Information
I think it could somehow be related to node-gyp and  python.
Maybe #20406 / #20356 ?

Hi,
(I am not a maintainer of Atom, so these are just my comments as an Atom user.)
I can install terminus and I am on Ubuntu 20.04.

Can you run apm --version? If you see in the output of that command "python 2.7.18rc1" or some other Python 2.x, your issue here is likely not related to #20406 or #20356

I see this in the error message you posted:
gyp: Call to 'node -e "require('nan')"' returned exit status 134 while in binding.gyp. while trying to load binding.gyp

Sounds like some code tried to bring in this package but failed: https://www.npmjs.com/package/nan
This seems like a fairly core thing to NodeJS and shouldn't be having issues. And if there is a bug it might not be within the Atom/apm code.
Does terminus consistently fail to install on your machine? If so, maybe you can try Uninstalling/reinstalling Atom? Then if that doesn't work, deleting ~/.apm (rm -rf ~/.atom this gets rid of any custom configurations you have, so perhaps back it up first: mv ~/.atom ~/.atom_backup)?
If that doesn't work, perhaps you can try installing Atom in a LiveCD environment (after booting the Ubuntu 20.04 install iso but before/without installing) and see if apm install terminus still fails there?

According to NodeJS docs, https://github.com/nodejs/node/blob/master/doc/api/process.md#exit-codes, Error code 134 is SIGABRT, which is usually triggered when a program catches a weird state in its own operation. https://stackoverflow.com/questions/3413166/when-does-a-process-get-sigabrt-signal-6
A comment here said it was down to running out of system RAM/memory: https://github.com/laverdet/node-fibers/issues/358#issuecomment-358537888
Perhaps you are running out of RAM/memory when running apm install terminus? You can try closing other programs that use a lot of RAM. You can check what mg be using lots of memory with a task manager such as htop or gnome-system-monitor.

@DeeDeeG Thanks for your reply.
Yes, it fails every time I try to install any of the terminal packages.
apm --version returns:
apm  2.4.3
npm  6.2.0
node 10.2.1 x64
atom 1.45.0
python 2.7.18rc1
git 2.25.1

I tried installing nan with npm install --save nan as recommended on https://www.npmjs.com/package/nan
I also cleared the cache of npm and did a re-install.
I removed atom and atom nightly, removed their ~/.atom folder and installed them again.
My memory usage peaks at 2.6Gbyte out of 16Gbyte while installing.
I still get the same error.

If you tried tried this from a LiveCD/LiveUSB environment, it would be like "safe mode" for Ubuntu. That would rule out anything unusual with your software and boil it down to "does this happen on your hardware with a perfectly clean version of Ubuntu and Atom?"
If that worked, it would be narrowed down to something more specific you may have configured/installed on your system since installing Ubuntu. If it fails in Ubuntu LiveCD environment, then it has nothing to do with anything you might have done on your system since installing Ubuntu.
I personally don't know anything more than that for narrowing this bug down.
It seems likely to be a bug in node, npm or node-gyp... perhaps a bug that has been fixed already. apm currently bundles an old node, npm and node-gyp.
But this is all a guess, sorry.

I removed every file in relation to npm, node or atom now.
Installation will fail nonetheless.
I tried with atom from apt and the official .deb installation file.
Cant get it to work in a fresh Ubuntu install either.

I have the exact same issue in Debian 10 using Atom installed from the official repository; the issue started occurring after I tried to install "terminal-tab" as a package.
Configuration as follows:
apm --version
apm  2.4.3
npm  6.2.0
node 10.2.1 x64
atom 1.46.0
python 2.7.16
git 2.20.1

uname -a
Linux mako 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1+deb10u1 (2020-04-27) x86_64 GNU/Linux

Could this issue be related with the ENOENT for package.js not found, as seen in the log?

https://github.com/JunoLab/atom-ink/issues/212
This solved the problem in my case. It turns out that you need to remove all system installed npm interpreters, so that they do not conflict with apm. In my case, it was enough with:
sudo apt purge npm
You might check with "which npm" and remove all npm references from the PATH before executing "apm install XXX".

authors: DeeDeeG MarcusAlmert rtubio


text:
Multiline-mini-editor

It's possible to create a single-line mini-editor, but it is not yet possible to create a multi-line mini-editor.
Creating a full-fledged editor in small Atom packages is overkill, while the mini-editor is far too small.
Hereby I pledge to the Atom gods to give us a way to create a multi-line mini editor.

Ref. discussion https://github.com/atom/atom/issues/5503 about adding a <atom-text-area>.

In my mind, this issue can be closed because the goal is - in my mind - achived. For instance, in ex-mode package, we use an text editor for the command input.

authors: Azeirah hultberg simurai


text:
Preferences... should be Settings... or the reverse

The menu item is Preferences... but the resulting window tab is Settings. They should be consistently named.

Closing in favor of https://github.com/atom/settings-view/issues/80

authors: bobrocke izuzak


text:
:pencil: logo and buttons aligned to centre

Description of the Change
The Logo and buttons below the logo in README.md was left aligned and was looking ugly. I have aligned both logo and buttons to the centre and now it is good looking like a professional repo. If you like the change merge my PR

Thanks for the suggestion.
For maintenance reasons, we'd like to keep the Markdown-style links for the image and badges. I agree your change does look nice though.
On the other hand, in the future, you may want to avoid implications that people aren't being professional before you come along. These kinds of comments are against the Atom Code of Conduct.
Thanks for helping out!

authors: lee-dohm philson-philip


text:
Audio not working with screencapture

Set audio: true in the example in docs and it'll fail

As far as i know chromium doesnt allow loopback audio capture along with screen capture, you need to create a separate stream for it.

Oh interesting, is there an easy way to merge those streams together then?

I'm closing this since it is a limitation of Chrome, I would suggest reporting this to Chromium's issues list if you want it fixed.

Can anyone please answer this Question

repo: atom/electron


text:
visual + home/end of line motion

I know this is not very vim-hacker feature but with macvim i was used to put the cursor in the middle of the line (somewhere interesting), hit "v", and move to the end of the line with CMD+Right (end-of-line on macs). In this case the cursor would correctly move to the end of the line while enlarging the visual selection.
If i do this with atom vim-mode the cursor moves but i loose selection. Same goes for moving with CMD+Up/Down and i think its wrong.

As stated in the README, this package is no longer maintained and is deprecated. We recommend that people use the vim-mode-plus package instead. Because of this, we are archiving this repository and closing all issues and pull requests. Thanks very much for your support and contributions!

authors: davibe lee-dohm

repo: atom/vim-mode


text:
ci: QOL for alternate_port_test e2e test

- What I did

alternate_port_test would not run on workflow_dispatch, this pr fixes that
builds the docker compose instead

- How I did it
- How to verify it
- Description for the changelog

This PR should wait for #449

repo: atsign-foundation/sshnoports


text:
Update to Swift 4.1.

Also works with the latest beta DEVELOPMENT-SNAPSHOT-2018-04-25-a.

Merged, thanks! I also gave you push access, to speed things up in the future.

authors: kareman lorentey

repo: attaswift/Benchmarking


text:
Add proper ReadMe file

Because there's nothing just yet

Screenshots are up. (I know we talked about it, but best keep track of things here as well)

Added a README with fancy badges. The multiple small commits are because my Desktop markdown editors just refused to display the images and badges. I will try to squash those commits into one, later


text:
STK files added

Hopefully this is a good start towards getting STK inside of AK.
Included here:

STK source code (duh.)
STK license
A makefile that builds the source code (hopefully it works on OSX)
Sample code using soundpipe with STK.

To compile the soundpipe example (and STK):
run "make sp_mandol"

The makefile runs and builds fine on OSX and the test program sp_mandol, produces a good test.wav.  So, all systems go.  However, this doesn't do anything for AudioKit yet.  Question for you is whether you want to get your hands dirty on that Mac Mini and try to make STK work within AudioKit proper or if you want me to accept the pull request and get handed off the code.

I may want to try to port this into AK myself. This could be a good opportunity for me to understand AudioKit better.

And by "port this", I mean I'll try to port one of these. Are there any that you'd like to see in AK first?

I have no preference.  Probably something that uses the rawwaves, because they will have to be encoded into some text format.  Frameworks themselves can't really contain anything except code.  Files in frameworks aren't easily referenced so there would have to be extra instructions to copy a resource bundle, which we did in AK2 and I'd like to avoid.

Ah. Well in that case, maybe accept this pull request as is? It looks like
there is still stuff on my end that I have to do.
On Apr 8, 2016 4:20 PM, "Aurelius Prochazka" notifications@github.com
wrote:

I have no preference. Probably something that uses the rawwaves, because
they will have to be encoded into some text format. Frameworks themselves
can't really contain anything except code. Files in frameworks aren't
easily referenced so there would have to be extra instructions to copy a
resource bundle, which we did in AK2 and I'd like to avoid.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/audiokit/AudioKit/pull/330#issuecomment-207644294

I think I'd like to see one thing work in AK before committing these files to the final repo.  I'm optimistic, just cautiously so.

Awaiting v2 of this pr...

authors: PaulBatchelor aure

repo: audiokit/AudioKit


text:
Wrong rendering of Gradient in Windows

I tried running the gradient example from the readme in my Windows 10:
use rui::*;

fn main() {
    rui(canvas(|rect, vger| {
        vger.translate(rect.center() - LocalPoint::zero());

        let paint = vger.linear_gradient(
            [-100.0, -100.0],
            [100.0, 100.0],
            AZURE_HIGHLIGHT,
            RED_HIGHLIGHT,
            0.0,
        );

        let radius = 100.0;
        vger.fill_circle(LocalPoint::zero(), radius, paint);
    }));
}

And it looks like:

When it is supposed to look like ( image from the readme ):

After updating to the latest wgpu, this now looks good on Windows.

Looks good !

repo: audulus/rui


text:
observable decorator not working with decorators function

Here is a reproduction: https://gist.run/?id=db11dd4fd9e4dd1908fc88778a60aa5d.

@EisenbergEffect is this supposed to work?

@jdanyow We should probably make it work in order to support pure ES6. The decorator implementation will need to be updated to account for this scenario.

Is this being worked on? I would like to develop without a transpiler.

PRs are welcome.

authors: EisenbergEffect Gheoan jdanyow

repo: aurelia/binding


text:
Updated "configure" signature for TS completion

Once #71  gets fixed, this will be really helpful when working with TS - no more need to specify callback parameter type explicitly

Just noticed there's already open PR for that, sorry

repo: aurelia/http-client


text:
fix(form): properly register the submit attribute

Fixes #247

@bigopon thanks for your comments. I've updated the PR.

Ready for next review / merge @bigopon

Thanks @ben-girardet

@EisenbergEffect pinging you to queue for a release

Adding it to the list. Do we want to release now or wait for the other couple of fixes that are in progress?

@EisenbergEffect it seems there're 2 more small PRs that could go with this. Let's wait for @ben-girardet to resolve all comments in those. If it's taking more than today than we can just go for this first

authors: EisenbergEffect ben-girardet bigopon

repo: aurelia/ux


text:
[Bug] Derelict Zone: Living uses Medical Perils

The Peril Oracle associated with the Derelict Living Zone roll instead the perils of Derelict Medical Zone. The other 3 related oracles are correct.

This has now been added as part of the PR linked above.

authors: ZenthWolf aureyia


text:
🛑 repl.co is down

In ba05177, repl.co (https://hello-repl.auteen.repl.co) was down:

HTTP code: 404
Response time: 487 ms

Resolved: repl.co is back up in 6ce1d16.

repo: auteen/autoreplit


text:
Specify initialScreen

Hello,
in lock documentation there is an option object, where the initailScreen could be used to specify which tab initially will be opened.
How can I achieve this in chrome extension?

Unfortunately I believe it's not doable here. It seems that only Lock offers such feature.

authors: VladimirJarabica beardaway


text:
Login required new oAuth erro?

Hi, I’m using the auth0 React SDK and trying to make posts to a rails api that has been set up with the auth0 quickstart. When I try to post in the react front end I get a console error in Chrome like so:
Error: Login required
at new OAuthError (errors.tsx:8)
at utils.tsx:17
at utils.tsx:39
at step (0.chunk.js:210)
at Object.throw (0.chunk.js:141)
at rejected (0.chunk.js:103)
I am logged in when I get this error. Also I’m able to make posts to the api if I use the token in the test tab of the dashboard for the rails api. I’m following along with the example listed in “Call an API” at this link https://auth0.com/docs/libraries/auth0-react 1

I am getting this also, quite unexpected.

@joshisplutar can you check if @maxpaj's suggestion works for you
If not, do you have code or a running app I can look at to help you debug the issue?

I mentioned I was logged in when getting this error. I've isolated the issue for you in a branch of this repo: https://github.com/joshisplutar/tippingpoint/tree/auth0
You'll notice in the LogOutButton component I'm trying to console.log a token just to see if I even get anything but you will immediatly get the Oath error in the console and the app will break.
import React from "react";
import { useAuth0 } from "@auth0/auth0-react";
const LogoutButton = () => {
const { isAuthenticated, logout, getAccessTokenSilently } = useAuth0();
if (isAuthenticated){
var token = getAccessTokenSilently({
audience: 'https://quickstarts/api',
scope: 'create:locations'
})
console.log(token)
}
return (
isAuthenticated && (
<button onClick={() => logout()}>Log Out
)
)
};
export default LogoutButton;

Hi @joshisplutar
getAccessTokenSilently returns a promise, so you'll want to await the result. You'll also want to use a useEffect hook if you're kicking off an async request from your component's render.
const LogoutButton = () => {
  const { isAuthenticated, logout, getAccessTokenSilently } = useAuth0();
  useEffect(() => {
    (async () => {
      if (isAuthenticated) {
        const token = await getAccessTokenSilently({
          audience: 'https://quickstarts/api',
          scope: 'create:locations',
        });
        console.log(token);
      }
    })();
  }, [isAuthenticated]);
  return isAuthenticated && <button onClick={() => logout()}>Log Out</button>;
};

@adamjmcgrath thanks for the refactore. I'm still learning :)
Using your code I still get the error though. In the console I'm getting:
Uncaught (in promise) Error: Login required
at new OAuthError (errors.tsx:8)
at utils.tsx:17
at utils.tsx:39
at step (RenderPromises.ts:98)
at Object.throw (RenderPromises.ts:98)
at rejected (RenderPromises.ts:98)
and in the browser window it says:
Unhandled Rejection (Error): Login required
new OAuthError
C:/Users/josh.wren/code/src/errors.tsx:8
5 |  * See: https://openid.net/specs/openid-connect-core-1_0.html#rfc.section.3.1.2.6
6 |  */
7 | export class OAuthError extends Error {

8 |   constructor(public error: string, public error_description?: string) {
9 |     super(error_description || error);
10 |   }
11 | }
View compiled
(anonymous function)
C:/Users/josh.wren/code/src/utils.tsx:17
14 |   error: Error | { error: string; error_description?: string } | ProgressEvent
15 | ): Error => {
16 |   if ('error' in error) {
17 |     return new OAuthError(error.error, error.error_description);
18 |   }
19 |   if (error instanceof Error) {
20 |     return error;
View compiled
(anonymous function)
C:/Users/josh.wren/code/src/utils.tsx:39
36 |   try {
37 |     return await getTokenFn(opts);
38 |   } catch (error) {
39 |     throw tokenError(error);
40 |   }
41 | };
42 |

@joshisplutar Make sure that you login (by calling loginWithRedirect)
If you're still having issues, please share the running app or code and I'll take a look

It works now. I had the wrong audience value. My mistake. Thanks for the help.

Great - thanks for letting me know @joshisplutar

authors: adamjmcgrath joshisplutar maxpaj


text:
🛑 Andreas Iten is down

In 1e25485, Andreas Iten (https://www.andreasiten.ch) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Andreas Iten is back up in 4380c29.

repo: authentiqdigital/upptime


text:
MMDS: Adding Support for Mega Man ZX & ZX Advent. (Got the RAM Watch List & States, just need to fix this issue)

Hey there. I've done some work in getting Mega Man ZX (or rather Rockman ZX) to work with the damage shuffler.
The problem facing right now is that the generic swap won't work with the game when taking damage since the value for the health is up in huge 4 byte integer value while the address for setting the max hp is in a 1 byte integer which is why the game won't swap.
The starting health value is at 1050000 with the address that counts the max hp is at 16. Each time you pick up a health upgrade (just like in Mega Man X) the max hp value goes up by 4 which will increase the current health capacity by 200000 as a result. There are a total of four health upgrades so each process in getting a health upgrade is 16 = 1050000, 20 = 1250000, 24 = 1450000, 28 = 1650000 & 32 = 1850000.
A suggestion is maybe having variable maxhp be assigned a set value of 1050000 that would go up by 200000 when the address that corresponds to the health up pickups is increased by 4 in it's value. Therefor the current health will never go above the max hp and hopefully work just like the rest of the generic_swap games. Don't know LUA enough to do that myself however.
The game will swap when you die though since the current health value goes to 0 if just using the generic_swap since the max hp is minimum 16.
Here are the addresses I found and what I think they do
14F764 (Position of Player)
14F7B0 (Health Bar)
14FE70 (Graphic of Health & Energy Bars, changing models affects this as well)
14F7B4 (The max HP or rather the address is connected to increasing your maximum health through the health up upgrades)
14F874 (Appears to be what state the player is in with regards to health and model change)
14F86C (Lives)
I'm using the Japanese Version of Mega Man ZX with the undub romhack that not only puts in English text to keep the Voice Acting that was disabled in the overseas versions but also includes a patch that enables the Zero 3/4 bosses that can only be accessed with having Zero 3 or 4 in the GBA slot in the DS.
I checked a clean rom of the Japanese version and the ram map isn't changed between the two so the RAM Watch and states will load fine. The states will have the max health changes from each pickup. (The game will black screen if you leave an area or die if you loaded a state however, but that's expected when you swap between a modded and unmodded version. The states will still have everything you need regardless if you use the clean or romhacked version)
The RAM watch list and states are in the zip folder.
Rockman ZX States and Watch List.zip
And the undub patch if you are interested in it. https://gbatemp.net/threads/rockman-zx-mega-man-zx-full-undub.492408/
I will find the addresses and values for the western versions after this is sorted since it will be no problem getting them again.

Are you sure you're not just looking at a too large integer? Try incrementing the health address by 2 and change it to a 2 byte integer.

I checked the RAM Search again with the 2 byte integer and found the actual address that holds the health which is two digits further from the address I originally thought was the health (14F7B2).
That's why I was confused as to why the health was so big. I'm not sure why there is two addresses related to the Health that the value goes up and down apon damage and healing. It's why I thought I originally found the address. I should of known Bizhawk shenanigans were in play.
I'll check and see if the generic swap works with the address I found. If so than I'll check the addresses of lives for the same thing

It's done. Both Megaman ZX & ZX Advent can now work with the shuffler properly.
I've added not only the USA, PAL & JP versions but also all the hacks that are available for those games. Plug-in description has also been updated. All that's left is to update support for these games on the github page.
MMDS Plugin updated with Megaman ZX & ZX Advent.zip

authors: Extremezero kalimag


text:
Add support for faunadb

Feature Description

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Replica of #98

repo: authorizerdev/authorizer


text:
🛑 RSSHub is down

In 991815b, RSSHub (https://rsshub.lirtual.cloudns.org/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RSSHub is back up in ba3009b after 10 minutes.

repo: autoactions/upptime


text:
DTU Large Baseline dataset

Hello! i've attempted to follow your instructions, but i can't seem to find where the calibration folder in the dataset is created from! it's not present in the RegNeRF guide you've given link to.
Great paper, can't wait to try it out!
Yiftach

Hi, the calibration files can be downloaded from https://roboimagedata.compute.dtu.dk/?page_id=36

authors: Fortunanto haofeixu

repo: autonomousvision/murf


text:
Use different pins on Adafruit Metro M0?

Hi,
I want to learn a bit more about CAN-Bus and therefore use an Adafruit Metro M0 to receive some can-messages. On all the wiring diagrams and instructions I find, the MCP2515 module is connected to D2 and D10-13. However D2-D10 are already used on my Adafruit Metro M0 Express. Only D0(RX), D1(TX), A4, A5 and D11-13 are still free. Can I also use these pins instead? And how to change it? In the initialization I only see a way to set the CSI pin:
MCP2515 mcp2515(10);
What about the other pins? How do I change them?

Arduino SPI pins is defined in board specific files of original library https://www.arduino.cc/en/reference/SPI
That question is out of scope of mcp2515 library.
We can configure only ChipSelect


text:
Update quick-start.md

edits, not including:
Page:
https://availproject.github.io/avail-quick-start
All instances of avail explorer links are dead links
error:
You can generate an account using one of two methods:
Avail Explorer

Fix: remove/fix avail explorer, dead link
error: The transfer will up to one minute to complete.
fix: The transfer will take up to one minute to complete.

Hi, Thank you for raising this PR. We appreciate all your efforts. But in the light of new changes that were pushed yesterday, this PR has become irrelevant. So closing this PR. With best wishes and regards...

authors: VivekAvail ren-ryder


text:
🛑 Static Resources is down

In 0494612, Static Resources (https://static.avanpost20.ru) was down:

HTTP code: 523
Response time: 3178 ms

Resolved: Static Resources is back up in c788bf6 after 12 hours, 46 minutes.


text:
Possible to pull docker container from private registry?

Hi,
I get following issue when i try to pull a docker container from a private registry  in hub.docker.com:
Pulling repository docker.io/someprivateRepo/someImage  Error: image someprivateRepo/someImage:latest not found
When i try that with docker pull command i have no issues.
So my question is there a restriction? Can i do that?

Hi,
what version of docker-compose do you use? There was a bug in Docker Compose that was fixed in 1.8.1 (see the first bug fixes).
The problem was that Docker started to use a new way how to store credentials but this change wasn't reflected in Docker Compose.
To explain it - Docker Compose doesn't use Docker CLI under the hood - it communicates with Docker daemon via REST API instead. So they had to "reimplement" the support for new credentials store in Python.

authors: augi golauty

repo: avast/docker-compose-gradle-plugin


text:
Javadoc of Scalar has a few wrong entries

E.g.,
    /**
     * Test if this DoubleScalar is less than or equal to another DoubleScalar.
     * @param o T, a relative typed DoubleScalar; the right hand side operand of the comparison
     * @return boolean
     */
    boolean le(S o);

    /**
     * Test if this DoubleScalar is greater than or equal to a DoubleScalar.
     * @param o T, a relative typed DoubleScalar; the right hand side operand of the comparison
     * @return boolean; true if this is greater than or equal to other; false if this is not greater than or equal to other
     */
    boolean gt(S o);

    /**
     * Test if this DoubleScalar is greater than a DoubleScalar.
     * @param o T, a relative typed DoubleScalar; the right hand side operand of the comparison
     * @return boolean; true if this is greater than other; false if this is not greater than other
     */
    boolean ge(S o);

Same for gt0 and ge0: javadoc reversed.
other should read o.

Resolved; javadoc adapted.

repo: averbraeck/djunits


text:
Running 'apm install' in cloned repo does not seem to install any package

I followed the instructions for install found here (why not also in the README for this repo?)
https://github.com/avh4/elm-format/blob/master/README.md
After doing so (several times, and restarting Atom), no package seems to be installed.
~/src/atom-elm-format (master ✔)$ apm install
Installing modules ✓

~/src/atom-elm-format (master ✔)$ ls -la /Users/glenn/.atom/packages/
total 4
drwxr-xr-x 20 glenn 680 Dec 14 12:12 .
drwxr-xr-x 14 glenn 476 Dec 12 10:32 ..
-rw-r--r--  1 glenn  60 Oct  7  2014 README.md
drwxr-xr-x 23 glenn 782 Nov 19 16:21 atom-beautify
drwxr-xr-x 10 glenn 340 Dec 12 10:30 color-picker
drwxr-xr-x 15 glenn 510 Nov 10 13:56 editorconfig
drwxr-xr-x 11 glenn 374 May 31  2015 git-log
drwxr-xr-x 13 glenn 442 May 27  2015 git-tab-status
drwxr-xr-x 10 glenn 340 May 27  2015 hex
drwxr-xr-x 16 glenn 544 Oct 31 10:13 jshint
drwxr-xr-x  7 glenn 238 Dec 12 10:30 language-docker
drwxr-xr-x  8 glenn 272 Aug 14 13:14 language-elixir
drwxr-xr-x 11 glenn 374 Nov 28 13:45 language-elm
drwxr-xr-x  8 glenn 272 Dec 12 10:30 language-haml
drwxr-xr-x 17 glenn 578 Nov 28 09:50 linter
drwxr-xr-x  8 glenn 272 Dec 14 12:12 linter-elm-make
drwxr-xr-x 12 glenn 408 Nov 10 13:57 linter-jscs
drwxr-xr-x 17 glenn 578 Nov 10 13:56 merge-conflicts
drwxr-xr-x  5 glenn 170 Oct  8  2014 tabular
drwxr-xr-x 12 glenn 408 Nov 10 13:56 wordcount

Atom version is 1.3.1 (latest). No elm-format menu options are present in Atom after install. Am I missing something?

I think I had the instructions wrong...  Try this:
cd path/to/atom-elm-format
apm link

Then, in Atom:  View -> Reload

Yes, that worked.  I noted also that you use 'elm-format' as the menu item name and action.  All other items in that list, apparently by convention, use capitalized words.  e.g. 'Elm Format'
Does this repo become obsolete when the next version of Atom Beautify comes out with Elm support?

Closing as I see you updated the instructions on the elm-format repo. Thx.


text:
Enhance Readability of Air Quality Text

Description:

Current Behavior:  The text color for air quality information is difficult to read.

Expected Behavior: The text color or the background of the text should be more user-friendly and easy to read.

Steps to Reproduce:

Open the weather app https://avinash201199.github.io/weather-app/
Search for cities having different air quality.
Notice that it's hard to read for some air quality.

Screenshots:

Suggested Fix:
The background color of the text of air quality should be based on the Air Quality Index (AQI) to provide better visibility and context for different AQI levels.

Good: Green color
Satisfactory: Yellow color
Moderate: Orange color
Unhealthy for Sensitive Groups: Reddish color
Unhealthy: Red color
Very Unhealthy: Purple color
Hazardous: Maroon color

Please assign this issue to me under hacktoberfest'23


text:
Added weight converter

Description
I have created a GUI based weight converter that accepts a kilogram input value and converts that value to Carat, Gram, Ounce, Pound, Quintal and Tonne when the user clicks the Convert button.
I have arranged weight conversions in decreasing order like starting from Carat to Tonne(mentioned above).
Output of the code:

One more feature: It is editable :)
Fixes #740 Weight Converter GUI
Have you read the Contributing Guidelines on Pull Requests?

[x] Yes
[ ] No

Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md
[ ] My documentation follows Template for README.md
[x] My changes generate no new warnings
[x] I have added tests/screenshots(above in description) that prove my feature is effective or that my feature works.

Let me know if it works well so that I can create a README.md file for this.

@santushtisharma10 Kindly review this.

@Kushal997-das

@kaustubhgupta @antrikshmisri @Kushal997-das Kindly review this.

Like this? Should I modify code according to below one?

Like this? Should I modify code according to below one?

correct

@kaustubhgupta I have made suggested changes. Kindly review it.

repo: avinashkranjan/Amazing-Python-Scripts


text:
updated the quantitative results to accurately reflect the performance of SepConv

Thank you for sharing your implementation and contributing to the area of video frame interpolation!
I am the first author of SepConv and am afraid that the quantitative results in the table do not accurately reflect the performance of SepConv. Specifically, they state the results for the version of SepConv that is trained to produce perceptually good results which perform subpar when using them in a quantitative benchmark. As such, I have extended the table with the results for the more appropriate version.
On a side note, I am not a fan of using motion masks for the quantitative benchmark since they ignore possible artifacts in the regions outside the motion masks. Furthermore, the samples for the comparison are only crops from UCF-101 and only have a resolution of 256x256 pixels. As such, a method that performs perfect on this benchmark may perform poorly at more realistic resolutions. Lastly, for some of the examples, the ground truth seems to be either the first or the second frame (like 1, 141, or 271).
Anyways, again huge thanks for contributing to the area of video frame interpolation!

Thank you for merging!

You are right about the motion masks. Maybe I will add a table without using motions masks. But I wanted to give a comparative evaluation using author's method for adobe240fps dataset.

authors: avinashpaliwal sniklaus

repo: avinashpaliwal/Super-SloMo