Psync Time Synchroniser Version 2.9 & 2.7-64bit

Core libraries and systems
Message
Author
User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#76 Post by Flash »

Psync just doesn't work for me. I choose the North America server. Psync seems to be doing something and doesn't report any errors, but when all is said and done, the time displayed in the lower right corner doesn't change even though it might be a minute or more off according to http://time.gov/

I haven't reported this because I don't see how what I have to say will be of any use. If there's anything I can do that will help figure out why Psync doesn't work for me, let me know and I'll try to do it.

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#77 Post by tasmod »

Version 1.6
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#78 Post by tasmod »

Flash,

have you tried manually changing your clock by a few minutes and then run psync.

Please let me know if it doesn't alter.

I tried it and used NA and it worked.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#79 Post by Flash »

I set the clock 7 minutes ahead according to time.gov, then told Psync to set the clock from the North American time server. Psync reported back that it did, but the end result was the same time as before - the time displayed by my computer is 7 minutes fast. Psync may be setting a clock somewhere in my computer, but that time is not showing up on my display.

I know there are system clocks and other kinds, and UTC and so forth. I never paid attention to the explanations and discussions of the many different kinds of time a computer can keep, because why the hell can't everyone agree on one simple way for a computer to keep time? Sheesh. :?

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#80 Post by tasmod »

Psync 1.8 released.

Not sure if this suits everyone, it will take notice of UTC setting if you wish.

The trade off is the opening screen includes approx. .9 second software latency added to the report. However the sync button report is accurate.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#81 Post by tasmod »

Psync-2.0

A more accurate opening report with no latency added.

The final sync report is accurate as processing has finished.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#82 Post by tasmod »

Psync 2.1 released.

This generates a report window from the temporary file.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
r1tz
Posts: 162
Joined: Thu 09 Sep 2010, 05:19
Location: In #puppylinux (IRC)

#83 Post by r1tz »

echo -e"EUROPEREP" >> /usr/local/psync/setcoutry
Line 41 of /usr/local/psync/psyncfunc
(default installation in lucid 525)

Line 66 in the newest version.

Bug causes autostart to fail if person is from europe.

john3voltas
Posts: 102
Joined: Mon 23 May 2011, 13:10

#84 Post by john3voltas »

Exactly.
I asked for help in the IRC channel and rltz was a good chap and found the issue with the command syntax in line 66.
Could you please have this fixed for the next release?
Thanks for your help.
Cheers

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#85 Post by tasmod »

OK guys thanks for this.

I see a space is missing causing the problem.

I'll release an update.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#86 Post by tasmod »

Corrected version 2.2 posted.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

john3voltas
Posts: 102
Joined: Mon 23 May 2011, 13:10

#87 Post by john3voltas »

Thanks Rob :).
Cheers

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#88 Post by tasmod »

Version 2.3 released to fix the report window for time offset.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#89 Post by tasmod »

Fatdog 64 bit version posted.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#90 Post by tasmod »

Psync 2.4 version.

I've added the Daylight Savings dates if applicable to timezone.

I haven't checked all timezones for which ones don't apply DST so there may be an odd entry in the filed.
Attachments
psync24.jpg
Psync report window with DST dates showing.
(42.05 KiB) Downloaded 1037 times
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#91 Post by tasmod »

Version 2.5

Added code to check for DST not applying to a timezone.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#92 Post by tasmod »

Version 2.6

Sorry if this is a bit quick on the heels of 2.5

The time servers report back has changed in text length several times. This required a minor rewrite each time, as the report window contained 'bits' of extraneous text.

Now I believe I have trapped a change in text length and compensated for it.

This means no more minor releases just for that.

This issue has always annoyed me. 8)
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#93 Post by tasmod »

Version 2.6-64 for 64bit systems such as FatDog etc
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#94 Post by tasmod »

Slacko needs zdump adding to /usr/bin directory. See first page.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

Burunduk
Posts: 80
Joined: Sun 21 Aug 2011, 21:44

#95 Post by Burunduk »

Hi,

Psync doesn't set the RTC on my Lupu525 because of two HWCLOCKTIME in the /etc/clock file:

Code: Select all

#Set this to either 'utc' or 'localtime' based on which one your computer's
#hardware clock uses.
HWCLOCKTIME=localtime
#HWCLOCKTIME=utc
Although the last line is commented out, 'HWCLOCKTIME' still matches it. As a result $HTIME is set to "localtime utc" and the hwclock command is never executed. I don't know how this file looks in other Puppies. Maybe '^[[:space:]]*HWCLOCKTIME' or simply '^HWCLOCKTIME' would be a better choice here.

Post Reply