oscript-library / oscript-library/gitsync

КРИТИЧНАЯОШИБКА - {Модуль /usr/share/oscript/lib/gitsync/oscript_modules/gitrunner/src/ГитРепозиторий.os / Ошибка в строке: 919 / /usr/bin/sh: 1: Syntax error: "(" unexpected }

Open
#318 35 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
1C Enterprise
Stars
333
Forks
98
PR merge metrics
No merged PRs in 30d

Description

fomenko.v@ecs-ubuntu2:/home/git/erp$ gitsync sync -u Админ -p ***** /home/git/ERPhran /home/git/erp
ИНФОРМАЦИЯ - Начало выполнение команды
ИНФОРМАЦИЯ - Начата синхронизация с git
ИНФОРМАЦИЯ - Номер синхронизированной версии: 0
ИНФОРМАЦИЯ - Номер последней версии в хранилище: 732
ИНФОРМАЦИЯ - Получаем исходники для версии 1, 18.06.2024 17:32:04
ИНФОРМАЦИЯ - Получаем исходники для версии 2, 18.06.2024 17:54:01
ИНФОРМАЦИЯ - Получаем исходники для версии 3, 18.06.2024 18:14:02
ИНФОРМАЦИЯ - Получаем исходники для версии 4, 18.06.2024 18:33:19
ИНФОРМАЦИЯ - Получаем исходники для версии 5, 18.06.2024 18:52:32
ОШИБКА - Получен ненулевой код возврата 2. Выполнение скрипта остановлено!
КРИТИЧНАЯОШИБКА - {Модуль /usr/share/oscript/lib/gitsync/oscript_modules/gitrunner/src/ГитРепозиторий.os / Ошибка в строке: 919 / /usr/bin/sh: 1: Syntax error: "(" unexpected
}

Доходит до 5й версии и ошибка 1С:ERP Управление предприятием 2 (2.5.8.435), причём рядом конфигурация Бухгалтерия предприятия КОРП, редакция 3.0 (3.0.149.28) Отлично работает без проблем. Прошу помощи! Подскажите куда копать?

Скриншоты
gitsync-sync
если применимо приложите скриншот

Окружение:

  • Версия операционной системы: Ubuntu 22.04
  • Редакция 1С платформы 8.3.25.1286
  • Версия Gitsync 3.6.0
  • Версия OScript 1.9.1.7

1С:ERP Управление предприятием 2 (2.5.8.435)
conf.cfg
SystemLanguage=System
DisableUnsafeActionProtection=.*

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing gitsync sync on Ubuntu 22.04 with the listed Gitsync, OScript, and 1C platform versions. Inspect /usr/share/oscript/lib/gitsync/oscript_modules/gitrunner/src/ГитРепозиторий.os around line 919 and compare what runs for repository versions 1–5. Done means the synchronization no longer stops with the /usr/bin/sh syntax error, or the incompatible input is clearly identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, shell, ubuntu
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.