Добавить кнопку "Отмена" #108

Closed
opened 6 months ago by asmeron · 11 comments
Owner

Кнопка "Отмена" отменяет операцию установки

https://gitea.ublinux.ru/Artwork_Applications/design-ubl-settings-video/src/branch/master/pic/05%28ru_RU%29.png

Кнопка "Отмена" отменяет операцию установки https://gitea.ublinux.ru/Artwork_Applications/design-ubl-settings-video/src/branch/master/pic/05%28ru_RU%29.png
asmeron added the ошибка label 6 months ago
anshn was assigned by asmeron 6 months ago
YanTheKaller was assigned by asmeron 6 months ago
Collaborator
https://gitea.ublinux.ru/YanTheKaller/ubl-settings-video/commit/ca587223cc4343718537511dd110f09a0eb69e1d
anshn commented 6 months ago
Collaborator

Прогресс-бар на все окно окрывается после начала установки

image

Прерываешь на кнопку "Отмена" и падает:

image

Прогресс-бар на все окно окрывается после начала установки ![image](/attachments/ded781c2-c837-4dd4-9165-671b45a5cf99) Прерываешь на кнопку "Отмена" и падает: ![image](/attachments/f1d82561-940e-4add-8de8-4dc9191846f7)
398 KiB
107 KiB
Collaborator
https://gitea.ublinux.ru/YanTheKaller/ubl-settings-video/commit/b392b74e02da388a37258e0675f6559c9a97fb58 https://gitea.ublinux.ru/YanTheKaller/ubl-settings-video/commit/bd2dff94b31c596d07304bfcde09c0b966426d1e
elenav was assigned by asmeron 6 months ago
anshn was unassigned by asmeron 3 months ago
rodion.n was assigned by asmeron 3 months ago
rodion.n closed this issue 3 months ago
Poster
Owner

После нажатии отмена, обязательно удалять лок файл блокировки БД pacman. Иначе БД может остаться заблокированной.

После нажатии отмена, обязательно удалять лок файл блокировки БД pacman. Иначе БД может остаться заблокированной.
rodion.n reopened this issue 3 months ago
Collaborator
https://gitea.ublinux.ru/YanTheKaller/ubl-settings-video/commit/70b1876a1c816a0b3e7bd5ab8b03e618d3fc17c3
Collaborator

Теперь при нажатии отмены прогресс-бар зависает, и выбрать больше ничего нельзя. кнопка отмены работает на постоянных ^C и ничего не происходит. Консоль ничего не выдает
image
Вывод GDB ничего не дает.

pacinstall --install --yolo linux61-nvidia-340xx
PS1="";tput reset; tput cup 0 0; tput ed; pacinstall --install --yolo linux61-nvidia-340xx; STATUS=$?; stty -echo; exit ${STATUS}

[Detaching after fork from child process 13010]
[Detaching after fork from child process 13011]
[New Thread 0x7fffdb7fe6c0 (LWP 13012)]
[Thread 0x7fffda1fa6c0 (LWP 12954) exited]
[Detaching after vfork from child process 13047]
[Detaching after vfork from child process 13048]
[Detaching after vfork from child process 13055]
[Detaching after vfork from child process 13056]
[Detaching after vfork from child process 13057]
[Detaching after vfork from child process 13058]
[Detaching after vfork from child process 13059]
[Detaching after vfork from child process 13060]
[Detaching after vfork from child process 13061]
[Detaching after vfork from child process 13062]

И да, после перезапуска проги пакет в итоге установлен
image

Только сейчас понял что это связано с проблемой
#131

Теперь при нажатии отмены прогресс-бар зависает, и выбрать больше ничего нельзя. кнопка отмены работает на постоянных `^C` и ничего не происходит. Консоль ничего не выдает ![image](/attachments/17ffb778-b8d4-4746-bceb-b6d63b023874) Вывод GDB ничего не дает. ``` pacinstall --install --yolo linux61-nvidia-340xx PS1="";tput reset; tput cup 0 0; tput ed; pacinstall --install --yolo linux61-nvidia-340xx; STATUS=$?; stty -echo; exit ${STATUS} [Detaching after fork from child process 13010] [Detaching after fork from child process 13011] [New Thread 0x7fffdb7fe6c0 (LWP 13012)] [Thread 0x7fffda1fa6c0 (LWP 12954) exited] [Detaching after vfork from child process 13047] [Detaching after vfork from child process 13048] [Detaching after vfork from child process 13055] [Detaching after vfork from child process 13056] [Detaching after vfork from child process 13057] [Detaching after vfork from child process 13058] [Detaching after vfork from child process 13059] [Detaching after vfork from child process 13060] [Detaching after vfork from child process 13061] [Detaching after vfork from child process 13062] ``` И да, после перезапуска проги пакет в итоге установлен ![image](/attachments/3a92eefd-15fd-4d04-87d2-5781846bc2ec) Только сейчас понял что это связано с проблемой https://gitea.ublinux.ru/Applications/ubl-settings-video/issues/131
Collaborator

4b0c6335f1
не надо было второй exit убирать, как оказалось он тоже не просто так был в команде

https://gitea.ublinux.ru/YanTheKaller/ubl-settings-video/commit/4b0c6335f1c4a47150ef1de1816fee48cab2968f не надо было второй exit убирать, как оказалось он тоже не просто так был в команде
Collaborator

Теперь не зависает но разве так должно:

^C; exit 0

; exit0
bash: синтаксическая ошибка рядом с неожиданным маркером ";"
Теперь не зависает но разве так должно: ``` ^C; exit 0 ; exit0 bash: синтаксическая ошибка рядом с неожиданным маркером ";" ```
Collaborator

Ошибка до сих пор имеется

Ошибка до сих пор имеется
Collaborator
https://gitea.ublinux.ru/YanTheKaller/ubl-settings-video/commit/33dc651182bc030fef8f0cdfbfab5103f85535d7
Collaborator

Отмена функционирует. Закрываю.
image

Отмена функционирует. Закрываю. ![image](/attachments/107aedb8-63f2-425d-92d4-cdcd61878608)
rodion.n closed this issue 1 month ago
Sign in to join this conversation.
No Milestone
No project
4 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: Applications/ubl-settings-video#108
Loading…
There is no content yet.