<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">valentina.query = handler not found (valentina is an object)<div><br></div><div><br><div><div>Le 18 juin 09 à 12:44, Christian - ChrisKatDev.com a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Le 17 juin 09 à 08:13, Ruslan Zasukhin a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On 6/17/09 1:14 AM, "Christian - ChrisKatDev.com"<br><<a href="mailto:christian@chriskatdev.com">christian@chriskatdev.com</a>> wrote:<br><br>Hi Christian, <br></div></blockquote>Hi Ruslan,</div><div><br><blockquote type="cite"><div><br><blockquote type="cite">With Director, and V4MD, I make this :<br></blockquote><br>1)<br><br><blockquote type="cite">pDB.sqlExecute ("SET PROPERTY WarningMode TO FALSE")<br></blockquote><br>This control FBL_Warnings_XXXXX.log<br><br><br>2)<br><br><blockquote type="cite">and<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">pValentina.debugLevel = #kLogNothing<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">and<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">pValentina.logToFile (0, 0)<br></blockquote><br>This controls V4MD_XXXXX.log<br><br><br>---------------------<br><blockquote type="cite">but I have always warnings files (in author mode and projector mode<br></blockquote><blockquote type="cite">(in bundle mac app/contents/MacOS !!))<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I DONT WANT THIS WARNINGS FILES<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Have you a solution that works in practice ?<br></blockquote><br>Hmm, option 1) should did job...<br><br>* Problem only on MAC OS X?<br>On Windows no warning log? Or not checked?<br></div></blockquote><div><br></div>OSX, sure</div><div>not checked on win<br><blockquote type="cite"><div><br><br>* What exactly is written in that logs AFTER you have disable it?<br>May be in some place(s) we have not specify check of flag ... I doubt...<br>I is automated ...<br></div></blockquote><div>for example :</div><div><br></div><div><div>Reindex of : Kind</div><div>Reindex of : ColumnName</div><div>Reindex of : ParentPtr</div><div>Reindex of : ItemDescrPtr</div><div>Reindex of : ParentPtr</div><div>Reindex of : fr</div><div>Reindex of : ref_key</div><div>Reindex of : utilise</div><div>Reindex of : activation</div><div>Reindex of : nom</div><div>Reindex of : nom</div><div>Reindex of : nom</div><div>Reindex of : avecDOS</div><div>Table ( or view) is not found: : keywordsObjects</div></div><br><blockquote type="cite"><div><br><br>* Does this log grows?<br><br><br>* WHEN you do this ?<br><blockquote type="cite">pDB.sqlExecute ("SET PROPERTY WarningMode TO FALSE")<br></blockquote></div></blockquote><div><br></div>before "reindex" sql execute<br><blockquote type="cite"><div><br> Try to do this right after Valentina.Init() using<br><br> Valentina.Query( "SET PROPERTY WarningMode TO FALSE" )<br><br><br><br><br>My only guess is that LOG is created BEFORE you have disable it.<br>After disable file not grows...<br></div></blockquote><div><br></div>after disable :</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 18px/normal Inconsolata; "> erreur = pDB.<span style="color: #004000">open</span> (pBasePath &<span style="color: #404040"> "projects.vdb"</span>) <span style="color: #c80000">--##</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 18px/normal Inconsolata; min-height: 20px; "> <br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 18px/normal Inconsolata; "><span style="color: #0000c8"> if</span> (pMaster.pValentina.lastError <><span style="color: #404040"> 0</span>)<span style="color: #0000c8"> then</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 18px/normal Inconsolata; "><span style="color: #004000"> _player</span>.<span style="color: #004000">alert</span> (<span style="color: #404040">"ERROR : "</span> & pMaster.pValentina.lastErrorSymbol &<span style="color: #404040"> "("</span> & pMaster.pValentina.lastErrorString &<span style="color: #404040"> ")"</span>)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 18px/normal Inconsolata; color: rgb(0, 0, 200); "> end if<span style="color: #000000"> </span><span style="color: #c80000">--##</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 18px/normal Inconsolata; min-height: 20px; "> <br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 18px/normal Inconsolata; color: rgb(64, 64, 64); "><span style="color: #000000"> pDB.sqlExecute (</span>"SET PROPERTY WarningMode TO FALSE"<span style="color: #000000">)</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 18px/normal Inconsolata; "> pDB.sqlExecute (<span style="color: #404040">"REINDEX DATABASE"</span>)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 18px/normal Inconsolata; "> pDB.sqlExecute (<span style="color: #404040">"DEFRAGMENT"</span>)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 18px/normal Inconsolata; "> pDB.sqlExecute (<span style="color: #404040">"COMPACT"</span>)</div><div><font class="Apple-style-span" color="#000000" size="6"><span class="Apple-style-span" style="background-color: transparent; font-size: 20px;"><br></span></font></div><div><font class="Apple-style-span" color="#000000" size="6"><span class="Apple-style-span" style="background-color: transparent; font-size: 20px;"><br></span></font></div><div><font class="Apple-style-span" color="#000000" size="6"><span class="Apple-style-span" style="background-color: transparent; font-size: 20px;">=> warnings file</span></font></div><div><br></div><div><span class="Apple-style-span" style="font-size: 20px; ">I have also warnings with vStudio...</span></div><div><font class="Apple-style-span" face="Inconsolata" size="5"><span class="Apple-style-span" style="font-size: 18px;"><br></span></font></div><div><font class="Apple-style-span" face="Inconsolata" size="5"><span class="Apple-style-span" style="font-size: 18px;"><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><div><font class="Apple-style-span" color="#000000" size="6"><span class="Apple-style-span" style="background-color: transparent; font-size: 20px; ">br</span></font></div><div>Christian</div><div><br></div></span></span></font></div><blockquote type="cite"><div><br><br>-- <br>Best regards,<br><br>Ruslan Zasukhin<br>VP Engineering and New Technology<br>Paradigma Software, Inc<br><br>Valentina - Joining Worlds of Information<br><a href="http://www.paradigmasoft.com">http://www.paradigmasoft.com</a><br><br>[I feel the need: the need for speed]<br><br><br>_______________________________________________<br>Valentina mailing list<br><a href="mailto:Valentina@lists.macserve.net">Valentina@lists.macserve.net</a><br><a href="http://lists.macserve.net/mailman/listinfo/valentina">http://lists.macserve.net/mailman/listinfo/valentina</a><br></div></blockquote></div><br></div>_______________________________________________<br>Valentina mailing list<br><a href="mailto:Valentina@lists.macserve.net">Valentina@lists.macserve.net</a><br><a href="http://lists.macserve.net/mailman/listinfo/valentina">http://lists.macserve.net/mailman/listinfo/valentina</a><br></blockquote></div><br></div></body></html>