Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swiftdialog terminates when bannerimage is not reachable #217

Closed
colorenz opened this issue Jan 6, 2023 · 2 comments · Fixed by #262
Closed

swiftdialog terminates when bannerimage is not reachable #217

colorenz opened this issue Jan 6, 2023 · 2 comments · Fixed by #262
Assignees
Labels
bug Something isn't working in progress

Comments

@colorenz
Copy link

colorenz commented Jan 6, 2023

Hi,

swiftdialog terminates when bannerimage is not reachable. It would be good if then simply no banner or a standard banner is displayed.

/usr/local/bin/dialog: line 29: 47587 Trace/BPT trap: 5 "$dialogbin" "$@"

Testcode:


#!/bin/bash
dialogApp="/usr/local/bin/dialog"
successCommandFile=$( mktemp /var/tmp/dialogSuccess.XXX )
bannerimage="https://ekgaming.com/wp-content/uploads/2017/12/apple-logo-banner.png "
#bannerimage="https://ekgaming.com/wp-content/uploads/2017/12/apple-logo-banner.png"

message="test"

dialogSucessCMD="$dialogApp \
--title \"none\" \
--bannerimage \"$bannerimage\" \
--message \"$message\" \
--bannerimage \"$bannerimage\" \
--commandfile \"$successCommandFile\" "


eval "${dialogSucessCMD[*]}" & sleep 0.3

@PhantomPhixer
Copy link

this has just caused me two days of pain until we found this issue. Thanks for reporting it. We are using a local image file that hadn't deployed.

@bartreardon
Copy link
Collaborator

this should be fixed as part of #239

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working in progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants