<div dir="ltr">I suppose one way of avoiding errors would be to cause zips to be created for every AV book. Would there be any problem with that?<div><br></div><div style>Martin</div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On 26 April 2013 11:25, Martin Denham <span dir="ltr"><<a href="mailto:mjdenham@gmail.com" target="_blank">mjdenham@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">The RusSynodal.zip file has now been successfully created in the correct place in <a href="http://crosswire.org/ftpmirror/pub/sword/avpackages/rawzip/" target="_blank">http://crosswire.org/ftpmirror/pub/sword/avpackages/rawzip/</a> and I have successfully downloaded it to And Bible using 'Download Documents'.<div>
<br></div><div>However, <a href="http://crosswire.org/ftpmirror/pub/sword/avraw/mods.d.tar.gz" target="_blank">http://crosswire.org/ftpmirror/pub/sword/avraw/mods.d.tar.gz</a> appears to contain conf files for all modules, not just those for which zip files have been created. This leads to all modules being available in the download list but only some of them are available as zips. If somebody tries to download a zip that does not exist an error occurs.</div>
<div><br></div><div>Perhaps I am getting the mods.d.tar.gz file from the wrong folder - here is the line I added to InstallManager.plugin to get it to look at the Crosswire AV repo:</div><div>Installer.7=sword-http,CrossWire AV,<a href="http://www.crosswire.org" target="_blank">www.crosswire.org</a>,/ftpmirror/pub/sword/avpackages/rawzip,/ftpmirror/pub/sword/avraw,,,<br>
</div><div><br></div><div>Martin</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On 25 April 2013 21:12, DM Smith <span dir="ltr"><<a href="mailto:dmsmith@crosswire.org" target="_blank">dmsmith@crosswire.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Sorry for not being more specific. The url for the av11n module page is:<div><a href="http://www.crosswire.org/sword/modules/ModDisp.jsp?modType=Bibles&av=true" target="_blank">http://www.crosswire.org/sword/modules/ModDisp.jsp?modType=Bibles&av=true</a></div>
<div><br></div><div>If you scroll to the bottom of the page you'll see a link "Source code for ModDisp.jsp." In there you'll see that you can have a param (with any value, but we use true) of one of the following:</div>
<div><span style="white-space:pre-wrap">        </span>attic, avattic, av, beta, experimental, exp, wycliffe</div><div>If you don't use a param, it'll get the main repository.</div><div><br></div><div>When you click on the download button for a module, it'll create the zip for the module if it doesn't exist. It calls a servlet to do this.</div>
<div><br></div><div>When we publish a module (put the conf in mods.d and files in the proper place) it may have to wait for the nightly job to finish the work. (That is you might have to wait a day to see it in the listing or in mods.d.tar.gz)</div>
<div><br></div><div>Hope this helps.</div><div><br></div><div>In Him,</div><div><span style="white-space:pre-wrap">        </span>DM</div><div><div><div><br></div><div><br><div><div>On Apr 25, 2013, at 3:57 PM, Martin Denham <<a href="mailto:mjdenham@gmail.com" target="_blank">mjdenham@gmail.com</a>> wrote:</div>
<br><blockquote type="cite"><div dir="ltr"><div>I must be looking at the wrong urls.</div><div><br></div>By modules download page do you mean: <a href="http://www.crosswire.org/wiki/Modules_in_the_av11n_repository" target="_blank">http://www.crosswire.org/wiki/Modules_in_the_av11n_repository</a><div>
<br></div><div>because I just requested RusSynodal from the above page but the zip did not appear in <a href="http://crosswire.org/ftpmirror/pub/sword/avpackages/rawzip/" target="_blank">http://crosswire.org/ftpmirror/pub/sword/avpackages/rawzip/</a></div>
<div><br></div><div>Martin</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 25 April 2013 18:15, DM Smith <span dir="ltr"><<a href="mailto:dmsmith@crosswire.org" target="_blank">dmsmith@crosswire.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Troy put in all the repositories into the zip building mechanism.<div><br></div><div>
The way it works is that if a zip is requested via the modules download page, the zip is created at that point.</div><div><br></div><div>The way the code is supposed to work is that if the zip is not there it falls back to an FTP mechanism.</div>
<div><br></div><div>I've got the ftp mechanism mocked up, but not ready to use.</div><div><br></div><div>There is no fall back mechanism from one protocol to the other.</div><span><font color="#888888"><div>
<br></div><div>DM</div></font></span><div><div><br><div><div>On Apr 25, 2013, at 12:53 PM, Martin Denham <<a href="mailto:mjdenham@gmail.com" target="_blank">mjdenham@gmail.com</a>> wrote:</div><br><blockquote type="cite">
<div dir="ltr">Is there any update on this as I am thinking of implementing a temporary fix for the next release to facilitate download of a few much requested Bibles. The temporary fix is not a problem but I don't want to duplicate effort if possible.<div>
<br></div><div>Martin</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 30 March 2013 23:41, DM Smith <span dir="ltr"><<a href="mailto:dmsmith@crosswire.org" target="_blank">dmsmith@crosswire.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>I'm working on an FTP mechanism so that raw can be downloaded.<div>
<br></div><div>Troy might be willing to add the zip downloads.</div><div><br></div><div>In Him,</div></div><div><span><font color="#888888"><span style="white-space:pre-wrap">        </span>DM<br></font></span><div>
<br><div><div><div>On Mar 30, 2013, at 8:59 AM, Martin Denham <<a href="mailto:mjdenham@gmail.com" target="_blank">mjdenham@gmail.com</a>> wrote:</div><br></div><blockquote type="cite"><div><div dir="ltr">
Is it possible to download from <a href="http://crosswire.org/ftpmirror/pub/sword/avraw/" target="_blank">http://crosswire.org/ftpmirror/pub/sword/avraw/</a> using JSword or does avrawzip need to be created before that can be done?<div>
<br></div><div>Martin<br><div><br></div></div></div></div><div>
_______________________________________________<br>jsword-devel mailing list<br><a href="mailto:jsword-devel@crosswire.org" target="_blank">jsword-devel@crosswire.org</a><br><a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>
</div></blockquote></div><br></div></div></div><br>_______________________________________________<br>
jsword-devel mailing list<br>
<a href="mailto:jsword-devel@crosswire.org" target="_blank">jsword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>jsword-devel mailing list<br><a href="mailto:jsword-devel@crosswire.org" target="_blank">jsword-devel@crosswire.org</a><br><a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>
</blockquote></div><br></div></div></div><br>_______________________________________________<br>
jsword-devel mailing list<br>
<a href="mailto:jsword-devel@crosswire.org" target="_blank">jsword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>jsword-devel mailing list<br><a href="mailto:jsword-devel@crosswire.org" target="_blank">jsword-devel@crosswire.org</a><br><a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>
</blockquote></div><br></div></div></div></div><br>_______________________________________________<br>
jsword-devel mailing list<br>
<a href="mailto:jsword-devel@crosswire.org" target="_blank">jsword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>