yesworkflow-org / yw-prototypes

Research prototype with tutorial. Start here to learn about and try YesWorkflow.
http://yesworkflow.org/wiki
Other
33 stars 13 forks source link

Compile error for recon_queries? #38

Closed olyerickson closed 8 years ago

olyerickson commented 8 years ago

Out of curiosity, I was stepping through run_queries.sh for the simulate_data_collection.py example.

It seemed to hang up on [recon_queries] as shown below:

| ?- [recon_queries].
++Error[XSB/Runtime/P]: [Type (recon_queries in place of atom)]  in arg 1 of predicate reconsult/1
Forward Continuation...
... machine:xsb_backtrace/1  From d(� �ػ   ���   �/Do��� ads/
... error_handler:check_atom/3  From /home/olyerickson/Downloads/XSB/site/config/i686-pc-linux-gnu/lib/
... standard:call_c/1  From t+�   �ػ    H�   �ksoH� wnlo
... x_interp:_$call/1  From �*� �ػ    �� �kso��   wnlo
... x_interp:call_query/1  From �*� �ػ    �� �kso��   wnlo
... standard:call/1  From t+� �ػ    H�   �ksoH� wnlo
... standard:catch/3  From t+�    �ػ    H�   �ksoH� wnlo
... x_interp:interpreter/0  From �*�    �ػ    �� �kso��   wnlo
... loader:ll_code_call/3  From /home/olyerickson/Downloads/XSB/cmplib/
... standard:call/1  From t+� �ػ    H�   �ksoH� wnlo
... standard:catch/3  From t+�    �ػ    H�   �ksoH� wnlo
| ?-

I'm using xsb 3.6 ...

olyerickson commented 8 years ago

PROBLEM SOLVED. I believe I didn't compile recon_facts first...

olyerickson commented 8 years ago

UPDATE: I've been successful at using XSB 3.6 to query extracts/models generated on our scripts using YW. So far I've only used "generic" queries from the examples (ie "what's the top level model" etc)