On 11/16/2020 1:30 PM, Patrick Li wrote:
i tried two ways, one is to create an empty ontology on EDG, then tried to import, but the import tab is not working.
Allow me to follow up here: are you saying the import tab is not even showing up, or did you get to the point where you have uploaded your file but then you got an error?
the second way I tried was to create ontology on the existing files, I think this is the new feature introduced to 6.4, after I clicked process, it runs forever and not returning anything. error possibly related to this is: Internal Server Error: An internal error has been reported by the SWP engine of TopBraid Live. Summary: [Failed to construct SWP argument http://uispin.org/letrs#scripts at template
<ui:group letrs:scripts='{#

Ok this may be pointing at something. This code is displaying so-called script-based import plugins on the Import tab (teamwork:ScriptBasedImportPlugin). If this crashes then the whole Imports tab may become unusable. The query here is

SELECT ?script ?graph
        WHERE {
            {
                ?path tops:files ( "" true ) .
                BIND (smf:baseURI(?path) AS ?graph) .
                FILTER ((bound(?graph) &amp;&amp; smf:canRead(?graph)) &amp;&amp; CONTAINS(?path, ".sms.")) .
            } .
            GRAPH ?graph {
                ?script a sm:Function .
                BIND (teamwork:getProjectType(?projectGraph) AS ?projectType) .
                FILTER (EXISTS {
                    ?script teamworkscripts:suitableProjectType ?projectType .
                } || EXISTS {
                    ?script teamworkscripts:suitableVocabulary ?projectGraph .
                }) .
            } .
        }

which will iterate over all files in your workspace that end with .sms.* - these are SPARQLMotion scripts. Do you remember importing or creating any such files in your own projects? Could you try to remove or rename them so that they no longer block the Import tab?

If that isn't possible, do you have the complete stack trace of the error that you have observed above?

(I am not even yet investigating the question of the new Create EDG Ontologies for Existing Files button as we really ought to make the normal Import feature work here, but is your file somehow importing other files from the web?).

Also feel free to send me the file that you're trying to import off-list so that I can try to reproduce the issue.

Holger



Thanks

On Monday, 16 November 2020 at 14:17:14 UTC+11 Holger Knublauch wrote:

    Hi Patrick,

    when you say "to load" what did you do exactly? Did you create an
    empty Ontology and then did an RDF file import of your file?

    Then what happened exactly: is there any error in the error log?

    Holger


    On 11/16/2020 1:14 PM, Patrick Li wrote:
    Composed my ontology with TBC, used EDG 6.4 and 6.3 to load, no
    response.
    When create new ontology, tried to import, running circle no
    response.
    Any clue why is this? However I am able to load EDG examples as a
    zip file online, but not the ones I created with TBC.

    Thanks,
    Patrick
-- 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 [email protected].
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/topbraid-users/09bd6a0b-0550-4e2f-bfec-084680311732n%40googlegroups.com
    
<https://groups.google.com/d/msgid/topbraid-users/09bd6a0b-0550-4e2f-bfec-084680311732n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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 [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/7b349f78-ae70-4ae2-b884-8ccce425934cn%40googlegroups.com <https://groups.google.com/d/msgid/topbraid-users/7b349f78-ae70-4ae2-b884-8ccce425934cn%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/4613b340-1157-1040-f235-33cface1a39f%40topquadrant.com.

Reply via email to