Request: SciPlore 15 beta [FILLED]

Requests go here. If you fill a request, give it a new thread in the appropriate category and then link to it in the request thread.
Message
Author
Puppyt
Posts: 907
Joined: Fri 09 May 2008, 23:37
Location: Moorooka, Queensland
Contact:

#16 Post by Puppyt »

Ariel!

You little beauty. I saw Marcello post on your FreeMind thread earlier, and will be trying your work-around in the morning (just turned pumpkin-hour here in East Oz). I've already given the Docear team a 'heads up' on this issue, and I'm sure that they've read the FreeMind and SciPlore threads in this forum but they are very busy with moving their base from FreeMind to FreePlane, so no direct remedies have appeared. Myself I've even tried symlinking in various directories - all dead-ended. I hadn't considered the xdg-open issue at all - here's hoping! I hope to attach a screenie of a PDF opened from within SciPlore, very soooooon....
Cheers!

PS I hope that they might toss a bit of their 100.000 your way - I'm guessing you're in Europe :)

UPDATE :
Ok I've followed your recipe outlined in the FreeMind thread, although I haven't installed your FreeMind pet. I've even installed the cgj-jre-4-4-4-3-lucid pet you had listed on that thread. Web-pages cast into the SciPlore mindmap open with default browser, FireFox (yay! Behaviour that I hadn't checked earlier), but I get no response when trying to open PDFs or JPG images, after openfile.sh pet is installed and the SciPlore Tools>Preferences>HTML >Default Browser command Other Os> ... changed to "openfile.sh {0}". Nada. No signs of activity, just stonewalling.
So something has changed in SciPlore's behaviour - and I'm thinking that your work-around is possibly the most likely solution, nonetheless. I'll try other puplets other than my early-lucid barebones base, and experiment with other java pets (currently using one of pemasu's, wondering if ttuuxx's pet might show something different). Hope to give more feedback later tonight. :)
Last edited by Puppyt on Thu 04 Aug 2011, 02:16, edited 1 time in total.
Search engines for Puppy
[url]http://puppylinux.us/psearch.html[/url]; [url=https://cse.google.com/cse?cx=015995643981050743583%3Aabvzbibgzxo&q=#gsc.tab=0]Google Custom Search[/url]; [url]http://wellminded.net63.net/[/url] others TBA...

Puppyt
Posts: 907
Joined: Fri 09 May 2008, 23:37
Location: Moorooka, Queensland
Contact:

#17 Post by Puppyt »

G'day again Ariel,

I've just run a frugal install of pemasu's Polarpup v 003 on my machine, installing ttuuxx's jre-6u26-1-i386, your cgj-jre-4-4-4-3-lucid, geoff's SciPlore15 pet, and then with reboots your openfile.sh and then even your FreeMind pet.
Strange - here the SciPlore flash title page halts while "Load maps..." but mindmaps can still be designed and saved. Didn't see that in my Lucid lite frugal environment - and not while using ttuuxx's java in dpup pupplets. My test mindmap, with PDF, html and jpgs on nodes returned the same behaviour as noted in my update in the previous post. Then tested Freemind, first without the change to the xdg-open default:

Code: Select all

sh-4.1# freemind
Checking Java Version...
java.io.FileNotFoundException: /root/.freemind/auto.properties (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:120)
	at freemind.main.FreeMindStarter.readUsersPreferences(FreeMindStarter.java:136)
	at freemind.main.FreeMindStarter.main(FreeMindStarter.java:56)
Panic! Error while loading default properties.
Jul 31, 2011 9:45:09 PM freemind.main.FreeMindCommon$FreemindResourceBundle handleGetObject
SEVERE: Warning - resource string not found:OptionPanel.kr
And after changing to openfile.sh and restarting Freemind:

Code: Select all

sh-4.1# freemind
Checking Java Version...
Jul 31, 2011 9:49:04 PM freemind.main.FreeMindCommon$FreemindResourceBundle handleGetObject
SEVERE: Warning - resource string not found:OptionPanel.kr
sh-4.1# 
...so, I'm afraid I'm still completely in the dark about this issue. In ttuuxx's TOP8 214X I reported last week a different response where the default browser was called to (unsuccessfully) open pdfs and images. Wonder if your openfile.sh pet would work there?

Thanks for your help,
Puppyt
Search engines for Puppy
[url]http://puppylinux.us/psearch.html[/url]; [url=https://cse.google.com/cse?cx=015995643981050743583%3Aabvzbibgzxo&q=#gsc.tab=0]Google Custom Search[/url]; [url]http://wellminded.net63.net/[/url] others TBA...

User avatar
ariel
Posts: 140
Joined: Fri 03 Jul 2009, 19:47
Contact:

#18 Post by ariel »

Puppyt wrote: I get no response when trying to open PDFs or JPG images, after openfile.sh pet is installed and the SciPlore Tools>Preferences>HTML >Default Browser command Other Os> ... changed to "openfile.sh {0}". Nada. No signs of activity, just stonewalling.
of course not. you are supposed to modify the script to suit your install :!:
for example add this line to the script to open a jpg file:

Code: Select all

elif [ "$ext" == jpg ] || [ "$ext" == JPG ] ; then viewnior "$@"
another catch is that you need a proper application that can open files with a command line. for pdfs you can use evince, for images viewnior, for htmls firefox, and so on...

i've just scribbled a fast and dirty script that needs your cooperation :)

for each kind of file check if there's the corresponding code to open it. if the script doesn't work add the necessary code or change it in /usr/bin/openfile.sh with a text editor. it should be a peace of cake even for bash illitarates.

if you wonder where to find evince you can GoNgetIT :wink:

Puppyt
Posts: 907
Joined: Fri 09 May 2008, 23:37
Location: Moorooka, Queensland
Contact:

#19 Post by Puppyt »

:lol:
...bash illiterates, and ME! "None so blind...", as they say.
Brilliant, Ariel - I reckon I will have it going very shortly, later today. Thankyou VERY much for filling in that last piece of the puzzle for me! SciPlore/ Docear provides a MASSIVE tool to assist research and research writing, and although (I hope) their next round of updates are planned to include Preferences for the user to select and change their preferred apps for various file integration - removing this problem in future (I'm guessing) - it's been a bugger to have SciPlore only working, for me, in XP rather than Puppy.

3 Cheers for you, Ariel! :!: :!: :!:


PS I think I've tried eVince from a pet somewheres from the forum - one of my earlier dead-ends in trying to awaken SciPlore in Puppy... thanks for the link nonetheless - good backup avenue if things don't go 'ping' in the right way...
Last edited by Puppyt on Thu 04 Aug 2011, 02:24, edited 1 time in total.
Search engines for Puppy
[url]http://puppylinux.us/psearch.html[/url]; [url=https://cse.google.com/cse?cx=015995643981050743583%3Aabvzbibgzxo&q=#gsc.tab=0]Google Custom Search[/url]; [url]http://wellminded.net63.net/[/url] others TBA...

User avatar
ariel
Posts: 140
Joined: Fri 03 Jul 2009, 19:47
Contact:

#20 Post by ariel »

it's a fine pleasure to help get rid of the Redmond virusware :D


ps
i meant bash, the unix shell

Puppyt
Posts: 907
Joined: Fri 09 May 2008, 23:37
Location: Moorooka, Queensland
Contact:

#21 Post by Puppyt »

yeah, I know - but I understand bash: brick wall + my brain shell

Here though I'm certain you've spelt out the complete solution for me now - I'll get some time later today to finetune my openfile.sh, and snip off yet another string from my puppetmaster, Mr Gates :wink:

PS Again, your help on this matter is really, REALLY appreciated - by myself and nearly 1000 onlookers to this thread.

UPDATE:
YAHOOOO

I think I can safely call this request "FILLED".
Many Thanks to Geoffrey and Ariel for their impetus to get this over the line. SciPlore (FreeMind Scholar) is just about to evolve into FreePlane-based "Docear" that hopefully won't encounter the XDG-open problem in Puppy. SciPlore in Puppy however will still require some manual massage to have it working to the user's requirements. Here's the copy of my openfile.sh:

Code: Select all

#!/bin/bash
#this script opens files within freemind-0.9.0
#to use install the script in /usr/bin
#open freemind and go to Tools>Preferences>HTML menu
#in Defaul Browser Command Other Os, insert this command: openfile.sh {0}
#save
#quit freemind and launch it again
#
#you can add other programs provided you add the extension of the file you want to launch (last 3 characters)



ext=`echo "$@" | sed 's/.*\(...\)$/\1/'`

if [ "$ext" == doc ] ; then abiword "$@"
	elif [ "$ext" == txt ] ; then abiword "$@"
	elif [ "$ext" == tml ] ; then firefox "$@"
	elif [ "$ext" == abw ] ; then abiword "$@"
	elif [ "$ext" == pdf ] || [ "$ext" == PDF ] ; then evince "$@"
	# elif [ "$ext" == pdf ] || [ "$ext" == PDF ] ; then FoxitReader "$@"
	elif [ "$ext" == jpg ] || [ "$ext" == JPG ] ; then viewnior "$@"
	# elif [ "$ext" == jpg ] || [ "$ext" == JPG ] ; then evince "$@"

fi
I've commented out the jpg option for eVince - it can read a wide range of file formats - and it works here as does Viewnior. It also opens PDF's correctly and very rapidly. I would prefer Foxit Reader as apparently SciPlore retains user's highlighting and annotations made to any pdf in Foxit Reader. In my findings it just starts Foxit, doesn't open the pdf, and hence is commented out here. I'll post any other problem I might find in the next few days of use.

:D

[Test environment: using pemasu's Polarpup-003, Woof, kernel 2.6.39-3(i686); Geoffrey's SciPlore 15beta pet; Ariel's openfile and cgj-jre-4-4-4-3-lucid pets (latter might not be required); ttuuxx's jre-6u26-1-i386 and evince-2.30.3-i386 pets; and the FoxitReader-1.1-lucid pet downloaded via PPM]
Search engines for Puppy
[url]http://puppylinux.us/psearch.html[/url]; [url=https://cse.google.com/cse?cx=015995643981050743583%3Aabvzbibgzxo&q=#gsc.tab=0]Google Custom Search[/url]; [url]http://wellminded.net63.net/[/url] others TBA...

Puppyt
Posts: 907
Joined: Fri 09 May 2008, 23:37
Location: Moorooka, Queensland
Contact:

#22 Post by Puppyt »

Just a quick notification:
This thread for "SciPlore" is now deceased - many thanks to all those who assisted my venture. SciPlore is now "Docear" (http://www.docear.org/). Meeki has very kindly posted a pet for the 1.0.0.6 build123 Docear update here http://www.murga-linux.com/puppy/viewto ... 270#655270. Compiled in LH64, I haven't tested it in any other puppy yet, but meeki assures me it should work in just about any. There are links in associated posts to video tutorials on how to create/update your own Docear pets too. :)
Search engines for Puppy
[url]http://puppylinux.us/psearch.html[/url]; [url=https://cse.google.com/cse?cx=015995643981050743583%3Aabvzbibgzxo&q=#gsc.tab=0]Google Custom Search[/url]; [url]http://wellminded.net63.net/[/url] others TBA...

Post Reply