text:
운영 환경 스키마를 flyway 스크립트에 반영한다.

운영 환경에만 반영되어 있는 내용을 flyway 스크립트에 반영

-- local

create table curriculum
(
    id   bigint auto_increment
        primary key,
    name varchar(45) not null
);

create table default_ability
(
    id          bigint auto_increment
        primary key,
    name        varchar(255) null,
    description varchar(255) null,
    color       varchar(255) null,
    template    varchar(255) null,
    parent_id   bigint       null
);

create table essay_answer
(
    id         bigint auto_increment
        primary key,
    quiz_id    bigint      not null,
    answer     text        not null,
    member_id  bigint      not null,
    created_at datetime(6) not null,
    updated_at datetime(6) not null,
    constraint UK_essay_answer_quiz_id_member_id
        unique (quiz_id, member_id)
);

create table flyway_schema_history
(
    installed_rank int                                 not null
        primary key,
    version        varchar(50)                         null,
    description    varchar(200)                        not null,
    type           varchar(20)                         not null,
    script         varchar(1000)                       not null,
    checksum       int                                 null,
    installed_by   varchar(100)                        not null,
    installed_on   timestamp default CURRENT_TIMESTAMP not null,
    execution_time int                                 not null,
    success        tinyint(1)                          not null
);

create index flyway_schema_history_s_idx
    on flyway_schema_history (success);

create table level
(
    id   bigint auto_increment
        primary key,
    name varchar(45) not null
);

create table member
(
    id            bigint auto_increment
        primary key,
    username      varchar(255) not null,
    nickname      varchar(255) null,
    role          varchar(255) null,
    github_id     bigint       not null,
    image_url     varchar(255) not null,
    profile_intro text         null,
    constraint uc_member_githubid
        unique (github_id),
    constraint uc_member_username
        unique (username)
);

create table ability
(
    id          bigint auto_increment
        primary key,
    color       varchar(255) null,
    description varchar(255) null,
    name        varchar(255) null,
    member_id   bigint       null,
    parent_id   bigint       null,
    constraint FK_ABILITY_MEMBER
        foreign key (member_id) references member (id),
    constraint FK_ABILITY_PARENT
        foreign key (parent_id) references ability (id)
);

create table level_log
(
    id         bigint auto_increment
        primary key,
    member_id  bigint      not null,
    title      varchar(50) not null,
    content    text        not null,
    created_at datetime    not null,
    updated_at datetime    null,
    constraint FK_LEVEL_LOG_MEMBER
        foreign key (member_id) references member (id)
);

create table member_group
(
    id          bigint auto_increment
        primary key,
    name        varchar(50)  not null,
    description varchar(100) not null
);

create table group_member
(
    id        bigint auto_increment
        primary key,
    member_id bigint not null,
    group_id  bigint not null,
    constraint FK_GROUP_MEMBER_ON_MEMBER
        foreign key (member_id) references member (id),
    constraint FK_GROUP_MEMBER_ON_MEMBER_GROUP
        foreign key (group_id) references member_group (id)
);

create table member_tag
(
    id        bigint auto_increment
        primary key,
    member_id bigint not null,
    tag_id    bigint not null,
    count     int    null
);

create table popular_studylog
(
    id          bigint auto_increment
        primary key,
    studylog_id bigint               not null,
    deleted     tinyint(1) default 0 not null,
    created_at  datetime             not null,
    updated_at  datetime             null
);

create table report
(
    id          bigint auto_increment
        primary key,
    description text         null,
    title       varchar(255) null,
    member_id   bigint       not null,
    created_at  timestamp    null,
    updated_at  timestamp    null,
    start_date  date         null,
    end_date    date         null,
    constraint FK_REPORT_MEMBER
        foreign key (member_id) references member (id)
);

create table ability_graph
(
    id        bigint auto_increment
        primary key,
    report_id bigint null,
    constraint FK_ABILITY_GRAPH_REPORT
        foreign key (report_id) references report (id)
);

create table graph_ability
(
    id               bigint auto_increment
        primary key,
    is_present       bit    null,
    weight           bigint not null,
    ability_id       bigint not null,
    ability_graph_id bigint not null,
    constraint FK_GRAPH_ABILITY_ABILITY_GRAPH
        foreign key (ability_graph_id) references ability_graph (id),
    constraint FK_GRAPH_ABILITY_ABILITY_WITH_ON_DELETE_CASCADE
        foreign key (ability_id) references ability (id)
            on delete cascade
);

create table report_ability
(
    id                bigint auto_increment
        primary key,
    color             varchar(255) null,
    description       varchar(255) null,
    name              varchar(255) null,
    origin_ability_id bigint       null,
    weight            int          null,
    parent_id         bigint       null,
    report_id         bigint       null
);

create table report_studylog
(
    id                            bigint auto_increment
        primary key,
    report_id                     bigint       null,
    report_ability_id             bigint       null,
    studylog_id                   bigint       not null,
    report_studylog_ability_name  varchar(255) null,
    report_studylog_ability_color varchar(255) null
);

create table reported_studylog
(
    id          bigint auto_increment
        primary key,
    studylog_id bigint null,
    report_id   bigint not null,
    constraint FK_REPORTED_STUDYLOG_REPORT
        foreign key (report_id) references report (id)
);

create table reported_studylog_ability
(
    id                   bigint auto_increment
        primary key,
    ability_id           bigint not null,
    reported_studylog_id bigint not null,
    constraint FK_REPORTED_STUDYLOG_ABILITY_ABILITY
        foreign key (ability_id) references ability (id),
    constraint FK_REPORTED_STUDYLOG_ABILITY_REPORTED_STUDYLOG
        foreign key (reported_studylog_id) references reported_studylog (id)
);

create table self_discussion
(
    id           bigint auto_increment
        primary key,
    level_log_id bigint       not null,
    question     varchar(255) not null,
    answer       text         not null,
    constraint FK_self_discussion_level_log
        foreign key (level_log_id) references level_log (id)
);

create table session
(
    id            bigint auto_increment
        primary key,
    name          varchar(45) not null,
    curriculum_id bigint      null
);

create table keyword
(
    id          bigint auto_increment
        primary key,
    name        varchar(255) not null,
    description varchar(255) not null,
    seq         int          not null,
    importance  int          not null,
    session_id  bigint       not null,
    parent_id   bigint       null,
    constraint FK_keyword_parent_id
        foreign key (parent_id) references keyword (id),
    constraint FK_keyword_session_id
        foreign key (session_id) references session (id)
);

create table mission
(
    id         bigint auto_increment
        primary key,
    name       varchar(45) not null,
    session_id bigint      null,
    constraint FK_MISSION_ON_SESSION
        foreign key (session_id) references session (id)
);

create table quiz
(
    id         bigint auto_increment
        primary key,
    keyword_id bigint       not null,
    question   varchar(255) not null,
    constraint FK_quiz_keyword_id
        foreign key (keyword_id) references keyword (id)
);

create table session_member
(
    id         bigint auto_increment
        primary key,
    member_id  bigint not null,
    session_id bigint not null,
    constraint FK_SESSION_MEMBER_ON_MEMBER
        foreign key (member_id) references member (id),
    constraint FK_SESSION_MEMBER_ON_SESSION
        foreign key (session_id) references session (id)
);

create table studylog
(
    id         bigint auto_increment
        primary key,
    created_at datetime             not null,
    updated_at datetime             null,
    member_id  bigint               not null,
    mission_id bigint               null,
    title      varchar(50)          not null,
    content    text                 not null,
    views      int        default 0 null,
    deleted    tinyint(1) default 0 null,
    session_id bigint               null,
    constraint FK_POST_ON_MEMBER
        foreign key (member_id) references member (id),
    constraint FK_POST_ON_MISSION
        foreign key (mission_id) references mission (id)
);

create table comment
(
    id          bigint auto_increment
        primary key,
    member_id   bigint               not null,
    studylog_id bigint               not null,
    content     text                 not null,
    is_delete   tinyint(1) default 0 not null,
    created_at  datetime             not null,
    updated_at  datetime             null,
    constraint FK_COMMENT_MEMBER
        foreign key (member_id) references member (id),
    constraint FK_COMMENT_STUDYLOG
        foreign key (studylog_id) references studylog (id)
);

create table likes
(
    id          bigint auto_increment
        primary key,
    member_id   bigint not null,
    studylog_id bigint not null,
    constraint FK_STUDYLOG_ON_POST
        foreign key (studylog_id) references studylog (id)
);

create table studylog_ability
(
    id          bigint auto_increment
        primary key,
    member_id   bigint not null,
    ability_id  bigint not null,
    studylog_id bigint not null
);

create table studylog_read
(
    id          bigint auto_increment
        primary key,
    member_id   bigint not null,
    studylog_id bigint not null,
    constraint FK_STUDYLOG_READ_MEMBER
        foreign key (member_id) references member (id)
            on delete cascade,
    constraint FK_STUDYLOG_READ_STUDYLOG
        foreign key (studylog_id) references studylog (id)
            on delete cascade
);

create table studylog_scrap
(
    id          bigint auto_increment
        primary key,
    member_id   bigint not null,
    studylog_id bigint not null,
    constraint FK_STUDYLOG_SCRAP_MEMBER
        foreign key (member_id) references member (id)
            on delete cascade,
    constraint FK_STUDYLOG_SCRAP_STUDYLOG
        foreign key (studylog_id) references studylog (id)
            on delete cascade
);

create table studylog_temp
(
    id         bigint auto_increment
        primary key,
    member_id  bigint       not null,
    title      varchar(255) null,
    content    varchar(255) null,
    mission_id bigint       null,
    session_id bigint       null,
    constraint FK_STUDYLOG_TEMP_MEMBER
        foreign key (member_id) references member (id)
            on delete cascade,
    constraint FK_STUDYLOG_TEMP_MISSION
        foreign key (mission_id) references mission (id)
            on delete cascade,
    constraint FK_STUDYLOG_TEMP_SESSION
        foreign key (session_id) references session (id)
            on delete cascade
);

create table studylog_temp_ability
(
    id               bigint auto_increment
        primary key,
    member_id        bigint not null,
    ability_id       bigint not null,
    studylog_temp_id bigint not null,
    constraint FK_STUDYLOG_TEMP_ABILITY_ABILITY
        foreign key (ability_id) references ability (id)
            on delete cascade,
    constraint FK_STUDYLOG_TEMP_ABILITY_STUDYLOG_TEMP
        foreign key (studylog_temp_id) references studylog_temp (id)
            on delete cascade
);

create table tag
(
    id   bigint auto_increment
        primary key,
    name varchar(20) not null
);

create table studylog_tag
(
    id          bigint auto_increment
        primary key,
    tag_id      bigint not null,
    studylog_id bigint null,
    constraint FK_POST_TAG_ON_POST
        foreign key (studylog_id) references studylog (id),
    constraint FK_POST_TAG_ON_TAG
        foreign key (tag_id) references tag (id)
);

create table studylog_temp_tag
(
    id               bigint auto_increment
        primary key,
    tag_id           bigint not null,
    studylog_temp_id bigint not null,
    constraint FK_STUDYLOG_TEMP_TAG_STUDYLOG_TEMP
        foreign key (studylog_temp_id) references studylog_temp (id)
            on delete cascade,
    constraint FK_STUDYLOG_TEMP_TAG_TAG
        foreign key (tag_id) references tag (id)
            on delete cascade
);

create table updated_contents
(
    id             bigint auto_increment
        primary key,
    update_content varchar(255) null,
    updated        int          null
);

-- prod

create table curriculum
(
    id   bigint auto_increment
        primary key,
    name varchar(45) not null
);

create table default_ability
(
    id          bigint auto_increment
        primary key,
    name        varchar(255) null,
    description varchar(255) null,
    color       varchar(255) null,
    template    varchar(255) null,
    parent_id   bigint       null
);

create table essay_answer
(
    id         bigint auto_increment
        primary key,
    quiz_id    bigint      not null,
    answer     text        not null,
    member_id  bigint      not null,
    created_at datetime(6) not null,
    updated_at datetime(6) not null
);

create table flyway_schema_history
(
    installed_rank int                                 not null
        primary key,
    version        varchar(50)                         null,
    description    varchar(200)                        not null,
    type           varchar(20)                         not null,
    script         varchar(1000)                       not null,
    checksum       int                                 null,
    installed_by   varchar(100)                        not null,
    installed_on   timestamp default CURRENT_TIMESTAMP not null,
    execution_time int                                 not null,
    success        tinyint(1)                          not null
);

create index flyway_schema_history_s_idx
    on flyway_schema_history (success);

create table level
(
    id   bigint auto_increment
        primary key,
    name varchar(45) not null
);

create table member
(
    id            bigint auto_increment
        primary key,
    username      varchar(255) null,
    nickname      varchar(255) null,
    role          varchar(20)  not null,
    github_id     bigint       not null,
    image_url     varchar(255) not null,
    profile_intro text         null,
    constraint github_id
        unique (github_id)
);

create table ability
(
    id          bigint auto_increment
        primary key,
    color       varchar(255) null,
    description varchar(255) null,
    name        varchar(255) null,
    member_id   bigint       null,
    parent_id   bigint       null,
    constraint FK_ABILITY_MEMBER
        foreign key (member_id) references member (id),
    constraint FK_ABILITY_PARENT
        foreign key (parent_id) references ability (id)
);

create table level_log
(
    id         bigint auto_increment
        primary key,
    member_id  bigint      not null,
    title      varchar(50) not null,
    content    text        not null,
    created_at datetime    not null,
    updated_at datetime    null,
    constraint FK_LEVEL_LOG_MEMBER
        foreign key (member_id) references member (id)
);

create table member_group
(
    id          bigint auto_increment
        primary key,
    name        varchar(50)  not null,
    description varchar(100) not null
);

create table group_member
(
    id        bigint auto_increment
        primary key,
    member_id bigint not null,
    group_id  bigint not null,
    constraint FK_GROUP_MEMBER_ON_MEMBER
        foreign key (member_id) references member (id),
    constraint FK_GROUP_MEMBER_ON_MEMBER_GROUP
        foreign key (group_id) references member_group (id)
);

create table member_tag
(
    id        bigint auto_increment
        primary key,
    member_id bigint not null,
    tag_id    bigint not null,
    count     int    null
);

create table popular_studylog
(
    id          bigint auto_increment
        primary key,
    studylog_id bigint               not null,
    deleted     tinyint(1) default 0 not null,
    created_at  datetime             not null,
    updated_at  datetime             null
);

create table report
(
    id          bigint auto_increment
        primary key,
    description text         null,
    title       varchar(255) null,
    member_id   bigint       not null,
    created_at  timestamp    null,
    updated_at  timestamp    null,
    start_date  date         null,
    end_date    date         null,
    constraint FK_REPORT_MEMBER
        foreign key (member_id) references member (id)
);

create table ability_graph
(
    id        bigint auto_increment
        primary key,
    report_id bigint null,
    constraint FK_ABILITY_GRAPH_REPORT
        foreign key (report_id) references report (id)
);

create table graph_ability
(
    id               bigint auto_increment
        primary key,
    is_present       bit    null,
    weight           bigint not null,
    ability_id       bigint not null,
    ability_graph_id bigint not null,
    constraint FK_GRAPH_ABILITY_ABILITY_GRAPH
        foreign key (ability_graph_id) references ability_graph (id),
    constraint FK_GRAPH_ABILITY_ABILITY_WITH_ON_DELETE_CASCADE
        foreign key (ability_id) references ability (id)
            on delete cascade
);

create table report_ability
(
    id                bigint auto_increment
        primary key,
    color             varchar(255) null,
    description       varchar(255) null,
    name              varchar(255) null,
    origin_ability_id bigint       null,
    weight            int          null,
    parent_id         bigint       null,
    report_id         bigint       null
);

create table report_studylog
(
    id                            bigint auto_increment
        primary key,
    report_id                     bigint       null,
    report_ability_id             bigint       null,
    studylog_id                   bigint       not null,
    report_studylog_ability_name  varchar(255) null,
    report_studylog_ability_color varchar(255) null
);

create table reported_studylog
(
    id          bigint auto_increment
        primary key,
    studylog_id bigint null,
    report_id   bigint not null,
    constraint FK_REPORTED_STUDYLOG_REPORT
        foreign key (report_id) references report (id)
);

create table reported_studylog_ability
(
    id                   bigint auto_increment
        primary key,
    ability_id           bigint not null,
    reported_studylog_id bigint not null,
    constraint FK_REPORTED_STUDYLOG_ABILITY_ABILITY
        foreign key (ability_id) references ability (id),
    constraint FK_REPORTED_STUDYLOG_ABILITY_REPORTED_STUDYLOG
        foreign key (reported_studylog_id) references reported_studylog (id)
);

create table self_discussion
(
    id           bigint auto_increment
        primary key,
    level_log_id bigint       not null,
    question     varchar(255) not null,
    answer       text         not null,
    constraint FK_self_discussion_level_log
        foreign key (level_log_id) references level_log (id)
);

create table session
(
    id            bigint auto_increment
        primary key,
    name          varchar(45) not null,
    curriculum_id bigint      null
);

create table keyword
(
    id          bigint auto_increment
        primary key,
    name        varchar(255) not null,
    description varchar(255) not null,
    seq         int          not null,
    importance  int          not null,
    session_id  bigint       not null,
    parent_id   bigint       null,
    constraint FK_keyword_parent_id
        foreign key (parent_id) references keyword (id),
    constraint FK_keyword_session_id
        foreign key (session_id) references session (id)
);

create table mission
(
    id         bigint auto_increment
        primary key,
    name       varchar(45) not null,
    session_id bigint      null,
    constraint FK_MISSION_ON_SESSION
        foreign key (session_id) references session (id)
);

create table quiz
(
    id         bigint auto_increment
        primary key,
    keyword_id bigint       not null,
    question   varchar(255) not null,
    constraint FK_quiz_keyword_id
        foreign key (keyword_id) references keyword (id)
);

create table session_member
(
    id         bigint auto_increment
        primary key,
    member_id  bigint not null,
    session_id bigint not null,
    constraint FK_SESSION_MEMBER_ON_MEMBER
        foreign key (member_id) references member (id),
    constraint FK_SESSION_MEMBER_ON_SESSION
        foreign key (session_id) references session (id)
);

create table studylog
(
    id         bigint auto_increment
        primary key,
    member_id  bigint                               not null,
    created_at datetime   default CURRENT_TIMESTAMP not null,
    updated_at datetime   default CURRENT_TIMESTAMP not null on update CURRENT_TIMESTAMP,
    title      varchar(50)                          not null,
    content    text                                 not null,
    mission_id bigint                               null,
    views      int        default 0                 null,
    deleted    tinyint(1) default 0                 null,
    session_id bigint                               null
);

create table comment
(
    id          bigint auto_increment
        primary key,
    member_id   bigint               not null,
    studylog_id bigint               not null,
    content     text                 not null,
    is_delete   tinyint(1) default 0 not null,
    created_at  datetime             not null,
    updated_at  datetime             null,
    constraint FK_COMMENT_MEMBER
        foreign key (member_id) references member (id),
    constraint FK_COMMENT_STUDYLOG
        foreign key (studylog_id) references studylog (id)
);

create table likes
(
    id          bigint auto_increment
        primary key,
    member_id   bigint not null,
    studylog_id bigint not null,
    constraint FK_STUDYLOG_ON_POST
        foreign key (studylog_id) references studylog (id)
);

create table studylog_ability
(
    id          bigint auto_increment
        primary key,
    member_id   bigint not null,
    ability_id  bigint not null,
    studylog_id bigint not null
);

create table studylog_read
(
    id          bigint auto_increment
        primary key,
    member_id   bigint not null,
    studylog_id bigint not null,
    constraint FK_STUDYLOG_READ_MEMBER
        foreign key (member_id) references member (id)
            on delete cascade,
    constraint FK_STUDYLOG_READ_STUDYLOG
        foreign key (studylog_id) references studylog (id)
            on delete cascade
);

create table studylog_scrap
(
    id          bigint auto_increment
        primary key,
    member_id   bigint not null,
    studylog_id bigint not null,
    constraint FK_STUDYLOG_SCRAP_MEMBER
        foreign key (member_id) references member (id)
            on delete cascade,
    constraint FK_STUDYLOG_SCRAP_STUDYLOG
        foreign key (studylog_id) references studylog (id)
            on delete cascade
);

create table studylog_temp
(
    id         bigint auto_increment
        primary key,
    member_id  bigint       not null,
    title      varchar(255) null,
    content    varchar(255) null,
    mission_id bigint       null,
    session_id bigint       null,
    constraint FK_STUDYLOG_TEMP_MEMBER
        foreign key (member_id) references member (id)
            on delete cascade,
    constraint FK_STUDYLOG_TEMP_MISSION
        foreign key (mission_id) references mission (id)
            on delete cascade,
    constraint FK_STUDYLOG_TEMP_SESSION
        foreign key (session_id) references session (id)
            on delete cascade
);

create table studylog_temp_ability
(
    id               bigint auto_increment
        primary key,
    member_id        bigint not null,
    ability_id       bigint not null,
    studylog_temp_id bigint not null,
    constraint FK_STUDYLOG_TEMP_ABILITY_ABILITY
        foreign key (ability_id) references ability (id)
            on delete cascade,
    constraint FK_STUDYLOG_TEMP_ABILITY_STUDYLOG_TEMP
        foreign key (studylog_temp_id) references studylog_temp (id)
            on delete cascade
);

create table tag
(
    id   bigint auto_increment
        primary key,
    name varchar(20) not null
);

create table studylog_tag
(
    id          bigint auto_increment
        primary key,
    studylog_id bigint null,
    tag_id      bigint not null,
    constraint post_id
        foreign key (studylog_id) references studylog (id),
    constraint tag_id
        foreign key (tag_id) references tag (id)
);

create table studylog_temp_tag
(
    id               bigint auto_increment
        primary key,
    tag_id           bigint not null,
    studylog_temp_id bigint not null,
    constraint FK_STUDYLOG_TEMP_TAG_STUDYLOG_TEMP
        foreign key (studylog_temp_id) references studylog_temp (id)
            on delete cascade,
    constraint FK_STUDYLOG_TEMP_TAG_TAG
        foreign key (tag_id) references tag (id)
            on delete cascade
);

