<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to support-requests</title><link href="https://sourceforge.net/p/flora/support-requests/" rel="alternate"/><link href="https://sourceforge.net/p/flora/support-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/flora/support-requests/</id><updated>2024-03-07T04:55:20.032000Z</updated><subtitle>Recent changes to support-requests</subtitle><entry><title>#6 Code Converter</title><link href="https://sourceforge.net/p/flora/support-requests/6/?limit=25#3b92/0fca" rel="alternate"/><published>2024-03-07T04:55:20.032000Z</published><updated>2024-03-07T04:55:20.032000Z</updated><author><name>Michael Kifer</name><uri>https://sourceforge.net/u/kifer/</uri></author><id>https://sourceforge.net573a6a0f567493427b142d4360d346db535c6942</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you for your answer!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Code Converter</title><link href="https://sourceforge.net/p/flora/support-requests/6/" rel="alternate"/><published>2024-03-04T05:54:27.507000Z</published><updated>2024-03-04T05:54:27.507000Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net013dd9810bdd08a4eb7f37fc7c181a55a51cd043</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using the ErgoAI 3.0 and have to load some Flora-2 codes with the version 0.99.5. Is there any tool helping me to convert them to the lastest version please? Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#5 Is System.exit() needed?</title><link href="https://sourceforge.net/p/flora/support-requests/5/?limit=25#f6ed" rel="alternate"/><published>2017-08-27T17:57:30.014000Z</published><updated>2017-08-27T17:57:30.014000Z</updated><author><name>Michael Kifer</name><uri>https://sourceforge.net/u/kifer/</uri></author><id>https://sourceforge.netc25759f139c84e80f1ca75424814f5d7a881c439</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>Is System.exit() needed?</title><link href="https://sourceforge.net/p/flora/support-requests/5/" rel="alternate"/><published>2017-08-27T14:21:42.050000Z</published><updated>2017-08-27T14:21:42.050000Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net554566bd8947fcb36ccf758312e1ae4fc6d663fb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Michael,&lt;/p&gt;
&lt;p&gt;I was wondering how important is it to use &lt;em&gt;System.exit();&lt;/em&gt; when using the Flora-2 java interface?&lt;br/&gt;
Is it not enough just to close the Flora-2 session? The reason I am asking this is that I have set up a webservice using Flora-2 and I noticed that everytime I make a call to the webservice to start a new Flora-2 session, the Java thread count goes up. If I use &lt;em&gt;System.exit();&lt;/em&gt;, it shuts down the Tomcat server that  I use for the webservice. Just wanted to check.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br/&gt;
Kinzang&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Is System.exit() needed?</title><link href="https://sourceforge.net/p/flora/support-requests/5/" rel="alternate"/><published>2017-08-27T14:21:42.050000Z</published><updated>2017-08-27T14:21:42.050000Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net9f44d737db3879dda1a73123a993107877f7957d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 5 has been modified: Is System.exit() needed?&lt;br/&gt;
Edited By: Michael Kifer (kifer)&lt;br/&gt;
Status updated: u'open' =&amp;gt; u'closed'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#4 Unexpected problem, probably malformed query</title><link href="https://sourceforge.net/p/flora/support-requests/4/?limit=25#44d4" rel="alternate"/><published>2017-08-18T01:19:32.409000Z</published><updated>2017-08-18T01:19:32.409000Z</updated><author><name>Michael Kifer</name><uri>https://sourceforge.net/u/kifer/</uri></author><id>https://sourceforge.netbf56087dbbea8a8615d5bf897bbc5767e5f081b5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#4 Unexpected problem, probably malformed query</title><link href="https://sourceforge.net/p/flora/support-requests/4/?limit=25#852e" rel="alternate"/><published>2017-08-18T00:36:34.227000Z</published><updated>2017-08-18T00:36:34.227000Z</updated><author><name>Michael Kifer</name><uri>https://sourceforge.net/u/kifer/</uri></author><id>https://sourceforge.net4ffcc8d7c5da6b2c91338c5e5621b4027ae2300a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Michael,&lt;/p&gt;
&lt;p&gt;Sorry - the file path to the flora kb file was incorrect. It seems to be working now.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br/&gt;
Kin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Unexpected problem, probably malformed query</title><link href="https://sourceforge.net/p/flora/support-requests/4/" rel="alternate"/><published>2017-08-18T00:29:03.289000Z</published><updated>2017-08-18T00:29:03.289000Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net8ed9e9e7b625832e2d72c9170684852e8bf12af4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Michael,&lt;/p&gt;
&lt;p&gt;I am just tryin got the Java-Flora2 interface with  the example given in the Flora-2 Packages guide.&lt;/p&gt;
&lt;p&gt;I get the following error:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Exception in thread "main" net.sf.flora2.API.util.FlrException: Error in query ?X:person@basic_mod.&lt;br/&gt;
  at net.sf.flora2.API.PrologFlora.FloraCommand(PrologFlora.java:280)&lt;br/&gt;
  at net.sf.flora2.API.FloraSession.ExecuteQuery(FloraSession.java:211)&lt;br/&gt;
  at test.main(test.java:25)&lt;br/&gt;
Caused by: com.declarativa.interprolog.util.IPException: Unexpected problem, probably malformed query&lt;br/&gt;
  at net.sf.flora2.API.PrologFlora.FloraCommand(PrologFlora.java:272)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I am not sure what is happening. Do you have any thoughts?&lt;/p&gt;
&lt;p&gt;Thank you,&lt;br/&gt;
Kin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Unexpected problem, probably malformed query</title><link href="https://sourceforge.net/p/flora/support-requests/4/" rel="alternate"/><published>2017-08-18T00:29:03.289000Z</published><updated>2017-08-18T00:29:03.289000Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net48cce64598612f8e179de03223cf50b1b5e76ad5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 4 has been modified: Unexpected problem, probably malformed query&lt;br/&gt;
Edited By: Michael Kifer (kifer)&lt;br/&gt;
Status updated: u'open' =&amp;gt; u'closed'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modules in Flora2 0.95 and 0.96.1</title><link href="https://sourceforge.net/p/flora/support-requests/3/" rel="alternate"/><published>2011-06-14T14:55:28Z</published><updated>2011-06-14T14:55:28Z</updated><author><name>Joerg-Uwe Kietz</name><uri>https://sourceforge.net/u/jukietz/</uri></author><id>https://sourceforge.net99539d3b9508e1e7c132b6dddff369870be5ebe0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Looks like import of modules behave differently in Flora2 0.95 and 0.96.1,&lt;br /&gt;
i.e. like imported predicates are included in auto-export in 0.96.1 &lt;br /&gt;
whereas in Flora 0.95 they are not.&lt;/p&gt;
&lt;p&gt;Attached a minimal illustrating example.&lt;/p&gt;
&lt;p&gt;In Flora 0.95:&lt;br /&gt;
flora2 ?- [D].&lt;br /&gt;
...&lt;br /&gt;
Yes&lt;/p&gt;
&lt;p&gt;flora2 ?- %p(a).&lt;br /&gt;
a&lt;br /&gt;
Yes&lt;/p&gt;
&lt;p&gt;flora2 ?- %p(?X).&lt;br /&gt;
_h8878&lt;br /&gt;
?X = ?_h9012&lt;/p&gt;
&lt;p&gt;1 solution(s) in 0.0000 seconds on ifidyn155.ifi.uzh.ch&lt;/p&gt;
&lt;p&gt;Yes&lt;/p&gt;
&lt;p&gt;flora2 ?- &lt;/p&gt;
&lt;p&gt;Whereas in Flora0.96.1:&lt;br /&gt;
flora2 ?- [D].&lt;br /&gt;
...&lt;br /&gt;
Yes&lt;/p&gt;
&lt;p&gt;flora2 ?- %p(a).&lt;br /&gt;
a&lt;br /&gt;
Elapsed time 0.0000 seconds&lt;/p&gt;
&lt;p&gt;Yes&lt;/p&gt;
&lt;p&gt;flora2 ?- %p(?X).&lt;br /&gt;
_h1356_h1356_h1356&lt;br /&gt;
?X = ?_h1538&lt;/p&gt;
&lt;p&gt;1 solution(s) in 0.0000 seconds&lt;/p&gt;
&lt;p&gt;Yes&lt;/p&gt;
&lt;p&gt;Look like the write in in the definition of %P(?) is executed 3 times, once directly via direct import from a, once via import from b, once via import from c.&lt;br /&gt;
Is this an intended change and I've adapt to it or a bug that will be fixed?&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br /&gt;
Jörg-Uwe Kietz&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>