All rules that determine whether something will have a function factory - where?

13 views
Skip to first unread message

Jack Hodges

unread,
Jul 17, 2019, 4:13:52 PM7/17/19
to TopBraid Suite Users
I continue to develop logic in spin functions and templates and sometimes I get a function factory and sometimes I don't. Is there document that says for a function or a template what rules must be satisfied to avoid the "X has no function factory" error? I am naming the files properly (e.g., foo.spin.ttl or foo.sms.ttl), but there appear to be other requirements. If there is no such document, does anyone have notes? Thankyou!

Jack

Holger Knublauch

unread,
Jul 17, 2019, 6:24:10 PM7/17/19
to topbrai...@googlegroups.com

Does this also happen after you do a refresh of the system registries (System menu in TBC)? And are we talking about TBC or EDG?

Holger


On 18/07/2019 06:13, Jack Hodges wrote:
I continue to develop logic in spin functions and templates and sometimes I get a function factory and sometimes I don't. Is there document that says for a function or a template what rules must be satisfied to avoid the "X has no function factory" error? I am naming the files properly (e.g., foo.spin.ttl or foo.sms.ttl), but there appear to be other requirements. If there is no such document, does anyone have notes? Thankyou!

Jack
--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/19451735-f65c-4b08-b1e8-6c5875e9aee4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jack Hodges

unread,
Jul 18, 2019, 9:31:05 AM7/18/19
to TopBraid Suite Users
This happens before and after a refresh of system registries (always my first check). This is with TBCME version 6.2.2. I would actually like to see the problem with any SPIN function or template flagged in the interface. Right now I don't find out until I try to execute it in a SPARQL tab from a vocabulary. I do not want to send these kinds of requests to the forum if there is documentation somewhere that I can print and tape onto my monitor that I can look at when I see this warning. Thank you.


On Wednesday, July 17, 2019 at 3:24:10 PM UTC-7, Holger Knublauch wrote:

Does this also happen after you do a refresh of the system registries (System menu in TBC)? And are we talking about TBC or EDG?

Holger


On 18/07/2019 06:13, Jack Hodges wrote:
I continue to develop logic in spin functions and templates and sometimes I get a function factory and sometimes I don't. Is there document that says for a function or a template what rules must be satisfied to avoid the "X has no function factory" error? I am naming the files properly (e.g., foo.spin.ttl or foo.sms.ttl), but there appear to be other requirements. If there is no such document, does anyone have notes? Thankyou!

Jack
--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbrai...@googlegroups.com.

Holger Knublauch

unread,
Jul 18, 2019, 7:13:04 PM7/18/19
to topbrai...@googlegroups.com

Hmm, it's hard to diagnose this problem without seeing the actual files. And it is hard for the tool to show a list of functions that do *not* work, because it cannot anticipate what you're trying to call.

As a final random guess, maybe there are conflicting namespace prefixes assigned to different namespaces, and the system randomly picks the "other" one.

Holger

To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/37ecd910-22aa-420f-86b4-927d031e8d7d%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages