<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Dear mcstas-users,
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
If you ever encounter the below error from mcgui versions < 2.3 (forthcoming release),<br class="">
<br class="">
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Tk::Error###: This shouldn't happen at /usr/share/perl/5.18/Text/Wrap.pm line 84.</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> Tk callback for .toplevel</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> Text::Wrap::wrap at /usr/share/perl/5.18/Text/Wrap.pm line 84</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> main::run_dialog_create at /usr/local/bin/mcgui line 752</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> main::run_dialog at /usr/local/bin/mcgui line 824</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> main::my_system at /usr/local/bin/mcgui line 985</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> main::menu_run_simulation at /usr/local/bin/mcgui line 1320</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> main::__ANON__ at /usr/local/bin/mcgui line 1752</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> Tk callback for .frame1.button</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> Tk::__ANON__ at /usr/lib/perl5/Tk.pm line 251</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> Tk::Button::butUp at /usr/lib/perl5/Tk/Button.pm line 175</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> <ButtonRelease-1></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> (command bound to event)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;" class="">
<br class="">
</div>
<div class="">- then the fix is to replace the function run_dialog_create in your mcgui as described here:</div>
<div class=""><br class="">
</div>
<div class=""><a href="http://www.mcstas.org/download/share/mcgui-2.2a_fix_wrapping_issue.txt.html" class="">http://www.mcstas.org/download/share/mcgui-2.2a_fix_wrapping_issue.txt.html</a></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class=""><br class="">
</div>
<div class="">Peter</div>
<br class="">
<br class="">
<div apple-content-edited="true" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<table border="0" cellspacing="0" cellpadding="0" width="400px" style="font-family: Arial; font-size: 8pt; color: black; border-collapse: collapse; border-spacing: 2px;" class="">
<tbody class="">
<tr class="">
<td width="400px" colspan="2" valign="top" style="font-weight: bold; font-size: 8pt; margin-bottom: 0px; font-family: Arial;" class="">
Peter Kjær Willendrup</td>
</tr>
<tr class="">
<td width="400px" colspan="2" valign="top" style="color: rgb(155, 155, 155); font-size: 8pt; margin-bottom: 0px; font-family: Arial;" class="">
Senior Research Engineer, Special Advisor</td>
</tr>
<tr class="">
<td width="400px" colspan="2" valign="top" style="font-size: 8pt; margin-bottom: 0px; font-family: Arial;" class="">
</td>
</tr>
<tr class="">
<td width="400px" colspan="2" valign="top" style="font-size: 8pt; margin-bottom: 0px; font-family: Arial; padding-bottom: 5px;" class="">
DTU Physics</td>
</tr>
</tbody>
</table>
</span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><span><span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><span><span><br class="Apple-interchange-newline">
<span><img height="1" width="400" apple-inline="yes" id="9708C9E5-FEC4-4D48-B920-F79904AD5DF1" apple-width="yes" apple-height="yes" src="cid:image001.gif@01CCCAF1.5E6331F0" class=""></span><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; border-collapse: separate; border-spacing: 0px; -webkit-text-decorations-in-effect: none;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 15px;"><br class="Apple-interchange-newline">
<br class="">
</span></span></span></span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri, sans-serif; font-size: 15px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="400" style="width: 300pt; border-collapse: collapse; position: static; z-index: auto;">
<tbody class="">
<tr class="">
<td width="357" valign="top" style="width: 267.5pt; padding: 0cm;" class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<b class=""><span style="font-size: 8pt; font-family: Arial, sans-serif; color: black;" class="">Technical University of Denmark<o:p class=""></o:p></span></b></div>
</td>
<td width="43" rowspan="8" valign="top" style="width: 32.5pt; padding: 0cm;" class="">
<br class="">
</td>
</tr>
</tbody>
</table>
</span></span></span></span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><span><span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><span><span><br class="Apple-interchange-newline">
<span><img height="53" width="36" apple-inline="yes" id="E5E7A5E0-BBF1-488C-A24D-AB6BFC03767F" apple-width="yes" apple-height="yes" src="cid:image002.gif@01CCCAF1.5E6331F0" class=""></span><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; border-collapse: separate;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri, sans-serif;">
<div class=""><br class="Apple-interchange-newline">
<br class="">
</div>
</span></span></span></span></span></span></span><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; border-collapse: collapse; font-family: Calibri, sans-serif; font-size: 15px;">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="400" style="width: 300pt; border-collapse: collapse; position: static; z-index: auto;">
<tbody class="">
<tr class="">
<td width="400" colspan="2" valign="top" style="width: 300pt; padding: 0cm 0cm 3.75pt;" class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="400" style="width: 300pt; border-collapse: collapse; position: static; z-index: auto;">
<tbody class="">
<tr class="">
<td style="padding: 0cm;" class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 8pt; font-family: Arial, sans-serif; color: black;" class="">Department o</span><span style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(31, 73, 125);" class="">f</span><span style="font-size: 8pt; font-family: Arial, sans-serif; color: black;" class=""> Physics<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 8pt; font-family: Arial, sans-serif; color: black;" class="">Fysikvej</span></div>
</td>
</tr>
<tr class="">
<td style="padding: 0cm;" class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 8pt; font-family: Arial, sans-serif; color: black;" class="">Building 307<o:p class=""></o:p></span></div>
</td>
</tr>
<tr class="">
<td style="padding: 0cm;" class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 8pt; font-family: Arial, sans-serif; color: black;" class="">DK-2800 Kongens Lyngby<o:p class=""></o:p></span></div>
</td>
</tr>
<tr class="">
<td style="padding: 0cm;" class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 8pt; font-family: Arial, sans-serif; color: black;" class="">Direct +45 2125 4612<o:p class=""></o:p></span></div>
</td>
</tr>
<tr class="">
<td style="padding: 0cm;" class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 8pt; font-family: Arial, sans-serif; color: black;" class="">Mobil +45 2125 4612<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 8pt; font-family: Arial, sans-serif; color: black;" class="">Fax +45 4593 2399<o:p class=""></o:p></span></div>
</td>
</tr>
</tbody>
</table>
</span></div>
</td>
</tr>
</tbody>
</table>
</span><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; border-collapse: separate;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: collapse;"><a href="mailto:pkwi@fysik.dtu.dk" class="">pkwi@fysik.dtu.dk</a></span></span></span></span></span></span>
</span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></div>
<br class="">
</body>
</html>