create table updated_contents
(
    id             bigint auto_increment
        primary key,
    update_content varchar(255) null,
    updated        int          null
);

운영이 아닌 로컬만 반영되어 있는 설정이 있음.
어떤 의도인지 확인해보고 운영에 반영할지 결정 필요
그리고 init.sql 파일 하나로 전체 합칠지 논의 필요.

flyway 이슈 (1192)

local과 prod 중 어떤 기준으로 싱크를 맞추는게 좋을지

로컬 기준으로 맞추기 (프로덕션에 원래는 반영되어야 하는데 안되어있어 확인이 필요)

username, nickname, role not null로, unique는 필요, uk는 기존이력 확인하고 없으면 작업자가 제안해서 진행, varchar(255)를 필요한지 검토한다

FK 다 제거하는걸로, default timestamp, views -> bigint로, datetime(6) (정책 맞추기), default가 있으면 not null로 하기, 인덱스 추가 고려

FK 다 제거하는걸로, not null로

운영에 적용되어 있었음. idea로 추출한 스크립트에는 유니크 키 설정이 나오지 않아 적용되지 않은 걸로 파악했었음

dev, prod 다시 비교해보니 3개 테이블이 다름

-- member
-- dev
create table member
(
    id            bigint auto_increment
        primary key,
    username      varchar(255) not null,
    nickname      varchar(255) null,
    role          varchar(255) null,
    github_id     bigint       not null,
    image_url     varchar(255) not null,
    profile_intro text         null,
    constraint uc_member_githubid
        unique (github_id),
    constraint uc_member_username
        unique (username)
);

-- prod
create table member
(
    id            bigint auto_increment
        primary key,
    username      varchar(255) null,
    nickname      varchar(255) null,
    role          varchar(20)  not null,
    github_id     bigint       not null,
    image_url     varchar(255) not null,
    profile_intro text         null,
    constraint github_id
        unique (github_id)
);

-- studylog
-- dev
create table studylog
(
    id         bigint auto_increment
        primary key,
    created_at datetime             not null,
    updated_at datetime             null,
    member_id  bigint               not null,
    mission_id bigint               null,
    title      varchar(50)          not null,
    content    text                 not null,
    views      int        default 0 null,
    deleted    tinyint(1) default 0 null,
    session_id bigint               null,
    constraint FK_POST_ON_MEMBER
        foreign key (member_id) references member (id),
    constraint FK_POST_ON_MISSION
        foreign key (mission_id) references mission (id)
);

-- prod
create table studylog
(
    id         bigint auto_increment
        primary key,
    member_id  bigint                               not null,
    created_at datetime   default CURRENT_TIMESTAMP not null,
    updated_at datetime   default CURRENT_TIMESTAMP not null on update CURRENT_TIMESTAMP,
    title      varchar(50)                          not null,
    content    text                                 not null,
    mission_id bigint                               null,
    views      int        default 0                 null,
    deleted    tinyint(1) default 0                 null,
    session_id bigint                               null
);

-- studylog_tag
-- dev
create table studylog_tag
(
    id          bigint auto_increment
        primary key,
    tag_id      bigint not null,
    studylog_id bigint null,
    constraint FK_POST_TAG_ON_POST
        foreign key (studylog_id) references studylog (id),
    constraint FK_POST_TAG_ON_TAG
        foreign key (tag_id) references tag (id)
);

-- prod
create table studylog_tag
(
    id          bigint auto_increment
        primary key,
    studylog_id bigint null,
    tag_id      bigint not null,
    constraint post_id
        foreign key (studylog_id) references studylog (id),
    constraint tag_id
        foreign key (tag_id) references tag (id)
);

-- studylog
-- dev
create table studylog
(
    id         bigint auto_increment
        primary key,
    created_at datetime             not null,
    updated_at datetime             null,
    member_id  bigint               not null,
    mission_id bigint               null,
    title      varchar(50)          not null,
    content    text                 not null,
    views      int        default 0 null,
    deleted    tinyint(1) default 0 null,
    session_id bigint               null,
    constraint FK_POST_ON_MEMBER
        foreign key (member_id) references member (id),
    constraint FK_POST_ON_MISSION
        foreign key (mission_id) references mission (id)
);

-- prod
create table studylog
(
    id         bigint auto_increment
        primary key,
    member_id  bigint                               not null,
    created_at datetime   default CURRENT_TIMESTAMP not null,
    updated_at datetime   default CURRENT_TIMESTAMP not null on update CURRENT_TIMESTAMP,
    title      varchar(50)                          not null,
    content    text                                 not null,
    mission_id bigint                               null,
    views      int        default 0                 null,
    deleted    tinyint(1) default 0                 null,
    session_id bigint                               null
);

-- studylog_tag
-- dev
create table studylog_tag
(
    id          bigint auto_increment
        primary key,
    tag_id      bigint not null,
    studylog_id bigint null,
    constraint FK_POST_TAG_ON_POST
        foreign key (studylog_id) references studylog (id),
    constraint FK_POST_TAG_ON_TAG
        foreign key (tag_id) references tag (id)
);

-- prod
create table studylog_tag
(
    id          bigint auto_increment
        primary key,
    studylog_id bigint null,
    tag_id      bigint not null,
    constraint post_id
        foreign key (studylog_id) references studylog (id),
    constraint tag_id
        foreign key (tag_id) references tag (id)
);

authors: gracefulBrown kang-hyungu

repo: woowacourse/prolog


text:
🛑 Wouter Planet Cloud is down

In 53e02cd, Wouter Planet Cloud (https://cloud.wouterplanet.com) was down:

HTTP code: 523
Response time: 3340 ms

Resolved: Wouter Planet Cloud is back up in c56631f.

source: gharchive/issue

repo: wouterplanet/monitoring

license: MIT

license_type: permissive

license_source: github-api


text:
Add Chinese translations

I changed the Chinese translations in zh.yaml a lot: I add and change some items. I also add the notes which are in the English files and their translations.

What is the improvement that you have made to the existing translations? Were the previous translations formal and your changes are to make them less formal?
Perhaps you can invite some other Chinese speaking Github users to help review this PR?
谢谢

What is the improvement that you have made to the existing translations? Were the previous translations formal and your changes are to make them less formal?
Perhaps you can invite some other Chinese speaking Github users to help review this PR?
谢谢

I speak Chinese, and I'm willing to assist.

What is the improvement that you have made to the existing translations? Were the previous translations formal and your changes are to make them less formal?
Perhaps you can invite some other Chinese speaking Github users to help review this PR?
谢谢

I speak Chinese, and I'm willing to assist.

That's good, thanks.

This PR is stale because it has not had any recent activity. The resources of the project maintainers are limited, and so we are asking for your help.
If you feel that the PR is still relevant in the latest release, consider making the PR easier to review and finding developers to help review the PR.
Please be mindful that although we encourage PRs, we cannot expand the scope of the project in every possible direction. There will be requests that don't make the roadmap.
This PR will automatically close soon if no further activity occurs. Thank you for your contributions.

Hold on, I will manage to review this PR in the next week.

source: gharchive/pull-request

authors: IceCodeNew Xu-Xihe gcushen

repo: wowchemy/wowchemy-hugo-themes


text:
fix: exclude PNG from lossy webp compression

Purpose
Hugo uses a lossy compression when WebP is specified. That makes PNG
images such as a screenshot blurry.
$ identify content/post/.../myimage.png
-> PNG 738x607 738x607+0+0 8-bit sRGB 118157B 0.000u 0:00.000

$ webpinfo docs/post/.../myimage_..._1200x1200_fit_q75_h2_lanczos_3.webp \
    | egrep 'Height:|Width:|Format:'
->
  Width: 738
  Height: 607
  Format: Lossy (1)

Exclude those PNGs from a conversion and use the original lossless files
as is alongside of SVG or GIF.

PNG is converted by Hugo to WEBP on purpose by popular user request and Google (Lighthouse) recommendation.
If you want control over the WEBP algo or parameters, consider submitting an issue or PR on the Hugo repo.

authors: gcushen nobuto-m


text:
Some DK stuff

[deathknight] commented actually used SpellID and bonus damage values for ToT-abilities (which only affects Death Strike), simplified threatOfThassarianProcMasks(), and used threatOfThassarianProc() throughout
[deathknight] fixed Heart Strike using Rank 1 instead of Rank 6, and fixed Plague Strike to use the Vicious Strikes bonus crit damage
[deathknight] refactored various crit multiplier functions into one (bonusCritMultiplier()), and replaced all default multipliers with - well - DefaultMeleeCritMultiplier(); since RuneWeapon was handled inconsistently, it just gets default multipliers now

I've added the OH strikes spellIDs, as that's where the flat damage numbers come from.

repo: wowsims/wotlk


text:
Add note about closures capturing their surrounding scope by reference

We had a discussion on Discord related to this commit that was sparked by clsource. They provided the following code:
var printNumbers = Fn.new {
    var numbersToPrint = []
    var i = 0
    while (i < 10) {
        numbersToPrint.add(Fn.new {
            System.print(i)
        })
        i = i + 1
    }

    return numbersToPrint
}

var numbers = printNumbers.call()

// Prints only 10
numbers.each {|fn| fn.call()}

Which (rather surprisingly) only prints 10. To get the expected behavior, you need to copy the variable i in each iteration and use the copied variable in the closure. This patch adds a note in the documentation so that new users aren't surprised by this.

In the program comment, I suspect you meant to say that it "Prints ten 10's", one for each function called.
I don't think this behavior will surprise people who've used closures in other languages but I agree that it's a good idea to document it anyway.

repo: wren-lang/wren


text:
Does the exporter support https query?

and more, will the exporter supports access control later? seems anyone can access the metrics url withouth user authentication?

This is considered out of scope for the exporter. I solve this problem with a separate exporter which handles this type of proxying - https://github.com/wrouesnel/reverse_exporter
Another way is to use nginx. In both cases, if you need to secure the exporter generally then you need a much more significant design which it's not practical to support in every exporter.


text:
added Meta and viewport

Hello there,
I am added a viewport and Meta data in the Head section.

These meta tags aren't needed on the options page. Thanks for contributing!

repo: wseagar/eight-dollars


text:
Adding hidden files

This PR is adding the hidden files missing for the required apk config extension build.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.chanaka3d seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


text:
[Registry Resource] Add ability to remove resources

Description:
There is no clean way to remove registry resources from "Registry Resource Editor"

Workaround: manually remove from artifact.xml


text:
Error when logging out of publisher UI

Description:
When logging out from publisher UI page loading failed and the following exception was seen in the logs
TID: [-1234] [publisher] [2021-03-04 15:14:07,084] ERROR {org.jaggeryjs.jaggery.core.manager.WebAppManager} - org.mozilla.javascript.EcmaError: TypeError: Cannot read property "value" from null (/publisher/servi
ces/logout/logout.jag#27) org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.EcmaError: TypeError: Cannot read property "value" from null (/publisher/services/logout/logout.jag#27)
        at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:587)
        at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:289)
        at org.jaggeryjs.jaggery.core.manager.WebAppManager.exec(WebAppManager.java:589)
        at org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:508)
        at org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:352)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
        at org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:76)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.wso2.carbon.ui.filters.cache.ContentTypeBasedCachePreventionFilter.doFilter(ContentTypeBasedCachePreventionFilter.java:53)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
        at org.wso2.carbon.identity.context.rewrite.valve.TenantContextRewriteValve.invoke(TenantContextRewriteValve.java:107)
        at org.wso2.carbon.identity.authz.valve.AuthorizationValve.invoke(AuthorizationValve.java:110)
        at org.wso2.carbon.identity.auth.valve.AuthenticationValve.invoke(AuthenticationValve.java:102)
        at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
        at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
        at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
        at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:145)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
        at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
        at org.wso2.carbon.tomcat.ext.valves.RequestCorrelationIdValve.invoke(RequestCorrelationIdValve.java:126)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot read property "value" from null (/publisher/services/logout/logout.jag#27)
        at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3687)
        at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3665)
        at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3693)
        at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3712)
        at org.mozilla.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:3725)
        at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1483)
        at org.jaggeryjs.rhino.publisher.services.logout.c0._c_script_0(/publisher/services/logout/logout.jag:27)
        at org.jaggeryjs.rhino.publisher.services.logout.c0.call(/publisher/services/logout/logout.jag)
        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
        at org.jaggeryjs.rhino.publisher.services.logout.c0.call(/publisher/services/logout/logout.jag)
        at org.jaggeryjs.rhino.publisher.services.logout.c0.exec(/publisher/services/logout/logout.jag)
        at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:583)
        ... 50 more

I tried this in the latest build, but couldn't reproduce the issue, @uvindra  Did you logged in with the admin user or a different user?
Can you please provide steps to reproduce this isssue

Could reproduce this when we clicked logout after the token is expired (one hour after login)

Could reproduce this when we clicked logout after the token is expired (one hour after login)

I could reproduce this in APIM-3.2.0 as well

authors: Krishanx92 malinthaprasan tmkasun uvindra


text:
NPE when undeploying revisions

Description:
If one gateway is subscribed to more than one label and an API revision is published to both of these labels, during the undeploy path, if we undeploy one gateway after another, last gateway undeployment will produce a Null pointer exception as below.
[2021-03-08 10:24:05,850] ERROR - NativeWorkerPool Uncaught exception
java.lang.NullPointerException: null
	at org.wso2.carbon.apimgt.keymgt.model.impl.SubscriptionDataStoreImpl.removeAPI_aroundBody48(SubscriptionDataStoreImpl.java:597) ~[org.wso2.carbon.apimgt.keymgt_9.0.5.jar:?]
	at org.wso2.carbon.apimgt.keymgt.model.impl.SubscriptionDataStoreImpl.removeAPI(SubscriptionDataStoreImpl.java:596) ~[org.wso2.carbon.apimgt.keymgt_9.0.5.jar:?]
	at org.wso2.carbon.apimgt.keymgt.model.impl.SubscriptionDataStoreImpl.addOrUpdateAPIRevisionWithUrlTemplates_aroundBody80(SubscriptionDataStoreImpl.java:722) ~[org.wso2.carbon.apimgt.keymgt_9.0.5.jar:?]
	at org.wso2.carbon.apimgt.keymgt.model.impl.SubscriptionDataStoreImpl.addOrUpdateAPIRevisionWithUrlTemplates(SubscriptionDataStoreImpl.java:714) ~[org.wso2.carbon.apimgt.keymgt_9.0.5.jar:?]
	at org.wso2.carbon.apimgt.keymgt.service.KeyManagerDataServiceImpl.updateDeployedAPIRevision_aroundBody46(KeyManagerDataServiceImpl.java:455) ~[org.wso2.carbon.apimgt.keymgt_9.0.5.jar:?]
	at org.wso2.carbon.apimgt.keymgt.service.KeyManagerDataServiceImpl.updateDeployedAPIRevision(KeyManagerDataServiceImpl.java:443) ~[org.wso2.carbon.apimgt.keymgt_9.0.5.jar:?]
	at org.wso2.carbon.apimgt.gateway.listeners.GatewayJMSMessageListener.handleNotificationMessage_aroundBody2(GatewayJMSMessageListener.java:131) ~[org.wso2.carbon.apimgt.gateway_9.0.5.jar:?]
	at org.wso2.carbon.apimgt.gateway.listeners.GatewayJMSMessageListener.handleNotificationMessage(GatewayJMSMessageListener.java:118) ~[org.wso2.carbon.apimgt.gateway_9.0.5.jar:?]
	at org.wso2.carbon.apimgt.gateway.listeners.GatewayJMSMessageListener.onMessage_aroundBody0(GatewayJMSMessageListener.java:93) ~[org.wso2.carbon.apimgt.gateway_9.0.5.jar:?]
	at org.wso2.carbon.apimgt.gateway.listeners.GatewayJMSMessageListener.onMessage(GatewayJMSMessageListener.java:69) ~[org.wso2.carbon.apimgt.gateway_9.0.5.jar:?]
	at org.wso2.carbon.apimgt.jms.listener.utils.JMSTaskManager$MessageListenerTask.handleMessage(JMSTaskManager.java:645) ~[org.wso2.carbon.apimgt.jms.listener_9.0.5.jar:?]
	at org.wso2.carbon.apimgt.jms.listener.utils.JMSTaskManager$MessageListenerTask.run(JMSTaskManager.java:544) ~[org.wso2.carbon.apimgt.jms.listener_9.0.5.jar:?]
	at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) [axis2_1.6.1.wso2v41.jar:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_201]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_201]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_201]

Steps to reproduce:

Subscribe to more than one gateway label for an gateway.
Deploy the gateway in both of these labels
Undeploy one by one.

Affected Product Version:
4.0.0-alpha

possible fix and https://github.com/wso2/carbon-apimgt/commit/1d0bb8de0f8880cc3601e68ad8b86b5ccdb09b4c
couldn't reproduce in the latest


text:
Introduce a configuration to disable API publisher Walkthrough.

Description:
Currently, there isn't any configuration to disable API publisher walkthrough. There should be an option to disable publisher walkthrough if necessary.
Suggested Labels:
Improvement
Suggested Assignees:
mushthaq@wso2.com
Affected Product Version:
APIM 2.1.0
OS, DB, other environment details and versions:
Steps to reproduce:
N/A

This will be tracked in #1832. Hence resolving this issue considering this as a duplicate.

authors: Sewmi tgtshanika


text:
Configuring Single Sign-on with OpenID Connect:Unexpected token at position 0

I am using WSO2 Identity Server  and APIM. I am using Single Sign on for  APIM-store
reference "https://docs.wso2.com/display/AM250/Configuring+Single+Sign-on+with+OpenID+Connect".
Affected version : Identity-Server- 5.3.0
API Manager: 2.1.0
I'm able to redirect to Identity server page when accessing API-store. After entering credentials it asks for credentials and permission . After granting permission it gives 500 :The Page cannot be displayed.

