Разные недочеты/баги
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Открыл новую тему:main Alexey wrote:выделите сообщение про "закрытие табов" в новую тему. может я помееняю тут что-то. тогда там отпишусь. здесь мы одним и тем же вопросом завалили тему.
UVviewsoft forums • Просмотр темы - CudaText. Порядок табов в Recents
https://synwrite.sourceforge.net/forums ... f=6&t=3021
Прокрутил консоль и каталог ~/cudatext_up/src/, скачались на какой-то итерации:main Alexey wrote:посоветую тогда ставить не Гитом (первый раз вижу такие ошибки от гита!).
а вручную. скачкой zip архивов, распаковкой их, и потом из IDE установкой пакетов. как описано в вики.
Code: Select all
one@one-samsung-work:~/cudatext_up$ ls /home/one/cudatext_up/src/
ATBinHex-Lazarus ATSynEdit_Cmp CudaText EncConv
ATFlatControls ATSynEdit_Ex EControl Python-for-Lazarus
ATSynEdit bgrabitmap Emmet-Pascal
one@one-samsung-work:~/cudatext_up$
Code: Select all
one@one-samsung-work:~/cudatext_up$ sudo ./cudaup.sh -g -p -m
Pulling https://github.com/bgrabitmap/bgrabitmap
Pulling https://github.com/Alexey-T/EncConv
Pulling https://github.com/Alexey-T/ATBinHex-Lazarus
Pulling https://github.com/Alexey-T/ATFlatControls
Pulling https://github.com/Alexey-T/ATSynEdit
Pulling https://github.com/Alexey-T/ATSynEdit_Cmp
Pulling https://github.com/Alexey-T/EControl
Pulling https://github.com/Alexey-T/ATSynEdit_Ex
Pulling https://github.com/Alexey-T/Python-for-Lazarus
Pulling https://github.com/Alexey-T/Emmet-Pascal
Pulling https://github.com/Alexey-T/CudaText
Hint: (lazarus) Compiler params changed for BGRABitmapPack 11.5.4
Old="-Tlinux -MObjFPC -Scgi -Cg -O3 -OoREGVAR -Fu/usr/share/lazarus/3.0.0/packager/units/x86_64-linux -Fu/usr/share/lazarus/3.0.0/components/lazutils/lib/x86_64-linux -Fu/usr/share/lazarus/3.0.0/components/freetype/lib/x86_64-linux -Fu/usr/share/lazarus/3.0.0/lcl/units/x86_64-linux -Fu/usr/share/lazarus/3.0.0/lcl/units/x86_64-linux/gtk2 -Fu/home/one/cudatext_up/src/bgrabitmap/bgrabitmap/ -FU/home/one/cudatext_up/src/bgrabitmap/bgrabitmap/lib/x86_64-linux-gtk2-3.2.2/ -dLCL -dLCLgtk2 bgrabitmappack.pas"
Now="-MObjFPC -Scgi -Cg -O3 -OoREGVAR -Fu/usr/share/lazarus/3.0.0/packager/units/x86_64-linux -Fu/usr/share/lazarus/3.0.0/components/lazutils/lib/x86_64-linux -Fu/usr/share/lazarus/3.0.0/components/freetype/lib/x86_64-linux -Fu/usr/share/lazarus/3.0.0/lcl/units/x86_64-linux -Fu/usr/share/lazarus/3.0.0/lcl/units/x86_64-linux/gtk2 -Fu/home/one/cudatext_up/src/bgrabitmap/bgrabitmap/ -FU/home/one/cudatext_up/src/bgrabitmap/bgrabitmap/lib/x86_64-linux-gtk2-3.2.2/ -dLCL -dLCLgtk2 bgrabitmappack.pas"
State file="/home/one/cudatext_up/src/bgrabitmap/bgrabitmap/lib/x86_64-linux-gtk2-3.2.2/BGRABitmapPack.compiled"
Hint: (11030) Start of reading config file /etc/fpc.cfg
Hint: (11031) End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 3.2.2 [2021/07/09] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
(1002) Target OS: Linux for x86-64
(3104) Compiling bgrabitmappack.pas
(3104) Compiling bgraanimatedgif.pas
(3104) Compiling bgrabitmap.pas
(3104) Compiling bgrabitmaptypes.pas
(3104) Compiling bgramultifiletype.pas
(3104) Compiling bgrautf8.pas
/home/one/cudatext_up/src/bgrabitmap/bgrabitmap/bgrautf8.pas(10,72) Fatal: (10022) Can't find unit lazutf8classes used by BGRAUTF8
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
Error: (lazarus) Компиляция пакета BGRABitmapPack 11.5.4: stopped with exit code 1
Error: (lazbuild) BGRABitmapPack 11.5.4 compilation failed
Error: (lazbuild) Package ./src/bgrabitmap/bgrabitmap/bgrabitmappack.lpk is only for runtime.
Error: (lazbuild) Package ./src/EncConv/encconv/encconv_package.lpk is only for runtime.
Hint: (lazarus) Compiler params changed for atbinhex_package 1.1
Old="-Tlinux -MObjFPC -Scghi -Cg -O1 -g -gl -Fi/home/one/cudatext_up/src/ATBinHex-Lazarus/atbinhex -Fu/home/one/cudatext_up/src/ATBinHex-Lazarus/atbinhex -Fu/usr/share/lazarus/3.0.0/packager/units/x86_64-linux -Fu/usr/share/lazarus/3.0.0/components/lazutils/lib/x86_64-linux -Fu/home/one/cudatext_up/src/EncConv/encconv/lib/x86_64-linux -Fu/usr/share/lazarus/3.0.0/components/freetype/lib/x86_64-linux -Fu/usr/share/lazarus/3.0.0/lcl/units/x86_64-linux -Fu/usr/share/lazarus/3.0.0/lcl/units/x86_64-linux/gtk2 -FU/home/one/cudatext_up/src/ATBinHex-Lazarus/atbinhex/lib/x86_64-linux/ -dLCL -dLCLgtk2 atbinhex_package.pas"
Now="-MObjFPC -Scghi -Cg -O1 -g -gl -Fi/home/one/cudatext_up/src/ATBinHex-Lazarus/atbinhex -Fu/home/one/cudatext_up/src/ATBinHex-Lazarus/atbinhex -Fu/usr/share/lazarus/3.0.0/packager/units/x86_64-linux -Fu/usr/share/lazarus/3.0.0/components/lazutils/lib/x86_64-linux -Fu/home/one/cudatext_up/src/EncConv/encconv/lib/x86_64-linux -Fu/usr/share/lazarus/3.0.0/components/freetype/lib/x86_64-linux -Fu/usr/share/lazarus/3.0.0/lcl/units/x86_64-linux -Fu/usr/share/lazarus/3.0.0/lcl/units/x86_64-linux/gtk2 -FU/home/one/cudatext_up/src/ATBinHex-Lazarus/atbinhex/lib/x86_64-linux/ -dLCL -dLCLgtk2 atbinhex_package.pas"
State file="/home/one/cudatext_up/src/ATBinHex-Lazarus/atbinhex/lib/x86_64-linux/atbinhex_package.compiled"
Hint: (11030) Start of reading config file /etc/fpc.cfg
Hint: (11031) End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 3.2.2 [2021/07/09] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
(1002) Target OS: Linux for x86-64
(3104) Compiling atbinhex_package.pas
(1008) 24 lines compiled, 0.2 sec
(1022) 2 hint(s) issued
Hint: (lazarus) Compiler params changed for atflatcontrols_package 2.1
Old="-Tlinux -MObjFPC -Scghi -Cg -O1 -g -gl -Fi/home/one/cudatext_up/src/ATFlatControls/atflatcontrols/res -Fu/usr/share/lazarus/3.0.0/packager/units/x86_64-linux -Fu/usr/share/lazarus/3.0.0/components/lazutils/lib/x86_64-linux -Fu/usr/share/lazarus/3.0.0/components/freetype/lib/x86_64-linux -Fu/usr/share/lazarus/3.0.0/lcl/units/x86_64-linux -Fu/usr/share/lazarus/3.0.0/lcl/units/x86_64-linux/gtk2 -Fu/home/one/cudatext_up/src/ATFlatControls/atflatcontrols/ -FU/home/one/cudatext_up/src/ATFlatControls/atflatcontrols/lib/x86_64-linux/ -dLCL -dLCLgtk2 atflatcontrols_package.pas"
Now="-MObjFPC -Scghi -Cg -O1 -g -gl -Fi/home/one/cudatext_up/src/ATFlatControls/atflatcontrols/res -Fu/usr/share/lazarus/3.0.0/packager/units/x86_64-linux -Fu/usr/share/lazarus/3.0.0/components/lazutils/lib/x86_64-linux -Fu/usr/share/lazarus/3.0.0/components/freetype/lib/x86_64-linux -Fu/usr/share/lazarus/3.0.0/lcl/units/x86_64-linux -Fu/usr/share/lazarus/3.0.0/lcl/units/x86_64-linux/gtk2 -Fu/home/one/cudatext_up/src/ATFlatControls/atflatcontrols/ -FU/home/one/cudatext_up/src/ATFlatControls/atflatcontrols/lib/x86_64-linux/ -dLCL -dLCLgtk2 atflatcontrols_package.pas"
State file="/home/one/cudatext_up/src/ATFlatControls/atflatcontrols/lib/x86_64-linux/atflatcontrols_package.compiled"
Hint: (11030) Start of reading config file /etc/fpc.cfg
Hint: (11031) End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 3.2.2 [2021/07/09] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
(1002) Target OS: Linux for x86-64
(3104) Compiling atflatcontrols_package.pas
(1008) 23 lines compiled, 0.2 sec
(1022) 2 hint(s) issued
Error: (lazbuild) Broken dependency: atsynedit_package 2.18->BGRABitmapPack
Error: (lazbuild) Broken dependency: atsynedit_cmp_package 2.2->atsynedit_package 2.18->BGRABitmapPack
Error: (lazbuild) Package ./src/ATSynEdit_Cmp/atsynedit_cmp/atsynedit_cmp_package.lpk is only for runtime.
Error: (lazbuild) Broken dependency: econtrol_package 2.1->atsynedit_package 2.18->BGRABitmapPack
Error: (lazbuild) Package ./src/EControl/econtrol/econtrol_package.lpk is only for runtime.
Error: (lazbuild) Broken dependency: atsynedit_ex_package 2.0->econtrol_package
Error: (lazbuild) Package ./src/ATSynEdit_Ex/atsynedit_ex/atsynedit_ex_package.lpk is only for runtime.
Hint: (lazarus) Compiler params changed for python4lazarus_package 1.4
Old="-Tlinux -MDelphi -Scgi -Cg -O1 -g -gl -Xg -Fu/usr/share/lazarus/3.0.0/packager/units/x86_64-linux -Fu/usr/share/lazarus/3.0.0/components/lazutils/lib/x86_64-linux -Fu/usr/share/lazarus/3.0.0/components/freetype/lib/x86_64-linux -Fu/usr/share/lazarus/3.0.0/lcl/units/x86_64-linux -Fu/usr/share/lazarus/3.0.0/lcl/units/x86_64-linux/gtk2 -Fu/home/one/cudatext_up/src/Python-for-Lazarus/python4lazarus/ -FU/home/one/cudatext_up/src/Python-for-Lazarus/python4lazarus/lib/x86_64-linux/ -dLCL -dLCLgtk2 python4lazarus_package.pas"
Now="-MDelphi -Scgi -Cg -O1 -g -gl -Xg -Fu/usr/share/lazarus/3.0.0/packager/units/x86_64-linux -Fu/usr/share/lazarus/3.0.0/components/lazutils/lib/x86_64-linux -Fu/usr/share/lazarus/3.0.0/components/freetype/lib/x86_64-linux -Fu/usr/share/lazarus/3.0.0/lcl/units/x86_64-linux -Fu/usr/share/lazarus/3.0.0/lcl/units/x86_64-linux/gtk2 -Fu/home/one/cudatext_up/src/Python-for-Lazarus/python4lazarus/ -FU/home/one/cudatext_up/src/Python-for-Lazarus/python4lazarus/lib/x86_64-linux/ -dLCL -dLCLgtk2 python4lazarus_package.pas"
State file="/home/one/cudatext_up/src/Python-for-Lazarus/python4lazarus/lib/x86_64-linux/python4lazarus_package.compiled"
Hint: (11030) Start of reading config file /etc/fpc.cfg
Hint: (11031) End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 3.2.2 [2021/07/09] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
(1002) Target OS: Linux for x86-64
(3104) Compiling python4lazarus_package.pas
(1008) 23 lines compiled, 0.2 sec
(1022) 2 hint(s) issued
Hint: (lazarus) Compiler params changed for emmet_package 1.0
Old="-Tlinux -MObjFPC -Scghi -Cg -O1 -g -gl -Fu/usr/share/lazarus/3.0.0/packager/units/x86_64-linux -Fu/usr/share/lazarus/3.0.0/components/lazutils/lib/x86_64-linux -Fu/usr/share/lazarus/3.0.0/components/freetype/lib/x86_64-linux -Fu/usr/share/lazarus/3.0.0/lcl/units/x86_64-linux -Fu/usr/share/lazarus/3.0.0/lcl/units/x86_64-linux/gtk2 -Fu/home/one/cudatext_up/src/Emmet-Pascal/emmet/ -FU/home/one/cudatext_up/src/Emmet-Pascal/emmet/lib/x86_64-linux/ -dLCL -dLCLgtk2 emmet_package.pas"
Now="-MObjFPC -Scghi -Cg -O1 -g -gl -Fu/usr/share/lazarus/3.0.0/packager/units/x86_64-linux -Fu/usr/share/lazarus/3.0.0/components/lazutils/lib/x86_64-linux -Fu/usr/share/lazarus/3.0.0/components/freetype/lib/x86_64-linux -Fu/usr/share/lazarus/3.0.0/lcl/units/x86_64-linux -Fu/usr/share/lazarus/3.0.0/lcl/units/x86_64-linux/gtk2 -Fu/home/one/cudatext_up/src/Emmet-Pascal/emmet/ -FU/home/one/cudatext_up/src/Emmet-Pascal/emmet/lib/x86_64-linux/ -dLCL -dLCLgtk2 emmet_package.pas"
State file="/home/one/cudatext_up/src/Emmet-Pascal/emmet/lib/x86_64-linux/emmet_package.compiled"
Hint: (11030) Start of reading config file /etc/fpc.cfg
Hint: (11031) End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 3.2.2 [2021/07/09] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
(1002) Target OS: Linux for x86-64
(3104) Compiling emmet_package.pas
(1008) 15 lines compiled, 0.2 sec
(1022) 2 hint(s) issued
Error: (lazbuild) Package ./src/Emmet-Pascal/emmet/emmet_package.lpk is only for runtime.
Error: (lazbuild) Broken dependency: atsynedit_package 2.18->BGRABitmapPack
rm: невозможно удалить './src/CudaText/app/cudatext': Нет такого файла или каталога
Error: (lazbuild) Broken dependency: BGRABitmapPack
cp: не удалось выполнить stat для './src/CudaText/app/cudatext': Нет такого файла или каталога
Code: Select all
(1008) 15 lines compiled, 0.2 sec
(1022) 2 hint(s) issued
Error: (lazbuild) Package ./src/Emmet-Pascal/emmet/emmet_package.lpk is only for runtime.
Error: (lazbuild) Broken dependency: atsynedit_package 2.18->BGRABitmapPack
rm: невозможно удалить './src/CudaText/app/cudatext': Нет такого файла или каталога
Error: (lazbuild) Broken dependency: BGRABitmapPack
cp: не удалось выполнить stat для './src/CudaText/app/cudatext': Нет такого файла или каталога
Не нашел файл lpl, чтобы открыть его в Lazarus
-
- Posts: 2245
- Joined: 25.08.2021 18:15
1. ошибки c BGRAbitmap: может потому что я уже использую другую "ветку".
~/cuda/bgrabitmap$ git status
On branch dev-bgrabitmap
попробуйте активировать Гитом другую ветку в папке пакета.
$ git checkout dev-bgrabitmap
2. "Не нашел файл lpl, чтобы открыть его в Lazarus" - не LPL а *.LPI для самой Куды и *.LPK для каждого пакета.
~/cuda/bgrabitmap$ git status
On branch dev-bgrabitmap
попробуйте активировать Гитом другую ветку в папке пакета.
$ git checkout dev-bgrabitmap
2. "Не нашел файл lpl, чтобы открыть его в Lazarus" - не LPL а *.LPI для самой Куды и *.LPK для каждого пакета.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Удалил каталог ~/cudatext_up
Создал, скопировал в него CudaText_up-master.zip, распаковал в ~/cudatext_up, запустил ./cudaup.sh -g -p -m однократно
Файлы скачались без ошибок, в конце ошибки, вывод в консоли
https://pastebin.com/QuVAar22
Создал, скопировал в него CudaText_up-master.zip, распаковал в ~/cudatext_up, запустил ./cudaup.sh -g -p -m однократно
Файлы скачались без ошибок, в конце ошибки, вывод в консоли
https://pastebin.com/QuVAar22
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Попробовал разные варианты, не получилось:
Code: Select all
$ cd /home/one/cudatext_up/
$ git checkout dev-bgrabitmap:
error: pathspec 'dev-bgrabitmap' did not match any file(s) known to git
one@one-samsung-work:~/cudatext_up$ git checkout dev-bgrabitmap
error: pathspec 'dev-bgrabitmap' did not match any file(s) known to git
one@one-samsung-work:~/cudatext_up$ cd /home/one/cudatext_up/src/bgrabitmap/bgrabitmap/
one@one-samsung-work:~/cudatext_up/src/bgrabitmap/bgrabitmap$ git checkout dev-bgrabitmap
fatal: detected dubious ownership in repository at '/home/one/cudatext_up/src/bgrabitmap'
To add an exception for this directory, call:
git config --global --add safe.directory /home/one/cudatext_up/src/bgrabitmap
one@one-samsung-work:~/cudatext_up/src/bgrabitmap/bgrabitmap$ cd /home/one/cudatext_up/src/bgrabitmap/
one@one-samsung-work:~/cudatext_up/src/bgrabitmap$ git checkout dev-bgrabitmap
fatal: detected dubious ownership in repository at '/home/one/cudatext_up/src/bgrabitmap'
To add an exception for this directory, call:
git config --global --add safe.directory /home/one/cudatext_up/src/bgrabitmap
one@one-samsung-work:~/cudatext_up/src/bgrabitmap$ sudo git checkout dev-bgrabitmap
[sudo] пароль для one:
error: pathspec 'dev-bgrabitmap' did not match any file(s) known to git
one@one-samsung-work:~/cudatext_up/src/bgrabitmap$ cd /home/one/cudatext_up/src/bgrabitmap/
one@one-samsung-work:~/cudatext_up/src/bgrabitmap$ sudo git checkout dev-bgrabitmap
error: pathspec 'dev-bgrabitmap' did not match any file(s) known to git
one@one-samsung-work:~/cudatext_up/src/bgrabitmap$
-
- Posts: 2245
- Joined: 25.08.2021 18:15
1. git не надо запускать с 'sudo'
2.
вот верная команда ваша-
one@one-samsung-work:~/cudatext_up/src/bgrabitmap$ git checkout dev-bgrabitmap
fatal: detected dubious ownership in repository at '/home/one/cudatext_up/src/bgrabitmap'
To add an exception for this directory, call:
git config --global --add safe.directory /home/one/cudatext_up/src/bgrabitmap
оно дает совет что еще запустить, перед тем как выполнить checkout. попробуйте этот совет. и потом еще раз запустите checkout.
2.
вот верная команда ваша-
one@one-samsung-work:~/cudatext_up/src/bgrabitmap$ git checkout dev-bgrabitmap
fatal: detected dubious ownership in repository at '/home/one/cudatext_up/src/bgrabitmap'
To add an exception for this directory, call:
git config --global --add safe.directory /home/one/cudatext_up/src/bgrabitmap
оно дает совет что еще запустить, перед тем как выполнить checkout. попробуйте этот совет. и потом еще раз запустите checkout.
Пробую
Нашел по "did not match any file(s) known to git" совет:
Git: cannot checkout branch - error: pathspec '...' did not match any file(s) known to git - Stack Overflow
https://stackoverflow.com/questions/598 ... kn#7334027
Try:
Получилось:
Запускаю
one@one-samsung-work:~/cudatext_up$ ./cudaup.sh -g -p -m :
хотя
Code: Select all
one@one-samsung-work:~/cudatext_up/src/bgrabitmap/bgrabitmap$ git checkout dev-bgrabitmap
error: pathspec 'dev-bgrabitmap' did not match any file(s) known to git
Git: cannot checkout branch - error: pathspec '...' did not match any file(s) known to git - Stack Overflow
https://stackoverflow.com/questions/598 ... kn#7334027
Try:
Code: Select all
git checkout -b yourbranchname
Code: Select all
one@one-samsung-work:~/cudatext_up/src/bgrabitmap/bgrabitmap$ git checkout -b dev-bgrabitmap
Переключились на новую ветку «dev-bgrabitmap»
one@one-samsung-work:~/cudatext_up$ ./cudaup.sh -g -p -m :
Code: Select all
one@one-samsung-work:~/cudatext_up$ ./cudaup.sh -g -p -m
Pulling https://github.com/bgrabitmap/bgrabitmap
fatal: вышестоящая ветка не настроена для ветки «dev-bgrabitmap»
fatal: У текущей ветки нет внешнего репозитория.
...
ошибки
Code: Select all
one@one-samsung-work:~/cudatext_up/src$ cd ./bgrabitmap/
one@one-samsung-work:~/cudatext_up/src/bgrabitmap$ git checkout -b dev-bgrabitmap
fatal: Ветка с именем «dev-bgrabitmap» уже существует.
one@one-samsung-work:~/cudatext_up/src/bgrabitmap$ cd ./bgrabitmap/
one@one-samsung-work:~/cudatext_up/src/bgrabitmap/bgrabitmap$ git checkout -b dev-bgrabitmap
fatal: Ветка с именем «dev-bgrabitmap» уже существует.
one@one-samsung-work:~/cudatext_up/src/bgrabitmap/bgrabitmap$