Author Topic: Dialog check doesn't work  (Read 991 times)

Leeloo

  • Hydlaa Resident
  • *
  • Posts: 161
    • View Profile
Dialog check doesn't work
« on: August 06, 2005, 09:40:58 am »
kfr:planeshift$ sh /home/src/download/PlaneShift_CBV0.3.011.linux.x86-UPDATE.run
Creating directory ps.cb.03.011.linux.x86.update
Verifying archive integrity... All good.
Uncompressing Update For Planeshift Crystal Blue Version 3.011..
Checking if dialog program is installed...
Dialog program, which is required to use this software, cannot be found.
Please install this program before continuing Planeshift installation.
You may obtain it from your distribution FTP or install disk.
kfr:planeshift$ dialog          

dialog version 0.62.
Display dialog boxes from shell scripts *

Usage: dialog --clear
       dialog --create-rc
       dialog [--title ] [--separate-output] [--backtitle <backtitle>] [--clear] <Box options><br /><br />Box options:<br /><br />  --yesno     <text> <height> <width><br />  --msgbox    <text> <height> <width><br />  --infobox   <text> <height> <width><br />  --inputbox  <text> <height> <width> [<init>]<br />  --textbox   <file> <height> <width><br />  --menu      <text> <height> <width> <menu height> <tag1> <item1>...<br />  --checklist <text> <height> <width> <list height> <tag1> <item1> <status1>...<br />  --radiolist <text> <height> <width> <list height> <tag1> <item1> <status1>...<br />  --gauge     <text> <height> <width> <percent><br />kfr:planeshift$<br /><br />Looking a bit at the install script, it looks like the reason is that you are checking for exit status 0, but running dialog without parameters gives 255.<br /><br />Update: removing the dialog check didn\'t help, the script tries to use parameters that dialog never heard about (--exit-label) and dialog boxes larger than the terminal.<br /><br />Update: Got the installer running by removing --exit-label, setting the size to 80x24 and changing another check for 0 to 255. And now that it\'s installed (along with a couple of weird libraries it suddenly depends on, libmng and liblcms), it just dies after radiooff and radioon, just like \"The Doctor\".</div> </div> </div> <div class="moderatorbar"> <div class="smalltext modified" id="modified_201049"> « <em>Last Edit: August 06, 2005, 10:13:37 am by Leeloo</em> » </div> <div class="smalltext reportlinks"> <img src="https://www.hydlaaplaza.com/PlaneShift/smf/Themes/eazyblue_20g/images/ip.gif" alt="" /> Logged </div> </div> </div> <span class="botslice"><span></span></span> </div> <hr class="post_separator" /> <a id="msg201107"></a> <div class="windowbg2"> <span class="topslice"><span></span></span> <div class="post_wrapper"> <div class="poster"> <h4> <a href="https://www.hydlaaplaza.com/PlaneShift/smf/index.php?action=profile;u=11292" title="View the profile of Platyna">Platyna</a> </h4> <ul class="reset smalltext" id="msg_201107_extra_info"> <li class="postgroup">Hydlaa Notable</li> <li class="stars"><img src="https://www.hydlaaplaza.com/PlaneShift/smf/Themes/eazyblue_20g/images/7.gif" alt="*" /></li> <li class="postcount">Posts: 556</li> <li class="profile"> <ul> <li><a href="https://www.hydlaaplaza.com/PlaneShift/smf/index.php?action=profile;u=11292"><img src="https://www.hydlaaplaza.com/PlaneShift/smf/Themes/eazyblue_20g/images/icons/profile_sm.gif" alt="View Profile" title="View Profile" /></a></li> </ul> </li> </ul> </div> <div class="postarea"> <div class="flow_hidden"> <div class="keyinfo"> <div class="messageicon"> <img src="https://www.hydlaaplaza.com/PlaneShift/smf/Themes/eazyblue_20g/images/post/xx.gif" alt="" /> </div> <h5 id="subject_201107"> <a href="https://www.hydlaaplaza.com/PlaneShift/smf/index.php?topic=18279.msg201107#msg201107" rel="nofollow">(No subject)</a> </h5> <div class="smalltext">« <strong>Reply #1 on:</strong> August 06, 2005, 01:45:10 pm »</div> <div id="msg_201107_quick_mod"></div> </div> </div> <div class="post"> <div class="inner" id="msg_201107">Hmz, good to know...anyway weird, I have tested dialog check on my machine<br />and it seemed to work. Anyway I will take a look on it today.<br />--exit-label is not listed in the manual, anyway my version: 0.9b-20031207<br />seems to underestand it well. I changed exit button label because some<br />people were bothered with that Exit button and yesno window not supports<br />scrolling throught the file...<br /><br /><br />Regards.</div> </div> </div> <div class="moderatorbar"> <div class="smalltext modified" id="modified_201107"> </div> <div class="smalltext reportlinks"> <img src="https://www.hydlaaplaza.com/PlaneShift/smf/Themes/eazyblue_20g/images/ip.gif" alt="" /> Logged </div> <div class="signature" id="msg_201107_signature">Zuzanna K. Filutowska<br /><a href="http://forum.elite.t28.net/" class="bbc_link" target="_blank" rel="noopener noreferrer">RPG Players Community</a> || <a href="http://planeshift.xpam.de/" class="bbc_link" target="_blank" rel="noopener noreferrer">Platyna\'s Planeshift Warehouse</a><br /><strong>\"The only thing necessary for evil to triumph is for good men to do nothing.\" -- Edward Burke</strong></div> </div> </div> <span class="botslice"><span></span></span> </div> <hr class="post_separator" /> <a id="msg201129"></a> <div class="windowbg"> <span class="topslice"><span></span></span> <div class="post_wrapper"> <div class="poster"> <h4> <a href="https://www.hydlaaplaza.com/PlaneShift/smf/index.php?action=profile;u=15607" title="View the profile of Leeloo">Leeloo</a> </h4> <ul class="reset smalltext" id="msg_201129_extra_info"> <li class="postgroup">Hydlaa Resident</li> <li class="stars"><img src="https://www.hydlaaplaza.com/PlaneShift/smf/Themes/eazyblue_20g/images/2.gif" alt="*" /></li> <li class="postcount">Posts: 161</li> <li class="profile"> <ul> <li><a href="https://www.hydlaaplaza.com/PlaneShift/smf/index.php?action=profile;u=15607"><img src="https://www.hydlaaplaza.com/PlaneShift/smf/Themes/eazyblue_20g/images/icons/profile_sm.gif" alt="View Profile" title="View Profile" /></a></li> </ul> </li> </ul> </div> <div class="postarea"> <div class="flow_hidden"> <div class="keyinfo"> <div class="messageicon"> <img src="https://www.hydlaaplaza.com/PlaneShift/smf/Themes/eazyblue_20g/images/post/xx.gif" alt="" /> </div> <h5 id="subject_201129"> <a href="https://www.hydlaaplaza.com/PlaneShift/smf/index.php?topic=18279.msg201129#msg201129" rel="nofollow">(No subject)</a> </h5> <div class="smalltext">« <strong>Reply #2 on:</strong> August 06, 2005, 03:18:31 pm »</div> <div id="msg_201129_quick_mod"></div> </div> </div> <div class="post"> <div class="inner" id="msg_201129">I have version 0.62 - maybe it\'s time to upgrade, if I could just figure out their version numbering.<br /><br />But the terminal size one is stupid IMHO, the installer shouldn\'t expect anything bigger than the standard 80x24.</div> </div> </div> <div class="moderatorbar"> <div class="smalltext modified" id="modified_201129"> </div> <div class="smalltext reportlinks"> <img src="https://www.hydlaaplaza.com/PlaneShift/smf/Themes/eazyblue_20g/images/ip.gif" alt="" /> Logged </div> </div> </div> <span class="botslice"><span></span></span> </div> <hr class="post_separator" /> <a id="msg201205"></a> <div class="windowbg2"> <span class="topslice"><span></span></span> <div class="post_wrapper"> <div class="poster"> <h4> <a href="https://www.hydlaaplaza.com/PlaneShift/smf/index.php?action=profile;u=11292" title="View the profile of Platyna">Platyna</a> </h4> <ul class="reset smalltext" id="msg_201205_extra_info"> <li class="postgroup">Hydlaa Notable</li> <li class="stars"><img src="https://www.hydlaaplaza.com/PlaneShift/smf/Themes/eazyblue_20g/images/7.gif" alt="*" /></li> <li class="postcount">Posts: 556</li> <li class="profile"> <ul> <li><a href="https://www.hydlaaplaza.com/PlaneShift/smf/index.php?action=profile;u=11292"><img src="https://www.hydlaaplaza.com/PlaneShift/smf/Themes/eazyblue_20g/images/icons/profile_sm.gif" alt="View Profile" title="View Profile" /></a></li> </ul> </li> </ul> </div> <div class="postarea"> <div class="flow_hidden"> <div class="keyinfo"> <div class="messageicon"> <img src="https://www.hydlaaplaza.com/PlaneShift/smf/Themes/eazyblue_20g/images/post/xx.gif" alt="" /> </div> <h5 id="subject_201205"> <a href="https://www.hydlaaplaza.com/PlaneShift/smf/index.php?topic=18279.msg201205#msg201205" rel="nofollow">(No subject)</a> </h5> <div class="smalltext">« <strong>Reply #3 on:</strong> August 06, 2005, 07:13:06 pm »</div> <div id="msg_201205_quick_mod"></div> </div> </div> <div class="post"> <div class="inner" id="msg_201205">Hmz. Running dialog without arguments obviously gives exit code 0 here but<br />on a second machine it indeed gives 255...<br /><br /><br />Regards.</div> </div> </div> <div class="moderatorbar"> <div class="smalltext modified" id="modified_201205"> </div> <div class="smalltext reportlinks"> <img src="https://www.hydlaaplaza.com/PlaneShift/smf/Themes/eazyblue_20g/images/ip.gif" alt="" /> Logged </div> <div class="signature" id="msg_201205_signature">Zuzanna K. Filutowska<br /><a href="http://forum.elite.t28.net/" class="bbc_link" target="_blank" rel="noopener noreferrer">RPG Players Community</a> || <a href="http://planeshift.xpam.de/" class="bbc_link" target="_blank" rel="noopener noreferrer">Platyna\'s Planeshift Warehouse</a><br /><strong>\"The only thing necessary for evil to triumph is for good men to do nothing.\" -- Edward Burke</strong></div> </div> </div> <span class="botslice"><span></span></span> </div> <hr class="post_separator" /> </form> </div> <a id="lastPost"></a> <div class="pagesection"> <div class="buttonlist floatright"> <ul> <li><a class="button_strip_print" href="https://www.hydlaaplaza.com/PlaneShift/smf/index.php?action=printpage;topic=18279.0" rel="new_win nofollow"><span class="last">Print</span></a></li> </ul> </div> <div class="pagelinks floatleft">Pages: [<strong>1</strong>] </div> <div class="nextlinks_bottom"><a href="https://www.hydlaaplaza.com/PlaneShift/smf/index.php?topic=18279.0;prev_next=prev#new">« previous</a> <a href="https://www.hydlaaplaza.com/PlaneShift/smf/index.php?topic=18279.0;prev_next=next#new">next »</a></div> </div> <div class="navigate_section"> <ul> <li> <a href="https://www.hydlaaplaza.com/PlaneShift/smf/index.php"><span>PlaneShift</span></a> >> </li> <li> <a href="https://www.hydlaaplaza.com/PlaneShift/smf/index.php#c14"><span>Support</span></a> >> </li> <li> <a href="https://www.hydlaaplaza.com/PlaneShift/smf/index.php?board=41.0"><span>Linux Specific Issues</span></a> (Moderator: <a href="https://www.hydlaaplaza.com/PlaneShift/smf/index.php?action=profile;u=32117" title="Board Moderator">weltall</a>) >> </li> <li class="last"> <a href="https://www.hydlaaplaza.com/PlaneShift/smf/index.php?topic=18279.0"><span>Dialog check doesn't work</span></a> </li> </ul> </div> <div id="moderationbuttons"></div> <div class="plainbox" id="display_jump_to"> </div> <br class="clear" /> <script type="text/javascript" src="https://www.hydlaaplaza.com/PlaneShift/smf/Themes/default/scripts/topic.js"></script> <script type="text/javascript"><!-- // --><![CDATA[ if ('XMLHttpRequest' in window) { var oQuickModify = new QuickModify({ sScriptUrl: smf_scripturl, bShowModify: true, iTopicId: 18279, sTemplateBodyEdit: '\n\t\t\t\t\t\t\t\t<div id="quick_edit_body_container" style="width: 90%">\n\t\t\t\t\t\t\t\t\t<div id="error_box" style="padding: 4px;" class="error"><' + '/div>\n\t\t\t\t\t\t\t\t\t<textarea class="editor" name="message" rows="12" style="width: 100%; margin-bottom: 10px;" tabindex="1">%body%<' + '/textarea><br />\n\t\t\t\t\t\t\t\t\t<input type="hidden" name="bcf28049" value="b4891bde55f280fd902044e162c5b6fb" />\n\t\t\t\t\t\t\t\t\t<input type="hidden" name="topic" value="18279" />\n\t\t\t\t\t\t\t\t\t<input type="hidden" name="msg" value="%msg_id%" />\n\t\t\t\t\t\t\t\t\t<div class="righttext">\n\t\t\t\t\t\t\t\t\t\t<input type="submit" name="post" value="Save" tabindex="2" onclick="return oQuickModify.modifySave(\'b4891bde55f280fd902044e162c5b6fb\', \'bcf28049\');" accesskey="s" class="button_submit" />  <input type="submit" name="cancel" value="Cancel" tabindex="3" onclick="return oQuickModify.modifyCancel();" class="button_submit" />\n\t\t\t\t\t\t\t\t\t<' + '/div>\n\t\t\t\t\t\t\t\t<' + '/div>', sTemplateSubjectEdit: '<input type="text" style="width: 90%;" name="subject" value="%subject%" size="80" maxlength="80" tabindex="4" class="input_text" />', sTemplateBodyNormal: '%body%', sTemplateSubjectNormal: '<a hr'+'ef="https://www.hydlaaplaza.com/PlaneShift/smf/index.php'+'?topic=18279.msg%msg_id%#msg%msg_id%" rel="nofollow">%subject%<' + '/a>', sTemplateTopSubject: 'Topic: %subject%  (Read 991 times)', sErrorBorderStyle: '1px solid red' }); aJumpTo[aJumpTo.length] = new JumpTo({ sContainerId: "display_jump_to", sJumpToTemplate: "<label class=\"smalltext\" for=\"%select_id%\">Jump to:<" + "/label> %dropdown_list%", iCurBoardId: 41, iCurBoardChildLevel: 0, sCurBoardName: "Linux Specific Issues", sBoardChildLevelIndicator: "==", sBoardPrefix: "=> ", sCatSeparator: "-----------------------------", sCatPrefix: "", sGoButtonLabel: "go" }); aIconLists[aIconLists.length] = new IconList({ sBackReference: "aIconLists[" + aIconLists.length + "]", sIconIdPrefix: "msg_icon_", sScriptUrl: smf_scripturl, bShowModify: true, iBoardId: 41, iTopicId: 18279, sSessionId: "b4891bde55f280fd902044e162c5b6fb", sSessionVar: "bcf28049", sLabelIconList: "Message Icon", sBoxBackground: "transparent", sBoxBackgroundHover: "#ffffff", iBoxBorderWidthHover: 1, sBoxBorderColorHover: "#adadad" , sContainerBackground: "#ffffff", sContainerBorder: "1px solid #adadad", sItemBorder: "1px solid #ffffff", sItemBorderHover: "1px dotted gray", sItemBackground: "transparent", sItemBackgroundHover: "#e0e0f0" }); } // ]]></script> <script type="text/javascript"><!-- // --><![CDATA[ var verificationpostHandle = new smfCaptcha("https://www.hydlaaplaza.com/PlaneShift/smf/index.php?action=verificationcode;vid=post;rand=f0d44adac35d6c3af7171c02dcbf836c", "post", 1); // ]]></script> </div> </div> <div id="footer"> <div id="foot-wrap"> <div id="footerarea"> <div class="foot-left"> </div> <div class="foot-right"> <ul class="reset" style="display-inline;"> <li class="copyright"> <span class="smalltext" style="display: inline; visibility: visible; font-family: Verdana, Arial, sans-serif;"><a href="https://www.hydlaaplaza.com/PlaneShift/smf/index.php?action=credits" title="Simple Machines Forum" target="_blank" class="new_win">SMF 2.0.19</a> | <a href="https://www.simplemachines.org/about/smf/license.php" title="License" target="_blank" class="new_win">SMF © 2021</a>, <a href="https://www.simplemachines.org" title="Simple Machines" target="_blank" class="new_win">Simple Machines</a> </span></li> </ul> </div> <div class="clr"></div> </div> </div> </div> </body></html>