With the News ticker in 1.0.5 I am just get a logo appearing (after clicking on the various options . . .) What am I doing wrong?
I am sure there must be some news happening - or has the world been stunned into silence at the new Puppy 1.0.5? ( m m m . . . should have thought of that . . .)_________________Puppy WIKI

Run it from /usr/local/apps/Ticker (click the icon) instead of the start menu and it should work.

Reason:
I've put a line "mkdir /root/.ticker" in the AppRun script in /usr/local/apps/Ticker. That creates a folder ".ticker" in /root, which is essential for the program to work.

Currently the line in .jwmrc that runs ticker from the start menu is "exec ticker2" (but not exec /usr/local/apps/Ticker/AppRun), which doesn't create the needed folder. I should have included that folder in the dotpup besides putting the mkdir line in AppRun

I should have included that folder in the dotpup besides putting the mkdir line in AppRun

I'm wrong here, nothing should be (can be) put in /root.

And sorry I think I haven't make it clear:

The ONLY change that needs for it to work is change the line that execute ticker (in .jwmrc) to exec /usr/local/apps/Ticker/AppRun

The directory /root/.ticker only needs to be created once (when the user run the program the first time from the start menu). No need for it to be created everytime in fact. So I don't think it's neccessary for the script 'ticker2' and 'ticker' to be able to make the directory. AppRun will do that, and I think most people will start it the first time from the start menu.

But of course, the mkdir /root/.ticker line can be added to 'ticker2' and 'ticker' too, if someone thinks that's better.

PS. G2 your fix looks too complex to me... just running the program from /usr/local/apps/Ticker should be fine. And after that 'ticker2' and 'ticker' should work from the command line too, as /root/.ticker has already been created. Have you tried that and does that work?

The ONLY change that needs for it to work is change the line that execute ticker (in .jwmrc) to exec /usr/local/apps/Ticker/AppRun

i find that on my machine, connected to the internet with an adsl connection, that the ticker does not seem to work properly

it starts and displays the name of the ticker program, and does nothing else ... it does not tick
it does download the file to /root/.ticker ... but the ticker doesn't use it

if i change wget & to wget, it seems to work ok on my machine ... or i can put a sleep 1 command before the exec ticker.app, that also seems to work

but no, the ticker does not seem to work properly on my machine

the way i did it:

1) the roxapp works the way a roxapp should ... if you click it it works ... a roxapp really should not be run by directly accessing the files inside the folder ... usually a roxapp can run where ever you put it ... this one won't work if you move it, which is probably not important

2) ticker and ticker2 (identical files after my bugfix) start the roxapp using rox ... as if you clicked the roxapp in rox ... there are advantages to that, rox automatically runs it as a background process

3) it should not be necessary to change any menus ... whether it is run as ticker or ticker2, it should work

anyway, the bugfix seems to run ok on my machine ... it did not run well before the bugfix

When you have it open, you can also create /root0/.ticker,
so AppRun will not be required.

Oh yes, that should work for most people. I didn't know /root0/ before, perhaps I should go for a 'Puppy Class' or 'Linux Class'

GuestToo wrote:

i find that on my machine, connected to the internet with an adsl connection, that the ticker does not seem to work properly

I see. You mentioned that in your other post
So do you mean that you have never got ticker to work in Puppy 1.03 or 1.04 too (with my old dotpup that install into /root/my-application)?

GuestToo wrote:

it starts and displays the name of the ticker program, and does nothing else ... it does not tick
it does download the file to /root/.ticker ... but the ticker doesn't use it

if i change wget & to wget, it seems to work ok on my machine ... or i can put a sleep 1 command before the exec ticker.app, that also seems to work

That happened to me before and I added "&" after the line below (in the files bbcuk, timeworld, etc)

Code:

sed 's/.*<title>//g' | sed 's/<\/title>.*//g' > $OUTPUT

the line becomes:

Code:

sed 's/.*<title>//g' | sed 's/<\/title>.*//g' > $OUTPUT &

And that fix it. I don't know why that doesn't work on your machine (does dialup / adsl make a difference?). It seems that no one has complained about that before... we need more people to confirm this bug

GuestToo wrote:

1) the roxapp works the way a roxapp should ... if you click it it works ... a roxapp really should not be run by directly accessing the files inside the folder ... usually a roxapp can run where ever you put it ... this one won't work if you move it, which is probably not important

2) ticker and ticker2 (identical files after my bugfix) start the roxapp using rox ... as if you clicked the roxapp in rox ... there are advantages to that, rox automatically runs it as a background process

So do you mean that you have never got ticker to work in Puppy 1.03 or 1.04 too

i have not tried your ticker program until today

Quote:

That happened to me before and I added "&" after the line

that is what does not seem to work on my machine ... usually the ticker shows the name of the ticker app and does not do anything else ... if i remove the &, it works ok

maybe what is happening is that wget is writing to the file at the same time that ticker.app is starting ... with dialup there may be a pause until the file downloads

when you click a roxapp, it runs AppRun ... but the working dir will not be the dir of the roxapp ... in your case the working dir would probably be /usr/local/apps/ (or maybe it's /root, i don't remember) ... that's what the APPDIR variable is for ... and it usually lets you move the roxapp anywhere you like and it will still work

anyway, it did not seem to work well ... when i took out the &'s or added a sleep 1 command, it seemed to work ok ... maybe it would work if ticker.app started first, then wget, maybe with a sleep 1 command ... i have not tried that yet

maybe the problem occurs if wget is writing the file at the same time ticker.app is reading it

anyway, what happens is, the ticker starts, displays the name of the ticker program, and does not do anything else ... it does not display the file, which is there in /root/.ticker ... it does not always freeze, it sometimes works ok ... but most of the time it just freezes ... with any of the bugfix methods, it seems to work ok

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum