Saving SPARQL query results to file

97 views
Skip to first unread message

ChilliPeppers

unread,
Jan 13, 2014, 10:04:05 PM1/13/14
to topbrai...@googlegroups.com
Hi,

Is it a bug or am I just not doing something correctly.

When I run a SPARQL query in the Query Editor I can click the little Floppy Disk icon and save my results to a file.

If I do this (saving to txt) and then come back, edit the query and try to save again, nothing saves. I don't get the dialogue to save the file, just nothing.

Restarting TBC is the only way I've found to run another query and save the results.

What am I doing wrong?

Thanks


Terry

Holger Knublauch

unread,
Jan 13, 2014, 10:10:19 PM1/13/14
to topbrai...@googlegroups.com
Hi Terry,

which TBC version are you using? Is there anything in the Error Log?

(The issue sounds vaguely familiar so it may have been fixed in the
meantime).

Thanks,
Holger
> --
> -- You received this message because you are subscribed to the Google
> Group "TopBraid Suite Users", the topics of which include Enterprise
> Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid
> Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
> To post to this group, send email to
> topbrai...@googlegroups.com
> To unsubscribe from this group, send email to
> topbraid-user...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/topbraid-users?hl=en
> ---
> 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.
> For more options, visit https://groups.google.com/groups/opt_out.

Terry Roach

unread,
Jan 13, 2014, 10:13:46 PM1/13/14
to topbrai...@googlegroups.com

Hi Holger

I'm on Version: 4.3.1.v20131101-1317R

Nothing in the error log.

Terry


--- You received this message because you are subscribed to a topic in the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/topbraid-users/vQJmgm0aYbI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to topbraid-user...@googlegroups.com.

Holger Knublauch

unread,
Jan 14, 2014, 1:29:41 AM1/14/14
to topbrai...@googlegroups.com
Hi Terry,

sorry all this works for me, and I have no further ideas what could be causing this.

Holger
Message has been deleted

PaulZH

unread,
Jan 14, 2014, 5:44:43 AM1/14/14
to topbrai...@googlegroups.com
Hi Terry,

I encounter the same behavior and reported it before (you are on Mac right?).

The same happens when you import a file from the file system. It will work once, then you have to reboot.


Paul

Scott Henninger

unread,
Jan 14, 2014, 10:14:15 AM1/14/14
to topbrai...@googlegroups.com
Terry, it's not clear that you have enough here to reproduce the problem.  One tip is to use Model > Refresh all Caches and Views instead of a TBC re-start.

If you can get this to a reproducible procedure, we can look into it further.

Thanks,
-- Scott
 

Terry Roach

unread,
Jan 14, 2014, 8:14:20 PM1/14/14
to topbrai...@googlegroups.com
So I go and try and replicate it or test the refresh and...

... its working fine today.

Exact same queries on the exact same model.

Go figure!

ChilliPeppers

unread,
Jan 15, 2014, 6:19:09 AM1/15/14
to topbrai...@googlegroups.com
Hi Scott/Holger,

It seems the problem is broader than just saving query results. I have a very similar issue with importing XSD schemas,

The first port works fine, I can browse to a folder and pick the files I want to import. However if in the same session I try another import clicking on Select Files does nothing, it won't open the window to browse for files.

And I also discovered that the button to draw a graph of selected rows in my Query Results is not responding either.

Does this shed any light on what might be causing the issue?

Would a reinstall be something to try?

Thanks

Terry

Message has been deleted
Message has been deleted

Holger Knublauch

unread,
Jan 15, 2014, 5:51:28 PM1/15/14
to topbrai...@googlegroups.com
It sounds like your system is quite broken. What operating system are
you using? Did a reinstall help?

Holger

Terry Roach

unread,
Jan 16, 2014, 6:59:13 AM1/16/14
to topbrai...@googlegroups.com
Hi Paul,

Yes this is the same problem that I am facing (on a Mac yes).

It seems that any call to the Mac file system will work the first time but won't open the Finder again on a second subsequent attempt.

Holger I have reinstalled TBC but still same problem. 

Coincidentally I did upgrade my Mac OS to 10.9.1 (Mavericks) this past weekend. I wonder if this has anything to do with it?)

Terry

Scott Henninger

unread,
Jan 16, 2014, 8:24:39 PM1/16/14
to topbrai...@googlegroups.com
Terry, I have been using Mavericks (10.9.1) for some time now, but did not opt to upgrade Java, hence I'm still running Java 1.6.

As much as I've tried, I cannot reproduce your issue (and thanks for the clear description).  So perhaps you are running Java 1.7?

-- Scott

Terry Roach

unread,
Jan 16, 2014, 8:53:37 PM1/16/14
to topbrai...@googlegroups.com
Hi Scott

Yes I have upgraded Java, I am on 1.7.0_45-b18

The problem is very intermittent though. I can't replicate it myself at the moment. Yesterday however I was doing a lot of xsd imports and must have had to restart TBC about 25 times.

Terry

Holger Knublauch

unread,
Jan 16, 2014, 8:56:38 PM1/16/14
to topbrai...@googlegroups.com
The Eclipse platform that TopBraid is built upon is known to have low-level bugs with Mac OS, so I am afraid these issues may be really difficult for us to fix. We may need to mark this combination of Mavericks and Java 7 as currently unsupported until we have finished our migration to Eclipse Kepler. The latter is almost complete and we have Kepler builds here, but Kepler has other UI bugs that make us hesitant to publish it with TopBraid 4.4.

Holger
Message has been deleted

Holger Knublauch

unread,
Jan 27, 2014, 11:11:24 PM1/27/14
to topbrai...@googlegroups.com
Thanks Paul. Here is more information, confirming that this is an Eclipse bug with Java 7:

http://stackoverflow.com/questions/17800369/swt-filedialog-does-not-work-correctly-on-mac-osx-with-oracle-java-7

Holger


On 1/22/2014 19:24, PaulZH wrote:
Use file info.plist (/Applications/tbcme4.3.1/TopBraid Composer.app/Contents)
to point explicitly to Java version 1.5

<key>Eclipse</key>
    <array>
        <string>-vm</string>
        <string>/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java</string>
        <string>-keyring</string>
        <string>~/.eclipse_keyring</string>
        <string>-showlocation</string>
    </array>

Terry Roach

unread,
Jan 28, 2014, 12:06:29 AM1/28/14
to topbrai...@googlegroups.com
Holger, 

What do you recommend as a solution? Still doing dozens of TBC restarts every day.

This explanation of the bug provides some recommendations for application developers: https://bugs.eclipse.org/bugs/show_bug.cgi?id=420682Does 4.4 provide any of the solutions mentioned?

Paul,

Thanks for your tip. Could you be a bit more explicit for us less technically competent, modelling types. How exactly do I find and edit this info.plist

I could find:

 /Applications/tbcme4.3.1/TopBraid Composer 

but not:

 /Applications/tbcme4.3.1/TopBraid Composer.app/Contents

I searched for info.plist and found a long list of them, but they all seem to belong to Microsoft Apps, none for TBC

Thanks


Message has been deleted

Holger Knublauch

unread,
Feb 7, 2014, 2:40:01 AM2/7/14
to topbrai...@googlegroups.com
On Jan 28, 2014, at 3:06 PM, Terry Roach wrote:

Holger, 

What do you recommend as a solution? Still doing dozens of TBC restarts every day.

TBC 4.4 will be based on Eclipse 4.3 (Kepler), and we are working towards a release early next week.

Holger
Reply all
Reply to author
Forward
0 new messages