Logs at APIM side:
ERROR {org.jaggeryjs.jaggery.core.manager.WebAppManager} -  org.mozilla.javascript.WrappedException: Wrapped java.text.ParseException: Invalid JSON: Unexpected token  at position 0. (/store/jagg/jaggery_oidc_acs.jag#36) {org.jaggeryjs.jaggery.core.manager.WebAppManager} org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.WrappedException: Wrapped java.text.ParseException: Invalid JSON: Unexpected token  at position 0. (/store/jagg/jaggery_oidc_acs.jag#36)         at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571)         at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)         at org.jaggeryjs.jaggery.core.manager.WebAppManager.exec(WebAppManager.java:588)         at org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:508)         at org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:747)         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485)         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:377)
I have also made Claim configuration as mentioned below

invalid issue due to ui revamp


text:
Security vulnerabilities in WSO2 Identity Server v5.11.0

Describe the issue:
Security vulnerability scanning tools are reporting following findings against WSO2 IS v5.11.0.
The purpose of this ticket is to help tracking in which WSO2 IS release each of these vulnerabilities will be fixed by upgrading the relevant packages.
log4j:

CVE-2021-44228
CVE-2021-45105
CVE-2021-45046
CVE-2019-17571
CVE-2022-23307
CVE-2022-23305
CVE-2022-23302

spring-core_spring-core
CVE-2020-5398 spring-core_spring-core 5.1.1 fixed in 5.2.3, 5.1.13, 5.0.16
CVE-2018-15801 spring-core_spring-core 5.1.1 fixed in 5.1.2
CVE-2020-5398 spring-core_spring-core 5.1.1 fixed in 5.2.3, 5.1.13, 5.0.16
org.eclipse.jetty_jetty-io
CVE-2017-9735 org.eclipse.jetty_jetty-io 8.1.15.v20140411 fixed in 9.4.6.v20170531, 9.3.20.v20170531, 9.2.22.v20170606
CVE-2017-7658 org.eclipse.jetty_jetty-io 8.1.15.v20140411 fixed in 9.4.11, 9.3.24
CVE-2017-7657 org.eclipse.jetty_jetty-io 8.1.15.v20140411 fixed in 9.4.11, 9.3.24
CVE-2017-7656 org.eclipse.jetty_jetty-io 8.1.15.v20140411 fixed in 9.4.11, 9.3.24
com.fasterxml.jackson.core_jackson-databind
CVE-2019-20330 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.2
CVE-2019-17531 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.1, 2.8.11.5, 2.6.7.3
CVE-2019-17267 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10
CVE-2021-20190 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.7
CVE-2019-16943 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.1, 2.8.11.5, 2.6.7.3
CVE-2019-16942 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.1, 2.8.11.5, 2.6.7.3
CVE-2020-9548 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.4
CVE-2020-9547 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.4
CVE-2020-9546 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.4
CVE-2020-8840 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.3, 2.8.11.5, 2.7.9.7
CVE-2020-36189 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.8
CVE-2020-36188 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.8
CVE-2020-36187 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.8
CVE-2020-36186 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.8
CVE-2020-36185 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.8
CVE-2020-36184 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.8
CVE-2020-36183 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.8
CVE-2020-36182 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.8
CVE-2020-36181 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.8
CVE-2020-36180 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.8
CVE-2020-36179 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.8
CVE-2020-35728 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.8
CVE-2020-35491 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.8
CVE-2020-35490 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.8
CVE-2019-16335 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10
CVE-2020-25649 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.10.5.1, 2.9.10.7, 2.6.7.4
CVE-2020-24750 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.6
CVE-2020-24616 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.6
CVE-2020-14195 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.5
CVE-2020-14062 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.5
CVE-2020-14061 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.5
CVE-2020-14060 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.5
CVE-2020-11620 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.4
CVE-2020-11619 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.4
CVE-2020-11113 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.4
CVE-2020-11112 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.4
CVE-2020-11111 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.4
CVE-2020-10969 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.4
CVE-2020-10968 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.4
CVE-2020-10673 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.4
CVE-2020-10672 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10.4
CVE-2019-14540 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10
CVE-2019-14892 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.9.10, 2.8.11.5, 2.6.7.3
CVE-2019-14893 com.fasterxml.jackson.core_jackson-databind 2.9.9.2 fixed in 2.10.0, 2.9.10
CVE-2020-25649 com.fasterxml.jackson.core_jackson-databind 2.10.5 fixed in 2.10.5.1, 2.9.10.7, 2.6.7.4
CVE-2020-35491 com.fasterxml.jackson.core_jackson-databind 2.3.3 fixed in 2.9.10.8
CVE-2020-35490 com.fasterxml.jackson.core_jackson-databind 2.3.3 fixed in 2.9.10.8
CVE-2018-7489 com.fasterxml.jackson.core_jackson-databind 2.3.3 fixed in 2.9.5, 2.8.11.1, 2.7.9.3
com.hazelcast_hazelcast
PRISMA-2021-0178 com.hazelcast_hazelcast 3.12.2 fixed in 3.12.2-visa
org.jsoup_jsoup
CVE-2021-37714 org.jsoup_jsoup 1.10.3 fixed in 1.14.2
org.yaml_snakeyaml
CVE-2017-18640 org.yaml_snakeyaml 1.23 fixed in 1.26
net.minidev_json-smart
CVE-2021-27568 net.minidev_json-smart 2.3 fixed in 1.3.2, 2.3.1, 2.4.1
com.fasterxml.jackson.dataformat_jackson-dataformat-cbor
CVE-2020-28491 com.fasterxml.jackson.dataformat_jackson-dataformat-cbor 2.10.5 fixed in 2.11.4,  2.12.1
org.apache.cxf_cxf-core
CVE-2021-30468 org.apache.cxf_cxf-core 3.3.7 fixed in 3.4.4, 3.3.11
CVE-2021-22696 org.apache.cxf_cxf-core 3.3.7 fixed in 3.4.3, 3.3.10
CVE-2021-30468 org.apache.cxf_cxf-core 3.3.6 fixed in 3.4.4, 3.3.11
CVE-2021-22696 org.apache.cxf_cxf-core 3.3.6 fixed in 3.4.3, 3.3.10
How to reproduce:

Expected behavior:

Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: IS 5.11.0
OS: Linux

Optional Fields
Related issues:

Suggested labels:

Hi @JukkaOravasaari for these type issues please send an email to security@wso2.com

Thanks @[nilasini]. I have contacted security@wso2.com.

Hi @JukkaOravasaari,
Thank you for reporting these vulnerabilities. Please note we already identified most of the mentioned vulnerabilities (Specially log4j related vulnerabilities), fixed them on our support branch, and delivered the patches through our update management tools. Currently, these fixes are limited to our subscription holders only. However, we have published the solutions for all the true-positive issues on [1] for community users. We will confirm whether we have analyzed all the mentioned CVEs. If we see any dispute, we will update you.
[1] https://docs.wso2.com/display/Security/
Best Regards,
Anshajanth

Since it is a security issue, Let's shift into internal thread. @nilasini as we are switching to internal thread, we can close this issue.

authors: JukkaOravasaari anjai94 nilasini


text:
[Remote Log Publishing] UI issue in Audit Logs and Carbon logs forms.

Describe the issue:
Once the specific form field is clicked the value will be added to the other form as well.
https://github.com/wso2/product-is/assets/41188245/0edbc89d-b96f-4142-9766-a3c91ab4301e
How to reproduce:

Redirect to Server
Configure audit logs
navigate to the Carbon logs form and find the values visible in that form as well.

Expected behavior:
only the changed form should have the values.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: IS 7.0.0 beta5 snapshot (5011 Pack- 08th Jan )
OS: Mac
Database: MySQL
Userstore: [e.g., LDAP, JDBC]

Optional Fields
Related issues:

Suggested labels:

The /remote-login endpoint's response should consist of object with AUDIT log type. We are getting only CARBON log type object. cc - @bhagyasakalanka

Fixed with https://github.com/wso2/identity-apps/pull/5183

authors: brionmario melanisilva savindi7


text:
Claim Handling is not successfult with javascript based Conditional Authentication

Use following script to reproduce this issue.
function onInitialRequest (context) {
   executeStep({id :'1',
       on : {
           success : function(context) {
               Log.info('First Authentication success');
               var fName = context.subject.claims.local['http://wso2.org/claims/givenname'];
               var lName = context.subject.claims.local['http://wso2.org/claims/lastname'];
               var displayName = fName + ' '+ lName + ' by Javascript';
               var newClaim = {'local' : {}, 'remote': {}};
               newClaim.remote.uri = 'http://your.domain.some/claims/displayName';
               newClaim.local.uri = 'http://wso2.org/claims/displayName';
               newClaim.value = displayName;

               Log.info('Display Name: '+displayName);
               context.subject.claims.push(newClaim)
           }
       }
   });
}

This will getting invoked in pre authentication, where the user attributes are not set in the authentication context. Hence the retrieving claim values from the authentication context, in the javascript level, are null.

Hi @IndunilRathnayake ,
We no longer support the context.subject. We need to use the "context.steps[].subject" instead, where  is the step number. So your script can now be simplified as,
var subject = context.steps[1].subject;
var fName = subject.localClaims['http://wso2.org/claims/givenname'];
var lName = subject.localClaims['http://wso2.org/claims/lastname'];
var displayName = fName + ' '+ lName + ' by Javascript';
subject.localClaims['http://wso2.org/claims/displayName'] = displayName;


text:
Create OAuth application using management console broken in the latest WUM updated pack

Pack: IS 5.5.0 as Key Manager WUM updated pack (Timestamp: 1530271598324)
Steps to reproduce:

Create a Service Provider
Configure OAuth2/OIDC inbound authentication

Application creation fails with an error,

If you try to retry, then it also fails with an error,
[2018-07-03 16:07:08,875] ERROR {org.wso2.carbon.identity.oauth.OAuthUtil} -  Error when adding the application. An application with the same name already exists.
This means the application that was created initially was done partially or was not rolled back properly.
Tried creating the App using dynamic client registration endpoint. It worked fine.

Closing as this is not reproducible in latest builds


text:
[Config] Template "MultipleAttributeEnable" in user-mgt.xml

Following property has not been templated in the user-mgt.xml.
<Property name="MultipleAttributeEnable">true</Property>

we can add any properties to user-mgt.xml by only specifying the properties in deployment.toml would be fine because the user-mgt.xml.j2 is a loop with properties.
To enable multiple attributes you should add below property to deployment.toml under [user_store]
properties.MultipleAttributeEnable = true
Created a doc issue to add this.

authors: JKAUSHALYA nilasini


text:
How to return to service provider

Hi! I am following the DemoFaceIdAuthenticator. My authenticator work like this: I do not have a webpage where I authenticate, but I receive a certificate in the header and I have to check on a ldap if it is ok or not. The problem is that I don't know how to correctly return to my original service provider page.
I have created an Authenticator with initiateAuthenticationRequest and processAuthenticationResponse. In the initiateAuthenticationRequest I immediatly call the processAuthenticationResponse as I don't have to redirect to another page. In processAuthenticationResponse  I check the certificate/username, I put
context.setSubject(authenticatedUser);
AuthenticatorFlowStatus status = AuthenticatorFlowStatus.SUCCESS_COMPLETED;

but it doesnt redirect.
Should I do something else?

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


text:
UserMgtAuditLogger & UserSessionTerminationListener is having same ExecutionOrderId

Description:
Both UserOperationEventListeners called UserMgtAuditLogger & UserSessionTerminationListener have not overridden the "getExecutionOrderId()" method. Hence, both get ExecutionOrderId of "0" from super class AbstractUserOperationEventListener. The orderID configured in identity.xml is also not taken into account due the same reason.
Then, two listerns having having the same order ID and one gets overridden by other.
Affected Product Version:
IS 5.2.0
[1] https://github.com/wso2/carbon-identity-framework/blob/master/components/identity-mgt/org.wso2.carbon.identity.mgt/src/main/java/org/wso2/carbon/identity/mgt/listener/UserSessionTerminationListener.java
[2] https://github.com/wso2/carbon-identity-framework/blob/master/components/user-mgt/org.wso2.carbon.user.mgt/src/main/java/org/wso2/carbon/user/mgt/listeners/UserMgtAuditLogger.java

Related: https://github.com/wso2/product-is/issues/2916


text:
Bump inbound auth oauth version

$suject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/2289925463

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/2289925463
Status: success

authors: ChanikaRuchini jenkins-is-staging


text:
Fix source order and formatting in symbol list.

The name "DejaVu Math TeX Gyre" was not rendered correctly (it had no spaces).

oops, thanks :)

authors: pthariensflame wspr

repo: wspr/unicode-math


text:
Tire pressure

I've the integration working good for my Jeep for over a year. Since some time, I cannot get anymore tires data: pressure reports null in home assistant. All other values are ok.
Does anyone have this problem?

Working for me with my Wagoneer. I've created a new fork allowing for Remote Start and other features aswell: https://github.com/Blueion76/FCAUconnect-HA


text:
Slack加入链接已经失效

我会通过别的方式为这个项目做贡献，中国加油

https://join.slack.com/t/wuhan2020/shared_invite/enQtOTI2NTU1NzU3MTM2LWQ1YjIzMDllYjYzYTE1OTNhMWU4OTZkOGYzOGJhOWM2MzdlMjgwMmZiOWEzYTQwNmJkZDI4OWRmM2Q2ZDM1MTc

这个链接应该是OK的

这个链接应该是OK的
我刚刚尝试了一下，这个链接依然是失效的

Hi @dzy-monkey 你可以具体描述一下吗？

这个链接应该是OK的

非常感谢

这个链接应该是OK的

非常感谢

OK了是吗？

嗨@ dzy-monkey你可以具体描述一下吗？比方说是链接直接显示invalid还是有其他的问题
是的，我已经加入了

authors: GindaChen dzy-monkey


text:
能否考虑加一个PHP的支持？

现在HTML的源码都没多少好的了，而PHP则是各种各样的源码茫茫多，而且效果也非常不错，我自己尝试装了个PHP然后看了好多教程然而依然没办法调用，所以请问作者可否做一个带PHP的版本，甚至是MYSQL的版本，这样甚至能直接做一个可以用的网站了。

脚本是提供方便的
当然 自己安装也没什么问题
不过 既然入了这个坑 还是渔好一点
不是吗


text:
SSL证书生成失败 增加SSL证书申请提供商或者在脚本中提供自行导入证书的选项

感谢你向 Xray_onekey 提交 issue！

在提交之前，请确认：

[ ] 如果你可以自己 debug 并解决的话，提交 PR 吧！
[x] 我已经在 issues 中找过我要提出的问题；
[x] 我已经使用最新版本的脚本测试过，问题依旧存在；
[x] 我已经仔细看过脚本报错提示并无法自行解决问题。

请注意，如果你没有遵照此 Issue Template 填写内容，我们将看心情关闭这个 issue。

服务运行情况
请运行命令 service xray status 并粘贴输出：
● xray.service - Xray Service
Loaded: loaded (/etc/systemd/system/xray.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/xray.service.d
└─10-donot_touch_single_conf.conf
Active: active (running) since Mon 2022-02-14 13:47:09 CST; 14min ago
Docs: https://github.com/xtls
Main PID: 98857 (xray)
Tasks: 6 (limit: 1075)
Memory: 3.2M
CGroup: /system.slice/xray.service
└─98857 /usr/local/bin/xray run -config /usr/local/etc/xray/config.json
Feb 14 13:47:09 C20211201004697 systemd[1]: Started Xray Service.
Feb 14 13:47:09 C20211201004697 xray[98857]: Xray 1.5.3 (Xray, Penetrates Everything.) Custom (go1.17.6 linux/amd64)
Feb 14 13:47:09 C20211201004697 xray[98857]: A unified platform for anti-censorship.
Feb 14 13:47:09 C20211201004697 xray[98857]: 2022/02/14 13:47:09 [Info] infra/conf/serial: Reading config: /usr/local/etc/xray/co>
Feb 14 13:47:09 C20211201004697 xray[98857]: 2022/02/14 13:47:09 [Warning] core: Xray 1.5.3 started
请运行命令 `service nginx status` 并粘贴输出：

● nginx.service - nginx - high performance web server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2022-02-14 13:47:31 CST; 14min ago
Docs: https://nginx.org/en/docs/
Process: 99947 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=0/SUCCESS)
Main PID: 99948 (nginx)
Tasks: 2 (limit: 1075)
Memory: 1.8M
CGroup: /system.slice/nginx.service
├─99948 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
└─99949 nginx: worker process
Feb 14 13:47:31 C20211201004697 systemd[1]: Starting nginx - high performance web server...
Feb 14 13:47:31 C20211201004697 systemd[1]: nginx.service: Can't open PID file /run/nginx.pid (yet?) after start: Operation not p>
Feb 14 13:47:31 C20211201004697 systemd[1]: Started nginx - high performance web server.
lines 1-15/15 (END)

### 环境 Environment

* 服务器提供商及服务器操作系统
PacificRack Ubuntu20.04
* 是否全新安装
否
* 如果不是全新安装，有无安装其他软件（宝塔，Nginx等）
宝塔
* 其他可以补充的信息
……

### 说明 Description

<!--
请详细、清晰地表达你要提出的论述，例如这个问题如何影响到你？你想实现什么功能？
-->

脚本安装过程中报错SSL证书申请失败

### 重现问题的具体步骤

1. 运行一键脚本
2. 一键安装V2ray
3. 申请SSL证书时报错SSL证书申请失败，提示证书申请次数过多

**我预期会发生……？**
<!-- **Expected behavior:** [What you expected to happen] -->
一键脚本提示安装成功

**实际上发生了什么？**
<!-- **Actual behavior:** [What actually happened] -->
脚本报错SSL证书申请失败，增加SSL证书申请提供商或者在脚本中提供自行导入证书的选项

### 可能的解决方案 Possible Solution
<!-- 此项非必须，但是如果你有想法的话欢迎提出。 -->
增加SSL证书申请提供商或者在脚本中提供自行导入证书的选项。Let'sEncrypt证书申请不仅有短时间申请限制而且被各种脚本广泛使用，这对于短时间内尝试过不同脚本的用户极不友好。希望增加SSL证书的提供商让用户自行选择，或者干脆允许用户自行导入证书。既解决了证书申请限制次数问题，同时也提高了安全性。Let'sEncrypt证书在近几个月特殊时期已经有被GFW针对的迹象，增强证书的灵活性也有助于减少机场被墙概率。

### 更多信息 More Information
脚本详细报错
[Mon 14 Feb 2022 01:47:31 PM CST] Changed default CA to: https://acme-v02.api.letsencrypt.org/directory
[Mon 14 Feb 2022 01:47:31 PM CST] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Mon 14 Feb 2022 01:47:32 PM CST] Creating domain key
[Mon 14 Feb 2022 01:47:32 PM CST] The domain key is here: /root/.acme.sh/chenxvvps.xyz_ecc/chenxvvps.xyz.key
[Mon 14 Feb 2022 01:47:32 PM CST] Single domain='chenxvvps.xyz'
[Mon 14 Feb 2022 01:47:32 PM CST] Getting domain auth token for each domain
[Mon 14 Feb 2022 01:47:32 PM CST] Create new order error. Le_OrderFinalize not found. {
  "type": "urn:ietf:params:acme:error:rateLimited",
  "detail": "Error creating new order :: too many certificates (5) already issued for this exact set of domains in the last 168 hours: chenxvvps.xyz: see https://letsencrypt.org/docs/rate-limits/",
  "status": 429
}
[Mon 14 Feb 2022 01:47:32 PM CST] Please add '--debug' or '--log' to check more details.
[Mon 14 Feb 2022 01:47:32 PM CST] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
[ERROR]  SSL 证书生成失败

May  5 09:34:35 EDT 2022] Changed default CA to: https://acme-v02.api.letsencrypt.org/directory
[Thu May  5 09:34:36 EDT 2022] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Thu May  5 09:34:36 EDT 2022] Creating domain key
[Thu May  5 09:34:36 EDT 2022] The domain key is here: /root/.acme.sh/lindaiyu.cf_ecc/lindaiyu.cf.key
[Thu May  5 09:34:36 EDT 2022] Single domain='lindaiyu.cf'
[Thu May  5 09:34:36 EDT 2022] Getting domain auth token for each domain
[Thu May  5 09:34:38 EDT 2022] Getting webroot for domain='lindaiyu.cf'
[Thu May  5 09:34:38 EDT 2022] Verifying: lindaiyu.cf
[Thu May  5 09:34:39 EDT 2022] Pending, The CA is processing your order, please just wait. (1/30)
[Thu May  5 09:34:42 EDT 2022] lindaiyu.cf:Verify error:194.29.187.244: Fetching http://lindaiyu.cf/.well-known/acme-challenge/D17ZWELxHLp1SL2E13Sayl-447K6S5ihtnIJHgd1xJA: Error getting validation data
[Thu May  5 09:34:42 EDT 2022] Please add '--debug' or '--log' to check more details.
[Thu May  5 09:34:42 EDT 2022] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
[ERROR]  SSL 证书生成失败

@jiangbeth iptables -F

authors: KukiSa chenxv399 jiangbeth


text:
Add a way to open export window

Kap version: 3 Beta 1
Current behaviour
Can't open export window after closing it
Expected behaviour
I can open up the export window in the menu bar or cropper controls:

Workaround
Record & export another recording to get the export window to show

If there's no history, the menu item should still show, but be disabled.

authors: albinekb sindresorhus

repo: wulkano/kap

license: mit

license_source: bigquery


text:
Table: Add hasHandle and removeString methods.

Following missing methods have been added:

hasHandle
removeString

Reorganized Table.wurst code to improve readability.

👍

authors: Frotty crojewsk


text:
Version of highway-env package

Hi @rohanchandra30 @wuxiyang1996 ! Thanks for your awesome work!
I'm recently working on a project using the iPLAN framework. I can successfully run experiments based on MPE environment and I make sure the Heterogeneous_Highway_Env package is installed. However, I encontered an error when running HighwayEnv-based experiments as below.
Traceback (most recent call last):
  File "C:\WorkSpace\Software\miniconda\envs\ipgym\lib\multiprocessing\process.py", line 315, in _bootstrap
    self.run()
  File "C:\WorkSpace\Software\miniconda\envs\ipgym\lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "C:\WorkSpace\Ming\ipgym\envs\env_wrappers.py", line 141, in worker
    env = env_fn_wrapper.x()
  File "C:\WorkSpace\Ming\ipgym\run_ippo.py", line 412, in init_env
    env = env_wrapper(all_args)
  File "C:\WorkSpace\Ming\ipgym\run_ippo.py", line 439, in env_wrapper
    env = gym.make("higway-hetero-v0")
  File "C:\WorkSpace\Software\miniconda\envs\ipgym\lib\site-packages\gym\envs\registration.py", line 569, in make
    _check_version_exists(ns, name, version)
  File "C:\WorkSpace\Software\miniconda\envs\ipgym\lib\site-packages\gym\envs\registration.py", line 219, in _check_version_exists
    _check_name_exists(ns, name)
  File "C:\WorkSpace\Software\miniconda\envs\ipgym\lib\site-packages\gym\envs\registration.py", line 197, in _check_name_exists
    raise error.NameNotFound(
gym.error.NameNotFound: Environment highway-hetero doesn't exist.

Hence, I tried to register this environment using the following scripts.
import gym
from gym.envs.registration import register

register(id='highway-hetero-v0', entry_point='highway_env.envs:HighwayEnvHetero')
gym.make('highway-hetero-v0')

Then an error relevant to the absence of module named 'highway_env' occurred.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\WorkSpace\Software\miniconda\envs\ipgym\lib\site-packages\gym\envs\registration.py", line 581, in make
    env_creator = load(spec_.entry_point)
  File "C:\WorkSpace\Software\miniconda\envs\ipgym\lib\site-packages\gym\envs\registration.py", line 61, in load
    mod = importlib.import_module(mod_name)
  File "C:\WorkSpace\Software\miniconda\envs\ipgym\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'highway_env'

As highway-env has moved from gym to gymnasium, the dependency in Heterogeneous_Highway_Env is different from the latest version of highway-env. So I'm wondering if I can solve this by simply insatll a version of highway-env compatible to your framework(like v1.7 which still uses gym). I would also be grateful if you can offer me the version you are using as I cannot find a suggested one in "requirements.txt" nor in the readme file. Or, would you recommend that I install the latest highway-env package and then overwrite the original files with the files from the Heterogeneous_Highway_Env package?
Looking forward to your reply! Thanks again!

Hi @redfish9,
I recommend you install a highway-env (I am using v1.6) package first and then replace the code inside this package with the code in Heterogeneous_Highway_Env.
Will figure out the transplantation into the gymnasium in the next few days.
Thank you!

Thanks for your prompt reply! I'll try your recommened approach. Looking forward to see your following works!

Hi @redfish9,
I recommend you install a highway-env (I am using v1.6) package first and then replace the code inside this package with the code in Heterogeneous_Highway_Env.
Will figure out the transplantation into the gymnasium in the next few days.
Thank you!

Hi, i have the same issue, but i can not follow your reply.  Could you show a more clear solution? Thanks very much.

Hi @hankerbit,
Try to install highway-env v1.6 from here first https://github.com/Farama-Foundation/HighwayEnv
Then use the code in the Heterogeneous_Highway_Env repo to cover the initial highway-env.

Thanks,  but how i can cover the highway-env v1.6? copy or reinstall Heterogeneous_Highway_Env?

Use pip to install, find the package in Anaconda's installation path, and cover the installed highway env with the Heterogeneous_Highway_Env repo

Use pip to install, find the package in Anaconda's installation path, and cover the installed highway env with the Heterogeneous_Highway_Env repo

Thanks very much.

Use pip to install, find the package in Anaconda's installation path, and cover the installed highway env with the Heterogeneous_Highway_Env repo

Hi, I try to copy the content in Heterogeneous_Highway_Env repo INTO highway env v1.6.
But there is also the same error :"gym.error.NameNotFound: Environment highway-hetero doesn't exist. "

Check here:
https://github.com/wuxiyang1996/Heterogeneous_Highway_Env/blob/b96a34754f608bf3e2e9832a35c828bf11782794/envs/highway_env.py#L884
Please ensure that you are using the correct environment name.


text:
Connection error on node.js version >= 0.11.3

I get error when connecting to server with node.js v0.11.3 and up
vertica.connect({host:'127.0.0.1', user:'...', password:'...'}, function(err){
    console.log(err);
});

{ [Error: Invalid startup packet layout: expected terminator as last byte]
  message: 'Invalid startup packet layout: expected terminator as last byte',
  fields:
   { Severity: 'FATAL',
     Code: '08V01',
     Message: 'Invalid startup packet layout: expected terminator as last byte',
     File: '/scratch_a/release/vbuild/vertica/Session/ClientSession.cpp',
     Line: '3800',
     Routine: 'ProcessStartupPacket' },
  code: '08V01' }

@sudhakar Thanks for fixing this issue.

@wvanbergen Big thanks to you for this library. I have been using this in production for more than a year & super happy with its stability :sparkles:

I am no longer using this library myself. I have added you as a collaborator so you can fix issues if you run into any. Feel free to ping me for code reviews if you want to.

Awesome @wvanbergen. I missed to update the package.json on the last PR. Have updated & pushed in the last commit. Can you publish 0.5.3 to npm..

Release is pushed. Can you check if it's working as expected?

authors: dalex3 sudhakar wvanbergen

repo: wvanbergen/node-vertica


text:
🛑 AMP is down

In 443182a, AMP (https://server.wyattduber.com) was down:

HTTP code: 502
Response time: 288 ms

Resolved: AMP is back up in 325dab3 after 6 hours, 58 minutes.

repo: wyattduber/statuspage


text:
refactor(teamcity statistics): add more details to statistics

@wyvern8 , @Neko-Design additional detail to the build statistics

per LD PR, once that is merged you could add structured markup as task.results.details if that suits.


text:
Hiddify & Sing-box (IOS) error while synchronizing server

🙇♂🙇♂🙇♂注意：XrayR等非V2Board问题请前往项目方提问
🙇♂🙇♂🙇♂Note: XrayR and other non-V2Board issues please go to the project side to ask questions
The V2Board version number you are using
1.7.4
Briefly describe the problem you are experiencing
I encountered this problem when I synced the server to the sing-box app on IOS, however when I tried sing-box again on my android device everything worked fine, Hiddify has the same problem. Can you give me a solution to fix this problem?
Screenshot of the reported error(Please do desensitization)

Screenshot of the reported error(Please do desensitization)
报告错误的截图（请做脱敏处理）
The latest log files in the storage/logs directory report from #1 (Please do desensitization)
storage/logs 目录下最新的日志文件从 #1 开始报告（请做脱敏处理）

this project doesn't support hiddify now

What about sing-box? Can you help me fix the problem with singbox?

@dziiofficialo0 first time start singbox
your 1st proxy server outbound must be available


text:
CookieResulteDao找不到

CookieResulteDao找不到

看下greendao的文档

authors: Luogui wzgiceman

repo: wzgiceman/RxjavaRetrofitDemo-master


text:
使用 $input 和自定义渲染器 无法正常触发校验

（必填）请填写问题描述或截图：
使用 内置渲染器$input 和 自定义渲染器 无法正常触发校验，但使用原生渲染器（input）会正常触发。
html：
<vxe-grid
  :edit-config="editConfig"
  :edit-rules="editRules"
  :columns="tableColumn"
  :data.sync="tableData"
/>

js：
data(){
  return {
    tableColumn: [
      {
        field: "name",
        title: "姓名",
        editRender: {
          //使用 内置渲染器$input 和 自定义渲染器 都不能正常触发，只能在聚焦时触发
          name: "$input",

          //使用原生 input 可以正常触发
          // name: "input",
        },
      },
    ],
    tableData: [
      {
        name: "张三",
      }
    ],
    editConfig: { trigger: "click", mode: "cell" },
    editRules: {
      name: [
        {
          required: true,
          message: "空啥",
          trigger: "change"
        }
      ]
    }
  }
}

使用原生 input
editRender: {
  name: "input"
}

正常触发：

使用内置渲染器 $input 或 自定义渲染器
editRender: {
  name: "$input"
}

不正常：

（必填）请填在线链接：
https://codesandbox.io/s/vibrant-curran-doh9j?file=/src/App.vue
（必填）请填写期望的结果：
与原生渲染器一样正常触发
（必填）请填写以下信息：

OS: windows10
Browser: chrome 86.0.4240.198
vue: 2.6.10
vxe-table: 3.0.28

自定义插槽模板需要调用方法 updateStatus 去更新状态
https://codesandbox.io/s/vxe-table-demo-forked-33gmi

自定义插槽模板需要调用方法 updateStatus 去更新状态
https://codesandbox.io/s/vxe-table-demo-forked-33gmi

repo: x-extends/vxe-table


text:
Mermaid disables syntax highlighting

(Firstly thanks for making this - this has been extremely useful for a number of projects now)
I'm suspecting that including Mermaid, via https://github.com/KevinGimbel/eleventy-plugin-mermaid, disables syntax highlighting. Specifically the line eleventyConfig.addPlugin(pluginMermaid); when added to eleventy.config.js disables the syntax highlighting from govuk-eleventy-plugin.

There is a reasonably minimal example at https://github.com/michalc/govuk-eleventy-plugin-mermaid. Specifically, a block in index.md should have shell syntax highlighting, and so appear as white text on a black background. But it doesn't, and instead appears as black test on white background.

However, if I remove eleventyConfig.addPlugin(pluginMermaid); from https://github.com/michalc/govuk-eleventy-plugin-mermaid/blob/main/eleventy.config.js#L5 then it works fine

Ah so, I've found a workaround I'm fairly happy with. Rather than using https://github.com/KevinGimbel/eleventy-plugin-mermaid...

Use https://www.npmjs.com/package/mermaid (so npm install mermaid)

Add to my eleventy.config.js file:
 eleventyConfig.addPassthroughCopy({'./node_modules/mermaid/dist/**.mjs': 'assets/mermaid'})
 eleventyConfig.addPassthroughCopy({'./node_modules/mermaid/dist/**.js': 'assets/mermaid'})

In the page(s) to use Mermaid have this:
<script type="module">
  import mermaid from '/assets/mermaid/mermaid.esm.min.mjs';
  mermaid.initialize({ startOnLoad: true });
</script>

And then use pre tags rather than the backticks to include the Mermaid diagrams
<pre class="mermaid">
graph
  A --> B
</pre>

repo: x-govuk/govuk-eleventy-plugin


text:
Cannot override Nunjucks configuration

The 11ty docs suggest overriding the default Nunjucks configuration with a stanza like
eleventyConfig.setNunjucksEnvironmentOptions({
  dev: true
});

in eleventy.config.js. (This example was to set a flag which I was hoping would tell me what was wrong with my template, ho hum.)
However, the way that the plugin configures Nunjucks in https://github.com/x-govuk/govuk-eleventy-plugin/blob/main/lib/nunjucks.js#L36 this doesn't seem to be possible. A default configuration is obviously essential, but it would be nice if this just worked.

Now possible in v6.3.0 of the plugin. Thanks for reporting this issue!

authors: galund paulrobertlloyd


text:
k8s.gcr.io 镜像 mirror 已经产生差异了。

kubernetes v1.25 容器注册服务由 k8s.gcr.io 迁移到 registry.k8s.io
建议 保留 k8s.gcr.io -> k8sgcriosigstorage/csi-attacher
新增 registry.k8s.io 同步 mirror registryk8ssigstorage/csi-attacher
上面的 k8sgcriosigstorage/csi-attacher 最新的版本只有 4.2.0 很久之前了。
registry.k8s.io 已经存在 4.3.0 了。
当然其他的库也一并同步

收到，我找时间处理
来自阿里邮箱Android客户端------------------------------------------------------------------
@.>
日　期：2023年11月15日 09:48:25
@.>
@.***>
主　题：[x-mirrors/gcr.io] k8s.gcr.io 镜像 mirror 已经产生差异了。 (Issue #16)
kubernetes v1.25 容器注册服务由 k8s.gcr.io 迁移到 registry.k8s.io
建议 保留 k8s.gcr.io -> k8sgcriosigstorage/csi-attacher
新增 registry.k8s.io 同步 mirror registryk8ssigstorage/csi-attacher
上面的 k8sgcriosigstorage/csi-attacher 最新的版本只有 4.2.0 很久之前了。
registry.k8s.io 已经存在 4.3.0 了。
当然其他的库也一并同步
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

registry.k8s.io 同步已经到最新
registry.k8s.io/sig-storage/csi-attacher

最新同步地址为：https://hub.docker.com/r/registryk8s/sig-storage-csi-attacher/tags
搜索地址为：https://mirrors.kb.cx/?s=storage-csi-attache?s=sig-storage-csi-attache

authors: estack soulmz xiexianbin


text:
Ошибка открытия тестов Тест_ЗапускТестовВСеансеДругихПользователей во встроенном xddTestRunner

Ошибка открытия тестов Тест_ЗапускТестовВСеансеДругихПользователей во встроенном xddTestRunner
{Обработка.xddTestRunner.Форма.УправляемаяФорма.Форма(270)}:
Ошибка при вызове метода контекста (Удалить)
	Объект.ДеревоТестов.ПолучитьЭлементы().Удалить(СтрокаТеста);
по причине:
Недопустимое значение параметра (параметр номер '1')

Выполнено


text:
extension not working

in my visual studio code that extension not working properly and i face problem by using this extension

Same here clg +tab dont work

Same here as well none of the options are working (fre+tab, anfn + tab, clg + tab, etc...). Restarted VS code and ensured extension is enabled globally. am I missing something?

Same here as well none of the options are working (fre+tab, anfn + tab, clg + tab, etc...). Restarted VS code and ensured extension is enabled globally. am I missing something?

Just solved this. Adding "editor.snippetSuggestions": "top", to my vs code settings.json file allowed the extension to work.

Just solved this. Adding "editor.snippetSuggestions": "top", to my vs code settings.json file allowed the extension to work.

I did the above method because I thought it was not working.
But it still didn't work.
Then I found out. It takes a few seconds to operate.
clg -> **2seconds** -> tap -> console.log(object)
Now, there is no need to wait few seconds.
And each file needs each wait.

alguna solución que me den, ya actualizé mi vscode y nada, volví a instlar la extensión y nada, y eso que está habilitado en mi area de trabajo

repo: xabikos/vscode-javascript


text:
raise ValueError

raise ValueError(f'Number of devices {len(devices)} must equal the product '
ValueError: Number of devices 1 must equal the product of mesh_shape (1, 8)

See #38

authors: houyongkuo xSetech


text:
Has the weights been modified from production to limit it's ability?

Seriously, I would expect that some of the weights were trashed to limit performance.

Please move to close this issue and move to:
https://github.com/xai-org/grok-1/discussions
Reason:
https://github.com/xai-org/grok-1/issues/69

The documentation says it is not optimized for any particular task. It does say it has 8 bit quantization. It's unaligned. So the answer is no, it isn't crippled.

authors: Aphexus Whytehorse2022 trholding


text:
BUG: The starting index string of the next page is incorrect

If the first page contains 10 (elements 1-10), the next of the next page should start from 11. Right now it lists 10-20. It should be 11-20.

@derFaizio just to confirm, you're talking about the pagination numbers only right? the rows themselves seem to be correct for each page.
also, can you tell me what version you're on?

Exactly. Only the pagination numbers. The rows themselves are perfectly fine. I am on version 1.20.3.

@derFaizio  this should now be fixed in v1.21.0.

authors: derFaizio xaksis

repo: xaksis/vue-good-table


text:
Error with VueJS 3: Uncaught (in promise) TypeError: _this6.$set is not a function

Implemented the example, but get this error:

Duplicate, I think #758

did you find any solution

authors: MrWasimAbbasi eugenevk luisdnodrizat


text:
TPKeyboardAvoiding new version

Current binding version 1.3.2
Current original version: 1.3.4
Sources: https://github.com/michaeltyson/TPKeyboardAvoiding
Comparison: https://github.com/michaeltyson/tpkeyboardavoiding/compare/1.3.2...1.3.4

Fixed here: https://github.com/Softeq/TPKeyboardAvoiding-xamarin-ios
New NuGet: https://www.nuget.org/packages/Softeq.TPKeyboardAvoiding/

repo: xamarin/XamarinComponents


text:
Retrofit2 Adapter-rxjava2 and converters 2.7.2

retrofit2/adapter-rxjava2 2.7.2
retrofit2/converter-gson 2.7.2
retrofit2/converter-moshi 2.7.2

Hi,
I find that "retrofit2/converter-gson 2.7.2" is not yet listed in the nuget.org.
Are there any plans to list this version?
Best,

authors: BradKwon antonioseric


text:
Dependencies

Hi Amy, I think it would be good to clear state the dependencies: Python 3 (3.5+?), a number of python packages, such as $ pip install opencv-python nibabel tqdm pydot, and GraphViz software

Ask the same questions!

Hi @xamyzhao , thanks a lot for sharing the codes. Could you please kindly specify the version of python, tensorflow, and keras used in this project? It would be helpful for people who are trying to use the codes. Thanks so much!

Thanks for the reminder! I updated the readme.

authors: ChuxiJ MarsVillage andmax xamyzhao

repo: xamyzhao/brainstorm


text:
it crashes when it starts

hey I have a problem when I go to start the game it crashes if I put
the music but hey I need a solution

I need more detailed information.
Do you get any error messages? If so, which ones?
Did you install the prerequisites as well? Visual C++ Redistributable x86 needs to be installed for this to work.

no only crash if i put all the songs but i have the visual c++ no error messages i have installed the black edition


text:
404 Error when list projects whose owner(user/group) has a name contains dot

Gitlab community edition allows to create users/groups with username has dot. But when make  requests to list projects under this owners, the api returns 404 when the dot is unescaped.
A related fix: #603

This is fixed by PR #613

authors: hoozecn svanharmelen

repo: xanzy/go-gitlab


text:
feat: add Bitbucket Cloud and Server import endpoints

This expands the changes in #1942 to fully implement #1629 and #1859 by adding functionality for the Bitbucket Cloud and Server repository import endpoints.
Although the API documentation does not specify expected responses, the OpenAPI specification looks like it gives sufficient information.
This is marked as a "draft" for now since I have not yet tested against real Bitbucket or GitLab instances.

Unmarked as "draft" since I was able to at least verify that the API responses were as expected and handled correctly.


text:
Stub addresses are generated as hostnames in config

Hello,
I had the problem that IPv4 addresses were generated as "stub-host" entries in the config file instead of "stub-addr".
Maybe it is better to check for valid IP instead of domain_name in the stub template?
<% if scope.function_is_ip_address([addr]) -%>
stub-addr: <%= addr %>
<% else -%>
stub-host: <%= addr %>
<% end -%>

Can I see the manifest you used to get into the situation you mentioned?

On 2015-07-23 17:35, Zach Leslie wrote:

Can I see the manifest you used to get into the situation you mentioned?
—
Reply to this email directly or view it on GitHub
https://github.com/xaque208/puppet-unbound/issues/102#issuecomment-124142224.

Sure,
I manage my stubs as hiera data, like this:
recursor::stubs:
domain1.com:
address:
- "121.120.1.64"
- "121.120.6.5"
- "121.120.6.6"
- "2001:123:4:6::88:5"
- "2001:123:4:6::88:6"
insecure: true
domain2.com:
address:
- "121.121.1.64"
- "121.130.6.11"
- "121.130.6.12"
- "2001:132:4:6::88:11"
- "2001:123:4:6::88:12"
insecure: true
The class is defined in a profile:
class { "unbound":
interface => $ips,
access    => $access,
do_ip6    => $do_ip6,
do_ip4    => "yes",
hide_identity => false,
hide_version => false,
val_clean_additional => false,
control_enable => true,
num_threads => $processorcount,
msg_cache_slabs => $processorcount2,
rrset_cache_slabs => $processorcount2,
infra_cache_slabs => $processorcount2,
key_cache_slabs => $processorcount2,
outgoing_interface => $ipaddress,
prefetch => "yes",
so_rcvbuf => "4m",
num_queries_per_thread => "4096",
outgoing_range => 8192,
rrset_cache_size => "${rcache}m",
msg_cache_size => "${mcache}m",
edns_buffer_size => "4096",
outgoing_port_avoid => "0-1024",
outgoing_port_permit => "1025-65535",
val_permissive_mode => $permissive_mode,
module_config => $module_config,
interface_automatic => $interface_automatic,
chroot => $chroot,
custom_server_conf => [
"so-sndbuf: 4m",
"identity: $identity",
"version: $version",
"val-clean-additional: no",
],
}
$stubs=hiera_hash('recursor::stubs',{})
create_resources('unbound::stub',$stubs,{})
This resulted in just the V6 addresses beeing stub-addr, while the V4
addresses seemed to gotten matched as valid hostnames and were added as
stub-host.
I am using the latest version from git, puppetlabs-concat 1.2.3,
puppetlabs-stdlib 4.5.1, puppet 3.7.5.
Regards,
Markus

Ah, sounds like we just need to improve our address validation.

https://github.com/xaque208/puppet-unbound/pull/104
I'll test shortly.

After testing, my configs looks good and my servers are online.  Are you in a position to test?  I'm prepared to merge #104 to correct this.

Hi,
On 2015-07-28 16:56, Zach Leslie wrote:

After testing, my configs looks good and my servers are online. Are you
in a position to test? I'm prepared to merge #104
https://github.com/xaque208/puppet-unbound/pull/104 to correct this.
—
Reply to this email directly or view it on GitHub
https://github.com/xaque208/puppet-unbound/issues/102#issuecomment-125638521.

The patch looks good, still there is a minor issue with the parser.
My puppet agent was not able to find the puppet_x path:
Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Could not autoload
puppet/parser/functions/validate_unbound_addr: cannot load such file --
puppet_x/unbound/validate_addrs on node uni-resolver-test-ns.puppet-test
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
However, I found a similar workaround in another module and adapted it:
diff --git a/lib/puppet/parser/functions/validate_unbound_addr.rb
b/lib/puppet/parser/functions/validate_unbound_addr.rb
index d8c5d7b..4b1b4cf 100644
--- a/lib/puppet/parser/functions/validate_unbound_addr.rb
+++ b/lib/puppet/parser/functions/validate_unbound_addr.rb
@@ -1,4 +1,6 @@
-require 'puppet_x/unbound/validate_addrs'
+require File.expand_path(File.join(File.dirname(FILE), '..', '..',
'..',

                             'puppet_x', 'unbound',

'validate_addrs.rb'))
+
Puppet::Parser::Functions.newfunction(:validate_unbound_addr) do |args|
if (args.size != 1) then
Using this, the IPs were generated quite fine as "stub-addr" and
hostnames as "stub-host" entries as they should.
Thanks!
-Markus

That puppet_x code is missing on the master it looks like.  So now that we rely on functions, and functions are executed on the master.
If you have an environment that contains this code, you can do puppet plugin download --environment $e -v on the master to ensure that the function and the rest of the lib code are available on the master side.

On 2015-07-29 00:33, Zach Leslie wrote:

That puppet_x code is missing on the master it looks like. So now that
we rely on functions, and functions are executed on the master.
If you have an environment that contains this code, you can do |puppet
plugin download --environment $e -v| on the master to ensure that the
function and the rest of the lib code are available on the master side.
—
Reply to this email directly or view it on GitHub
https://github.com/xaque208/puppet-unbound/issues/102#issuecomment-125771715.

Thanks for the hint, just downloaded the plugins using your command and
now the module works as it was.
-Markus

#104 has been merged and 1.2.0 has been released for this effort.  Thank you for the report.


text:
能添加个自定义前端吗？

复制前端文件到映射目录？

前端是在打包的时候嵌入的，如果有这个需求请Fork后自行修改Dockerfile

authors: ldxw xavier-niu

repo: xavier-niu/cloudreve-docker


text:
problem occurs when running the DeepMimic.py

Hi, peng !  Thank you very much for releasing the code and it is a great work.
I followed the instructions and generated DeepMimicCore.py successfully.
then I run the command "python3 DeepMimic.py --arg_file args/kin_char_args.txt" , it produced the result:
"
*** Process received signal ***
Signal: Segmentation fault (11)
Signal code: Address not mapped (1)
Failing at address: (nil)
[ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f67aba3d390]
"
On the other hand, I run the command "python3 mpi_run.py --arg_file args/train_humanoid3d_spinkick_args.txt --num_workers 4" and it worked well and began the training process.
I check the related code, and guess that  "enable_draw " in the  "world = build_world(args, enable_draw=True)" maybe affect the bug.
thank  you very much.

PS: I use Python3.5 to Makefile in the Ubuntu16.04. I don't know whether it has the effect on running successfully.

@dev-bz thx for your help. I comment this line and re-compile in the DeepMimicCore, but the bug still exists.
I guess does this problem relate to the OpenMPI and OpenGL ? thx.

in Deepmimic.py #glutInitContextVersion(3, 2)

My computer does not seem to support this version of the GL API, so I do not let it specify the GL version, so that it is in default.

@dev-bz thx very much ! I comment that line and it worked !
btw, could you explain the reason that cause this bug, since I'm not familiar with rendering.
thx.

if keep that line work, glGenVertexArrays(1, &mVaoID) will fail in RenderState.h just on some machine. (bad english!!!)

@dev-bz thank you very much!

@dev-bz @jxwjasonborne  Hi, thanks for this related issue and I face the same problem.
I commented the glutInitContextVersion(3, 2) in Line 269, but the bug still exists. Do I need to do some other modifications?

authors: Superlee506 dev-bz jxwjasonborne

repo: xbpeng/DeepMimic


text:
#80 add copyNodeDataFunction including unit test

Created possibility to set copyNodeDataFunction based on given prop

Coverage decreased (-0.6%) to 94.444% when pulling 5bc9d2a26751400ace6111222d20b9a1a0c332b5 on sjoerd-otten-nl:copyNodeDataFunction into 7b1d1405f3cecac3e49b75357fc8cfa9fe70ba57 on xcomponent:master.

oh. sorry! fixed it!

resolves #81

authors: coveralls nicolaserny sjoerd-otten-nl

repo: xcomponent/react-gojs