<div dir="ltr"><div><div><div>Hi Frank,<br><br></div>Yes, I dump the image after having loaded everything. However the server tries to load those files when the first client connects. I'm wondering if there's something I'm not loading, even with `:load-contribs t`, or if it's just a default behaviour that can be switched off. I wasn't able to find the answer.<br><br></div>Kind regards,<br><br></div>- Mauro<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 21, 2018 at 5:44 PM, Frank Gönninger <span dir="ltr"><<a href="mailto:frgo@me.com" target="_blank">frgo@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="DE"><div class="m_6941767254298140094WordSection1"><p class="MsoNormal"><span lang="EN-US">Hi Mauro,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">seems as if those modules aren’t part of the image yet. When did you make the image? I assume after loading swank?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> Also I’d ask Franz directly ...<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Regards<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> Frank<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal" style="margin-left:35.4pt"><b><span style="font-size:12.0pt;color:black">Von: </span></b><span style="font-size:12.0pt;color:black">slime-devel <<a href="mailto:slime-devel-bounces@common-lisp.net" target="_blank">slime-devel-bounces@common-<wbr>lisp.net</a>> im Auftrag von Stas Boukarev <<a href="mailto:stassats@gmail.com" target="_blank">stassats@gmail.com</a>><br><b>Datum: </b>Donnerstag, 21. Juni 2018 um 17:04<br><b>An: </b>Mauro D'Agostino <<a href="mailto:mdagostino@ravenpack.com" target="_blank">mdagostino@ravenpack.com</a>><br><b>Cc: </b><<a href="mailto:slime-devel@common-lisp.net" target="_blank">slime-devel@common-lisp.net</a>><br><b>Betreff: </b>Re: Loading and starting Swank on a lisp image<u></u><u></u></span></p></div><div><div class="h5"><div><p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p></div><div><div><div><p class="MsoNormal" style="margin-left:35.4pt">On Thu, Jun 21, 2018 at 5:59 PM Mauro D'Agostino <<a href="mailto:mdagostino@ravenpack.com" target="_blank">mdagostino@ravenpack.com</a>> wrote:<u></u><u></u></p></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><div><div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt">Hello,<u></u><u></u></p></div><p class="MsoNormal" style="margin-left:35.4pt">Is anyone reading this?<u></u><u></u></p></div></div></div></blockquote><div><p class="MsoNormal" style="margin-left:35.4pt">Yes, but nobody is answering. <u></u><u></u></p></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><div><p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p></div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt">Kind regards,<u></u><u></u></p></div><p class="MsoNormal" style="margin-left:35.4pt">Mauro<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p><div><p class="MsoNormal" style="margin-left:35.4pt">On Tue, May 15, 2018 at 12:34 PM, Mauro D'Agostino <<a href="mailto:mdagostino@ravenpack.com" target="_blank">mdagostino@ravenpack.com</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><div><div><div><div><div><div><div><div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt">I'm trying to add a swank server on all of our lisp apps running on images. I want to have everything compiled and loaded, so when I start up the image I don't need to load any .fasl files.<u></u><u></u></p></div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt">I'm using ASDF to load swank and then running:<u></u><u></u></p></div><div style="margin-left:30.0pt"><p class="MsoNormal" style="margin-left:35.4pt">(swank-loader:init :reload t :load-contribs t :quiet nil)<u></u><u></u></p></div><p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p></div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt">On image start up, I'm running:<u></u><u></u></p></div><div style="margin-left:30.0pt"><p class="MsoNormal" style="margin-left:35.4pt">(setf swank::*loopback-interface* "0.0.0.0")<u></u><u></u></p></div></div><div><p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p></div><div style="margin-left:30.0pt"><p class="MsoNormal" style="margin-left:35.4pt">(swank:create-server :port 4005 :dont-close t)<u></u><u></u></p></div><p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p></div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt">Swank starts up fine, but, when the first user tries to connect, it tries to load some .fasl files.<u></u><u></u></p><table class="m_6941767254298140094MsoNormalTable" style="width:5.3%;margin-left:35.4pt" width="5%" cellspacing="0" cellpadding="0" border="0"><tbody><tr id="m_6941767254298140094m_1782912477778735382m_-76827346988009556gmail-syntaxplugin_code_and_gutter"><td style="padding:0cm 0cm 0cm 0cm" valign="top"><pre style="margin-right:7.5pt;margin-bottom:0cm;margin-left:7.5pt;margin-bottom:.0001pt;line-height:16.8pt"><span style="font-size:11.0pt;font-family:Consolas;color:black">; Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-<wbr>asdf.fasl</span><span style="font-size:11.0pt;color:black"><u></u><u></u></span></pre></td></tr><tr id="m_6941767254298140094m_1782912477778735382m_-76827346988009556gmail-syntaxplugin_code_and_gutter"><td style="padding:0cm 0cm 0cm 0cm" valign="top"><pre style="margin-right:7.5pt;margin-bottom:0cm;margin-left:7.5pt;margin-bottom:.0001pt;line-height:16.8pt"><span style="font-size:11.0pt;font-family:Consolas;color:black">; Loading /home/mdagostino/workspace/<wbr>Library/world/site/cl-ppcre-1.<wbr>3.2/cl-ppcre-test.asd</span><span style="font-size:11.0pt;color:black"><u></u><u></u></span></pre></td></tr><tr id="m_6941767254298140094m_1782912477778735382m_-76827346988009556gmail-syntaxplugin_code_and_gutter"><td style="padding:0cm 0cm 0cm 0cm" valign="top"><pre style="margin-right:7.5pt;margin-bottom:0cm;margin-left:7.5pt;margin-bottom:.0001pt;line-height:16.8pt"><span style="font-size:11.0pt;font-family:Consolas;color:black">; Loading /home/mdagostino/workspace/<wbr>Library/world/site/slime-<wbr>20180308-git/contrib/swank-<wbr>media.lisp</span><span style="font-size:11.0pt;color:black"><u></u><u></u></span></pre></td></tr><tr id="m_6941767254298140094m_1782912477778735382m_-76827346988009556gmail-syntaxplugin_code_and_gutter"><td style="padding:0cm 0cm 0cm 0cm" valign="top"><pre style="margin-right:7.5pt;margin-bottom:0cm;margin-left:7.5pt;margin-bottom:.0001pt;line-height:16.8pt"><span style="font-size:11.0pt;font-family:Consolas;color:black">; Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-<wbr>trace-dialog.fasl</span><span style="font-size:11.0pt;color:black"><u></u><u></u></span></pre></td></tr><tr id="m_6941767254298140094m_1782912477778735382m_-76827346988009556gmail-syntaxplugin_code_and_gutter"><td style="padding:0cm 0cm 0cm 0cm" valign="top"><pre style="margin-right:7.5pt;margin-bottom:0cm;margin-left:7.5pt;margin-bottom:.0001pt;line-height:16.8pt"><span style="font-size:11.0pt;font-family:Consolas;color:black">; Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-<wbr>package-fu.fasl</span><span style="font-size:11.0pt;color:black"><u></u><u></u></span></pre></td></tr><tr id="m_6941767254298140094m_1782912477778735382m_-76827346988009556gmail-syntaxplugin_code_and_gutter"><td style="padding:0cm 0cm 0cm 0cm" valign="top"><pre style="margin-right:7.5pt;margin-bottom:0cm;margin-left:7.5pt;margin-bottom:.0001pt;line-height:16.8pt"><span style="font-size:11.0pt;font-family:Consolas;color:black">; Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-<wbr>presentations.fasl</span><span style="font-size:11.0pt;color:black"><u></u><u></u></span></pre></td></tr><tr id="m_6941767254298140094m_1782912477778735382m_-76827346988009556gmail-syntaxplugin_code_and_gutter"><td style="padding:0cm 0cm 0cm 0cm" valign="top"><pre style="margin-right:7.5pt;margin-bottom:0cm;margin-left:7.5pt;margin-bottom:.0001pt;line-height:16.8pt"><span style="font-size:11.0pt;font-family:Consolas;color:black">; Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-<wbr>repl.fasl</span><span style="font-size:11.0pt;color:black"><u></u><u></u></span></pre></td></tr><tr id="m_6941767254298140094m_1782912477778735382m_-76827346988009556gmail-syntaxplugin_code_and_gutter"><td style="padding:0cm 0cm 0cm 0cm" valign="top"><pre style="margin-right:7.5pt;margin-bottom:0cm;margin-left:7.5pt;margin-bottom:.0001pt;line-height:16.8pt"><span style="font-size:11.0pt;font-family:Consolas;color:black">; Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-<wbr>macrostep.fasl</span><span style="font-size:11.0pt;color:black"><u></u><u></u></span></pre></td></tr><tr id="m_6941767254298140094m_1782912477778735382m_-76827346988009556gmail-syntaxplugin_code_and_gutter"><td style="padding:0cm 0cm 0cm 0cm" valign="top"><pre style="margin-right:7.5pt;margin-bottom:0cm;margin-left:7.5pt;margin-bottom:.0001pt;line-height:16.8pt"><span style="font-size:11.0pt;font-family:Consolas;color:black">; Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-<wbr>fuzzy.fasl</span><span style="font-size:11.0pt;color:black"><u></u><u></u></span></pre></td></tr><tr id="m_6941767254298140094m_1782912477778735382m_-76827346988009556gmail-syntaxplugin_code_and_gutter"><td style="padding:0cm 0cm 0cm 0cm" valign="top"><pre style="margin-right:7.5pt;margin-bottom:0cm;margin-left:7.5pt;margin-bottom:.0001pt;line-height:16.8pt"><span style="font-size:11.0pt;font-family:Consolas;color:black">; Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-<wbr>util.fasl</span><span style="font-size:11.0pt;color:black"><u></u><u></u></span></pre></td></tr><tr id="m_6941767254298140094m_1782912477778735382m_-76827346988009556gmail-syntaxplugin_code_and_gutter"><td style="padding:0cm 0cm 0cm 0cm" valign="top"><pre style="margin-right:7.5pt;margin-bottom:0cm;margin-left:7.5pt;margin-bottom:.0001pt;line-height:16.8pt"><span style="font-size:11.0pt;font-family:Consolas;color:black">; Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-c-<wbr>p-c.fasl</span><span style="font-size:11.0pt;color:black"><u></u><u></u></span></pre></td></tr><tr id="m_6941767254298140094m_1782912477778735382m_-76827346988009556gmail-syntaxplugin_code_and_gutter"><td style="padding:0cm 0cm 0cm 0cm" valign="top"><pre style="margin-right:7.5pt;margin-bottom:0cm;margin-left:7.5pt;margin-bottom:.0001pt;line-height:16.8pt"><span style="font-size:11.0pt;font-family:Consolas;color:black">; Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-<wbr>fancy-inspector.fasl</span><span style="font-size:11.0pt;color:black"><u></u><u></u></span></pre></td></tr><tr id="m_6941767254298140094m_1782912477778735382m_-76827346988009556gmail-syntaxplugin_code_and_gutter"><td style="padding:0cm 0cm 0cm 0cm" valign="top"><pre style="margin-right:7.5pt;margin-bottom:7.5pt;margin-left:7.5pt;line-height:16.8pt"><span style="font-size:11.0pt;font-family:Consolas;color:black">; Fast loading /home/mdagostino/.slime/fasl/<wbr>2.20/allegro-10.1as-64bit-ics-<wbr>linux-x86-64/contrib/swank-<wbr>arglists.fasl<u></u><u></u></span></pre></td></tr></tbody></table><p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p></div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt">I tried adding this after doing 'swank:create-server, but it doesn't work:<u></u><u></u></p><div style="margin-left:30.0pt"><p class="MsoNormal" style="margin-left:35.4pt">(setf swank::*find-module* #'(lambda (module)<u></u><u></u></p></div><div style="margin-left:60.0pt"><p class="MsoNormal" style="margin-left:35.4pt"> <wbr> (declare (ignore module))<u></u><u></u></p></div><div style="margin-left:60.0pt"><p class="MsoNormal" style="margin-left:35.4pt"> <wbr> nil))<u></u><u></u></p></div><div style="margin-left:60.0pt"><p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p></div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt">How can I make it so it doesn't look for those files? I would imagine they have already been compiled and loaded into the image. I'm using 'dumplisp to create the image.<u></u><u></u></p></div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt">Thanks in advance!<u></u><u></u></p></div><p class="MsoNormal" style="margin-left:35.4pt"><span class="m_6941767254298140094m1782912477778735382hoenzb"><span style="color:#888888">- Mauro</span></span><u></u><u></u></p></div></blockquote></div><p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p></div></blockquote></div></div></div></div></div></div>
</blockquote></div><br></div>