Debian 12 was freshly installed onto a new sd card and then I loaded weewx 
v5 using Installation on Debian systems and ran it in simulator mode
Forecast / xtide was loaded next so wondered what could have done as far as 
permissions were concerned.


On Thursday, June 20, 2024 at 9:52:03 PM UTC+1 [email protected] wrote:

> phil@raspberrypi:~ $ ls -ld /home/phil
> drwx------ 15 phil phil 4096 Jun 20 20:31 /home/phil
>
> phil@raspberrypi:~ $ chmod 755 /home/phil
>
>
> phil@raspberrypi:~ $ ls -ld /home/phil
> drwxr-xr-x 15 phil phil 4096 Jun 20 20:31 /home/phil
>
> and the last 3 lines from the log
> 2024-06-20T21:45:19.234716+01:00 raspberrypi weewxd[1323]: INFO 
> weewx.manager: Added record 2024-06-20 21:45:19 BST (1718916319) to 
> database 'forecast.sdb'
> 2024-06-20T21:45:20.082129+01:00 raspberrypi weewxd[1323]: INFO 
> user.forecast: XTideThread: XTide: saved 108 forecast records
> 2024-06-20T21:45:20.082229+01:00 raspberrypi weewxd[1323]: INFO 
> user.forecast: XTideThread: XTide: deleted forecasts prior to 1716497120
> So thanks for your patience as for what weewx runs as sorry i didnt know 
> and didnt know how to find out
> So thanks again
> Phil
>
> On Thursday, June 20, 2024 at 9:33:52 PM UTC+1 John Kline wrote:
>
>> It’s unfortunate that you didn’t tell me what user weewx runs as.
>>
>> Also, you did an ‘eye-dee’ instead of an “ell-dee”.
>> please run the following (perhaps cut and paste it):
>> ls -ld /home/phil
>>
>> After you do the ls -ld (so you can send me the answer), please run the 
>> following:
>> chmod 755 /home/phil
>>
>> And then see if the tides populate on the next run.
>>
>> On Jun 20, 2024, at 1:22 PM, [email protected] <[email protected]> 
>> wrote:
>>
>> Not familiar with much to do with permissions but as a starting point is 
>> this what you meant
>>
>> phil@raspberrypi:~ $ ls -l
>> total 604
>> drwxr-xr-x 2 phil phil   4096 Mar 15 15:05 Bookshelf
>> drwxr-xr-x 2 phil phil   4096 Jun 18 16:43 Desktop
>> drwxr-xr-x 2 phil phil   4096 Jun 18 16:43 Documents
>> drwxr-xr-x 2 phil phil   4096 Jun 19 16:28 Downloads
>> drwxr-xr-x 2 phil phil   4096 Jun 18 16:43 Music
>> drwxr-xr-x 2 phil phil   4096 Jun 20 16:05 Pictures
>> drwxr-xr-x 2 phil phil   4096 Jun 18 16:43 Public
>> drwxr-xr-x 2 phil phil   4096 Jun 18 16:43 Templates
>> drwxr-xr-x 2 phil phil   4096 Jun 18 16:43 Videos
>> drwxrwxrwx 8 phil phil   4096 Jun 18 22:06 xtide-2.15.5
>> -rw-r--r-- 1 phil phil 574972 May 11  2022 xtide-2.15.5.tar.xz 
>> phil@raspberrypi:~ $ ls -id /home/phil
>> 1046530 /home/phil
>>
>> You will have to talk me through anything deeper
>>
>> On Thursday, June 20, 2024 at 8:38:15 PM UTC+1 John Kline wrote:
>>
>>> The only other thing I can think of is permissions.  I assume you are 
>>> running as phil when you try it manually and have it working.  What user is 
>>> weewx running as?  If it isn’t phil, can you try manually as the the weewx 
>>> user?  If that’s not easy for you, you can send the permission (ls -l) on 
>>> file and directory that we need to access.
>>>
>>> In particular, starting with bookworm, a user’s home directory is not 
>>> acessible by other users.  As such,
>>> ls -ld /home/phil
>>> would be particularly useful command to run. 
>>>
>>> On Jun 20, 2024, at 12:28 PM, [email protected] <[email protected]> 
>>> wrote:
>>>
>>> /usr/share/xtide contains harmonics-dwf-20100529-nonfree and 
>>> harmonics-dwf-20191229-free-tcd
>>>
>>> and /etc/xtide.conf  has /usr/share/xtide in.
>>>
>>> On Thursday, June 20, 2024 at 7:44:52 PM UTC+1 John Kline wrote:
>>>
>>>> I just installed the non-free xtide data package and set my location to 
>>>> Cromer, England.
>>>>
>>>>     [[XTide]]
>>>>         location = Cromer, England
>>>>         prog = /home/jkline/software/xtide-2.15.5/tide
>>>>
>>>> It works perfectly:
>>>> 2024-06-20T11:35:03.159036-07:00 judygirldog5 weewxd[2845024]: INFO 
>>>> user.forecast: XTideThread: XTide: generating tides from 2024-06-20 
>>>> 00:00:00 PDT (1718866800) to 2024-07-18 00:00:00 PDT (1721286000)
>>>> 2024-06-20T11:35:03.326879-07:00 judygirldog5 weewxd[2845024]: INFO 
>>>> user.forecast: XTideThread: XTide: saved 109 forecast records
>>>> 2024-06-20T11:35:03.352681-07:00 judygirldog5 weewxd[2845024]: INFO 
>>>> user.forecast: XTideThread: XTide: deleted forecasts prior to 1716489303
>>>>
>>>> You would see your results if it could not find the harmonic data. 
>>>>  When you redid the setup, did you remember to create the /etc/xtide.conf 
>>>> file?  What are its contents?
>>>>
>>>> On mine, the file contains “/usr/share/xtide”
>>>> In turn, /usr/share/xtide contains:
>>>> harmonics-dwf-20100529-nonfree.tcd  harmonics-dwf-20191229-free.tcd
>>>>
>>>>
>>>> On Jun 20, 2024, at 11:25 AM, [email protected] <
>>>> [email protected]> wrote:
>>>>
>>>> Changed weewx.conf
>>>>
>>>> Deleted forecast.sdb
>>>> Restarted weewx
>>>> Still no change after about 3hrs
>>>> Still no data available
>>>>
>>>>
>>>> On Thursday, June 20, 2024 at 2:48:18 PM UTC+1 John Kline wrote:
>>>>
>>>>> Philip,
>>>>>
>>>>> You are using the non-free xtide data presumably to get data for 
>>>>> Cromer.  I don’t have that installed.
>>>>>
>>>>> Let’s first confirm if this will work for Palo Alto.  Change your 
>>>>> weewx.conf to use location: Palo Alto Yacht Harbor, San Francisco Bay, 
>>>>> California
>>>>>
>>>>> While you are at it, remove the interval, duration and max_age lines.
>>>>>
>>>>> You’ll then have an identical set up to me.
>>>>>
>>>>> If that works, we can move on to Cromer.  BTW, when we do move on, it 
>>>>> would be good if you compare the same thing between the command line and 
>>>>> within weewx.  I see that you’ve used “Cromer” on the command line, but 
>>>>> “Cromer, England” in weewx.  Just put Cromer (no quotes) in weewx.conf.
>>>>>
>>>>> On Jun 20, 2024, at 4:08 AM, [email protected] <
>>>>> [email protected]> wrote:
>>>>>
>>>>> Sorry bad wording on my part. Didnt move anything just went into 
>>>>> different sun-directories from the terminal prompt.
>>>>>
>>>>>
>>>>> Have deleted forecast.sdb and get the same 2 lines every 5 min cycle 
>>>>> and these are in the txt.file
>>>>>  From the prompt 
>>>>>  phil@raspberrypi:~ $ /home/phil/xtide-2.15.5/tide -l Cromer
>>>>> I get Cromer tides so that seems to be working
>>>>> The 2 lines are in the txt file along with my weewx.conf [[xtide]] 
>>>>> info.
>>>>> On Wednesday, June 19, 2024 at 11:17:50 PM UTC+1 John Kline wrote:
>>>>>
>>>>>> My god.  Don’t be moving the program around.  It was built it 
>>>>>> /home/phill/xtide-2.15.5.  Leave it there and point prog to it.
>>>>>>
>>>>>> You need to be able to execute whatever the prog line says.  For 
>>>>>> example:
>>>>>> In my case:
>>>>>> prog = /home/jkline/software/xtide-2.15.5/tide
>>>>>> So, I need to be able to execute:
>>>>>> /home/jkline/software/xtide-2.15.5/tide
>>>>>>
>>>>>> If that works, you’ll be good to go.  ***Restart*** WeeWX and wait 
>>>>>> for it to decide to run the XTideThread again.  If you have any further 
>>>>>> issues, send the XTideThread lines in the log.
>>>>>>
>>>>>> The tide forecast doesn’t run very often.  To hurry it along, you can 
>>>>>> stop weewx, delete the forecast.sdb database in the archive directory, 
>>>>>> restart weewx and wait for a 5 minute interval.  That is when the 
>>>>>> forecast 
>>>>>> xtide thread will attempt to generate the data.  Again, any issues, send 
>>>>>> the XTideThread lines in the log.
>>>>>>
>>>>>> You should see something like this in the logs:
>>>>>>
>>>>>> 2024-06-19T15:15:03.495496-07:00 judygirldog5 weewxd[1638636]: INFO 
>>>>>> user.forecast: XTideThread: XTide: generating tides from 2024-06-19 
>>>>>> 00:00:00 PDT (1718780400) to 2024-07-17 00:00:00 PDT (1721199600)
>>>>>> 2024-06-19T15:15:03.563622-07:00 judygirldog5 weewxd[1638636]: INFO 
>>>>>> user.forecast: XTideThread: XTide: saved 108 forecast records
>>>>>> 2024-06-19T15:15:03.585208-07:00 judygirldog5 weewxd[1638636]: INFO 
>>>>>> user.forecast: XTideThread: XTide: deleted forecasts prior to 1716416103
>>>>>>
>>>>>> On Jun 19, 2024, at 2:44 PM, [email protected] <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>> The tide program was there but I had changed the cd 
>>>>>> /home/phil/xtide-2.15.5.
>>>>>>
>>>>>> I put tide there it failed.
>>>>>> If I go to the home directory and put in /home/phil/xtide-2.15.5 tide 
>>>>>> it displays the help
>>>>>> If i put in /home/phil/xtide-2.15.5/tide -l Boston it displays the 
>>>>>> Info for Boston but in the logs it says No tidal available.
>>>>>>
>>>>>>
>>>>>> On Wednesday, June 19, 2024 at 10:25:16 PM UTC+1 John Kline wrote:
>>>>>>
>>>>>>> Actually, after the make, if you don’t see the tide program, do a 
>>>>>>> “make tide”. And the check for the tide program.
>>>>>>>
>>>>>>> If you see it, execute it.  You should see some help info.  If you 
>>>>>>> see that, then go ahead and try it in weewx.
>>>>>>>
>>>>>>> There is not point to doing anything else until you have a tide 
>>>>>>> program that you can execute.
>>>>>>>
>>>>>>> On Jun 19, 2024, at 2:19 PM, John Kline <[email protected]> wrote:
>>>>>>>
>>>>>>> 
>>>>>>>
>>>>>>> When you did the make, it didn’t create tide?
>>>>>>> Do make again and then send a listing of the directory.
>>>>>>> ls -l /home/phil/xtide-2.15.5
>>>>>>>
>>>>>>> On Jun 19, 2024, at 2:17 PM, [email protected] <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>> Added location = "Palo Alto Yacht Harbor, San Francisco Bay, 
>>>>>>> California"
>>>>>>> prog = /home/phil/xtide-2.15.5/tide
>>>>>>> sudo apt install xtide-data
>>>>>>> Added /etc/xtide.conf with /usr/share/xtide   where the harmonic is
>>>>>>> Still I get no tidal data
>>>>>>> If i do /home/phil/xtide-2.15.5/tide   it comes  back tide command 
>>>>>>> not found
>>>>>>>
>>>>>>> On Tuesday, June 18, 2024 at 10:31:58 PM UTC+1 John Kline wrote:
>>>>>>>
>>>>>>>> I checked your output.  It looks like configure and make succeeded. 
>>>>>>>>  You should be good to go.
>>>>>>>>
>>>>>>>> On Jun 18, 2024, at 2:16 PM, [email protected] <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>> sorry forgot to add the txt file
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tuesday, June 18, 2024 at 10:13:45 PM UTC+1 [email protected] 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> It looks more promising.
>>>>>>>>> I haven't gone pass   make    but if  its what you expected will 
>>>>>>>>> carry on but not until tomorrow.
>>>>>>>>> But thanks so far
>>>>>>>>> Phil
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tuesday, June 18, 2024 at 9:52:46 PM UTC+1 John Kline wrote:
>>>>>>>>>
>>>>>>>>>> OK, the difference is that you are building on the full install 
>>>>>>>>>> of bookworm and I am building on lite.  Try this for the configure 
>>>>>>>>>> step:
>>>>>>>>>>
>>>>>>>>>> ./configure --with-x=no
>>>>>>>>>>
>>>>>>>>>> That *should* build what I am building (tide, but not xtide). 
>>>>>>>>>>  I’m guessing this will work, but let me know.  If it does, I’ll 
>>>>>>>>>> update the 
>>>>>>>>>> README.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Jun 18, 2024, at 1:27 PM, [email protected] <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>> phil@raspberrypi:~/xtide-2.15.5 $ sudo apt install libfreetype6
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Reading package lists... Done
>>>>>>>>>> Building dependency tree... Done
>>>>>>>>>> Reading state information... Done
>>>>>>>>>> libfreetype6 is already the newest version (2.12.1+dfsg-5).
>>>>>>>>>> libfreetype6 set to manually installed.
>>>>>>>>>> The following packages were automatically installed and are no 
>>>>>>>>>> longer required:
>>>>>>>>>>   libcamera0.2 libraspberrypi0 libwpe-1.0-1 
>>>>>>>>>> libwpebackend-fdo-1.0-1
>>>>>>>>>> Use 'sudo apt autoremove' to remove them.
>>>>>>>>>> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>>>>>>>>>> phil@raspberrypi:~/xtide-2.15.5 $ 
>>>>>>>>>>
>>>>>>>>>> On Tuesday, June 18, 2024 at 8:01:12 PM UTC+1 John Kline wrote:
>>>>>>>>>>
>>>>>>>>>>> Try:
>>>>>>>>>>> sudo apt install libfreetype6
>>>>>>>>>>>
>>>>>>>>>>> And then re-run configure.  Again, there is no need to run make 
>>>>>>>>>>> (which you did again) if the configure ends in an error.
>>>>>>>>>>>
>>>>>>>>>>> On Jun 18, 2024, at 11:37 AM, [email protected] <
>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>
>>>>>>>>>>> This time i used the correct file but as you can see from the 
>>>>>>>>>>> file Im attaching going down your readme file when I get to make it 
>>>>>>>>>>> seems 
>>>>>>>>>>> to fail so I didnt go any further
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Tuesday, June 18, 2024 at 3:49:28 PM UTC+1 
>>>>>>>>>>> [email protected] wrote:
>>>>>>>>>>>
>>>>>>>>>>>> OOPs  Yes I did
>>>>>>>>>>>> Oh well 3rd time luck
>>>>>>>>>>>>
>>>>>>>>>>>> On Tuesday, June 18, 2024 at 2:42:45 PM UTC+1 John Kline wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> > Then used  tar -zxvf xtide-2.15.5.tar.gz and changed to 
>>>>>>>>>>>>> that directory
>>>>>>>>>>>>>
>>>>>>>>>>>>> Which tar did you use?  You cannot use the file I sent you.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Jun 18, 2024, at 6:24 AM, [email protected] <
>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> Hi John
>>>>>>>>>>>>>
>>>>>>>>>>>>> Built a fresh build using the Raspberry pi imager
>>>>>>>>>>>>> Loaded weewx   All OK
>>>>>>>>>>>>> Then used  tar -zxvf xtide-2.15.5.tar.gz and changed to that 
>>>>>>>>>>>>> directory
>>>>>>>>>>>>> then sudo apt-get install libpng-dev and then sudo apt-get 
>>>>>>>>>>>>> install libtcd-dev
>>>>>>>>>>>>> ./ configure
>>>>>>>>>>>>> and then make and this time got
>>>>>>>>>>>>> make  all-am
>>>>>>>>>>>>> make[1]: Entering directory '/home/phil/xtide-2.15.5'
>>>>>>>>>>>>> make[1]: Nothing to be done for 'all-am'.
>>>>>>>>>>>>> make[1]: Leaving directory '/home/phil/xtide-2.15.5'
>>>>>>>>>>>>> so then sudo apt-get install xtide-data
>>>>>>>>>>>>> and then in xtide-2.15.5 folder type tide and got
>>>>>>>>>>>>> phil@raspberrypi:~/xtide-2.15.5 $ tide
>>>>>>>>>>>>> bash: tide: command not found
>>>>>>>>>>>>> As this didnt work I stopped as I believe you said if that 
>>>>>>>>>>>>> does not work its no good
>>>>>>>>>>>>> Have put all this in the text file I hope ??
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Monday, June 17, 2024 at 7:17:49 PM UTC+1 
>>>>>>>>>>>>> [email protected] wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> I use the Raspberry Pi Imager with Pi5 and Pi 5 64 Bit 
>>>>>>>>>>>>>> software so Im assuming its the full package.
>>>>>>>>>>>>>> What Im going to do is have a fresh install of Pi5 using the 
>>>>>>>>>>>>>> Raspberry Imager and load weewx again and start a fresh with 
>>>>>>>>>>>>>> your 
>>>>>>>>>>>>>> XTide-=2.15.5.tar.gz
>>>>>>>>>>>>>> I shall copy all terminal responses to this post and see what 
>>>>>>>>>>>>>> you think.
>>>>>>>>>>>>>> Im hoping ./configure and then make works.
>>>>>>>>>>>>>> Will send you all terminal responses.
>>>>>>>>>>>>>> Phil 
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Monday, June 17, 2024 at 6:07:01 PM UTC+1 John Kline wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> If you try executing tide and it doesn’t work, you need not 
>>>>>>>>>>>>>>> try anything further.  The problem is the path /home/jkline (my 
>>>>>>>>>>>>>>> home 
>>>>>>>>>>>>>>> directory) is hardcoded by configure.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> You need to be able to build xtide.  If you want to try 
>>>>>>>>>>>>>>> again, and configure fails again, I can have a look.  Please 
>>>>>>>>>>>>>>> [re-]confirm 
>>>>>>>>>>>>>>> that you have installed the prerequisites.  If configure fails 
>>>>>>>>>>>>>>> again, there 
>>>>>>>>>>>>>>> is no point to try make.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I am surprised that you can’t configure since we’re running 
>>>>>>>>>>>>>>> the same OS.  I have the lite version of Bookworm 64-bit 
>>>>>>>>>>>>>>> installed.  Do you 
>>>>>>>>>>>>>>> have the full version?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Jun 17, 2024, at 9:36 AM, [email protected] <
>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> rm -rf xtide-2.15.5      This removed the directory OK
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> copied your xtide-2.15.5.tar.gz into my Downloads directory 
>>>>>>>>>>>>>>> and from that directory tar -zxvf xtide-2.15.5.tar.gz
>>>>>>>>>>>>>>> which went ok.
>>>>>>>>>>>>>>> restarted weewx
>>>>>>>>>>>>>>> From the xtide-2.15.5 directory  $ tide got this
>>>>>>>>>>>>>>> phil@raspberrypi:~ $ /home/phil/xtide-2.15.5/tide
>>>>>>>>>>>>>>> /home/phil/xtide-2.15.5/.libs/tide: error while loading 
>>>>>>>>>>>>>>> shared libraries: libxtide.so.1: cannot open shared object 
>>>>>>>>>>>>>>> file: No such 
>>>>>>>>>>>>>>> file or directory
>>>>>>>>>>>>>>> phil@raspberrypi:~ $
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> copied and paste the xtide-2.15.5 directory into my home 
>>>>>>>>>>>>>>> directory. 
>>>>>>>>>>>>>>> restarted weewx
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> phil@raspberrypi:~ $ /home/phil/xtide-2.15.5/tide
>>>>>>>>>>>>>>> /home/phil/xtide-2.15.5/.libs/tide: error while loading 
>>>>>>>>>>>>>>> shared libraries: libxtide.so.1: cannot open shared object 
>>>>>>>>>>>>>>> file: No such 
>>>>>>>>>>>>>>> file or directory
>>>>>>>>>>>>>>> phil@raspberrypi:~ $ 
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> After this the log still no tidal events
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Monday, June 17, 2024 at 5:00:58 PM UTC+1 John Kline 
>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I got a message that the file was too large.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Let’s try again:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> It is not what I expected.  I’ll give you the whole built 
>>>>>>>>>>>>>>>> directory tree:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> You can download it at:
>>>>>>>>>>>>>>>> paloaltoweather.com 
>>>>>>>>>>>>>>>> <https://www.paloaltoweather.com/xtide-2.15.5.tar.gz>
>>>>>>>>>>>>>>>> <https://www.paloaltoweather.com/xtide-2.15.5.tar.gz> 
>>>>>>>>>>>>>>>> <https://www.paloaltoweather.com/xtide-2.15.5.tar.gz>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> From your home directory, remove the exiting xtide 
>>>>>>>>>>>>>>>> directory, then untar what you just downloaded:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> rm -rf xtide-2.15.5
>>>>>>>>>>>>>>>> tar -zxvf xtide-2.15.5.tar.gz
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Now try executing tide again.  If that works, restart weewx 
>>>>>>>>>>>>>>>> and see if it works.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Jun 17, 2024, at 8:48 AM, John Kline <
>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> It is not what I expected.  Here is the whole built 
>>>>>>>>>>>>>>>> directory tree:
>>>>>>>>>>>>>>>> <xtide-2.15.5.tar.gz>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> From your home directory, remove the exiting xtide 
>>>>>>>>>>>>>>>> directory:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> rm -rf xtide-2.15.5
>>>>>>>>>>>>>>>> tar -zxvf xtide-2.15.5.tar.gz
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Then try executing tide again.  If that works, restart 
>>>>>>>>>>>>>>>> weewx and see if it works.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Jun 17, 2024, at 8:04 AM, [email protected] <
>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> phil@raspberrypi:~ $ /home/phil/xtide-2.15.5/tide
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> /home/phil/xtide-2.15.5/tide: error: 
>>>>>>>>>>>>>>>> '/home/phil/xtide-2.15.5/.libs/tide' does not exist
>>>>>>>>>>>>>>>> This script is just a wrapper for tide.
>>>>>>>>>>>>>>>> See the libtool documentation for more information.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Is this what you expected ?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Monday, June 17, 2024 at 3:27:32 PM UTC+1 John Kline 
>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> And what happens when you type:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> /home/phil/xtide-2.15.5/tide
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> on the command line?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Does the program run?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> If so, grep XTideThread in the logs and send the results. 
>>>>>>>>>>>>>>>>>  How you look at logs will vary depending on how you have set 
>>>>>>>>>>>>>>>>> this up (but 
>>>>>>>>>>>>>>>>> probably journalctl).
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Jun 17, 2024, at 6:52 AM, [email protected] <
>>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> If you look at my 1015 post it has this in it
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> created /etc/xtide.conf
>>>>>>>>>>>>>>>>> Added /usr/share/xtide   into the file 
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Ive sent you my weewx.conf file it has prog = 
>>>>>>>>>>>>>>>>> /home/phil/xtide-2.15.5/tide  in it I forgot to add it to my 
>>>>>>>>>>>>>>>>> 1015 post
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Monday, June 17, 2024 at 2:26:28 PM UTC+1 John Kline 
>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I don’t see a “prog = “ line in the XTide section (per my 
>>>>>>>>>>>>>>>>>> instructions).  Did you do that?
>>>>>>>>>>>>>>>>>> And did you create a /etc/xtide.conf file?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Would you please follow the instructions line by line?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Jun 17, 2024, at 2:26 AM, [email protected] <
>>>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Sorry sent to early
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thought that your file needs to be an executable so from 
>>>>>>>>>>>>>>>>>> the xtide-2.15.5 directory
>>>>>>>>>>>>>>>>>> sudo chmod +x tide
>>>>>>>>>>>>>>>>>> Still no tidal events
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Monday, June 17, 2024 at 10:23:15 AM UTC+1 
>>>>>>>>>>>>>>>>>> [email protected] wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Thought that your file needs to be an executable so from 
>>>>>>>>>>>>>>>>>>> the xtide-2.15.5 directory
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Monday, June 17, 2024 at 10:15:51 AM UTC+1 
>>>>>>>>>>>>>>>>>>> [email protected] wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Hi John
>>>>>>>>>>>>>>>>>>>> Still no joy
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Unzipped your file and loaded it into directory 
>>>>>>>>>>>>>>>>>>>> xtide-2.15.5 as tide
>>>>>>>>>>>>>>>>>>>> In weewx.conf under [[XTide]] prog = 
>>>>>>>>>>>>>>>>>>>> /home/phil/xtide-2.25.5/tide
>>>>>>>>>>>>>>>>>>>> Then carried on from your readme notes
>>>>>>>>>>>>>>>>>>>> sudo apt install xtide-data
>>>>>>>>>>>>>>>>>>>> sudp apt instal xtide-data-nonfree
>>>>>>>>>>>>>>>>>>>> Both loaded OK
>>>>>>>>>>>>>>>>>>>> created /etc/xtide.conf
>>>>>>>>>>>>>>>>>>>> Added /usr/share/xtide   into the file 
>>>>>>>>>>>>>>>>>>>> The 2 harmonics exixts in /usr/share/xtide    
>>>>>>>>>>>>>>>>>>>> harmonics-dwf-20100529-nonfree.tcd  and  
>>>>>>>>>>>>>>>>>>>> harmonics-dwf-20191229-free.tcd 
>>>>>>>>>>>>>>>>>>>> In the weewx.conf under [[XTide]] added 
>>>>>>>>>>>>>>>>>>>> location = "Cromer, England"
>>>>>>>>>>>>>>>>>>>> interval = 86400
>>>>>>>>>>>>>>>>>>>> duration = 86400
>>>>>>>>>>>>>>>>>>>> max_age = 86400
>>>>>>>>>>>>>>>>>>>> sudo systemctl restart weewx
>>>>>>>>>>>>>>>>>>>> sudo systemctl status weewx
>>>>>>>>>>>>>>>>>>>> 2 lines for xtideThread
>>>>>>>>>>>>>>>>>>>> user.forecast: XTideThread: XTide: generating tides 
>>>>>>>>>>>>>>>>>>>> from 2024-06-17 00:00:: BST (1718578800)) to 2024-06-18 
>>>>>>>>>>>>>>>>>>>> 00:00:00 
>>>>>>>>>>>>>>>>>>>> (1718665200)
>>>>>>>>>>>>>>>>>>>> user.forecast: XTideThread: XTide: got no tidal events
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Change the location to whats in your readme notes
>>>>>>>>>>>>>>>>>>>> location = "Palo Alto Yacht Club Harbor, San Francisco 
>>>>>>>>>>>>>>>>>>>> Bay, California"
>>>>>>>>>>>>>>>>>>>> Still no tidal events
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Phil
>>>>>>>>>>>>>>>>>>>> On Sunday, June 16, 2024 at 9:39:16 PM UTC+1 John Kline 
>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Philip,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Rather than try to walk you through building a 
>>>>>>>>>>>>>>>>>>>>> package, attached is a zip of the tide executable that 
>>>>>>>>>>>>>>>>>>>>> you need.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> unzip it anywhere you like and point to it by 
>>>>>>>>>>>>>>>>>>>>> following the instructions on the README page in github 
>>>>>>>>>>>>>>>>>>>>> or in my email.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> -- 
>>>>>>>>>>>>>>>>>> You received this message because you are subscribed to 
>>>>>>>>>>>>>>>>>> the Google Groups "weewx-user" 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/weewx-user/c1ba817f-198b-45a4-bfaa-96312756108en%40googlegroups.com
>>>>>>>>>>>>>>>>>>  
>>>>>>>>>>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/c1ba817f-198b-45a4-bfaa-96312756108en%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>>>>>>>>>>>> .
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> -- 
>>>>>>>>>>>>>>>>> You received this message because you are subscribed to 
>>>>>>>>>>>>>>>>> the Google Groups "weewx-user" 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/weewx-user/985974b1-b378-4b69-845f-fa9f4cb550ffn%40googlegroups.com
>>>>>>>>>>>>>>>>>  
>>>>>>>>>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/985974b1-b378-4b69-845f-fa9f4cb550ffn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>>>>>>>>>>> .
>>>>>>>>>>>>>>>>> <weewx.conf>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> -- 
>>>>>>>>>>>>>>>> You received this message because you are subscribed to the 
>>>>>>>>>>>>>>>> Google Groups "weewx-user" 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/weewx-user/5c7d44a5-634b-4aa6-b7d8-4ca5b16fb735n%40googlegroups.com
>>>>>>>>>>>>>>>>  
>>>>>>>>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/5c7d44a5-634b-4aa6-b7d8-4ca5b16fb735n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>>>>>>>>>> .
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> -- 
>>>>>>>>>>>>>>> You received this message because you are subscribed to the 
>>>>>>>>>>>>>>> Google Groups "weewx-user" 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/weewx-user/27ad32bb-29f9-4cd3-968f-43ce156b4cb7n%40googlegroups.com
>>>>>>>>>>>>>>>  
>>>>>>>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/27ad32bb-29f9-4cd3-968f-43ce156b4cb7n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>>>>>>>>> .
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> -- 
>>>>>>>>>>>>> You received this message because you are subscribed to the 
>>>>>>>>>>>>> Google Groups "weewx-user" 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/weewx-user/644cb6ac-4442-4e1d-96a9-abaa1aae9cfen%40googlegroups.com
>>>>>>>>>>>>>  
>>>>>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/644cb6ac-4442-4e1d-96a9-abaa1aae9cfen%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>>>>>>> .
>>>>>>>>>>>>> <tides>
>>>>>>>>>>>>>
>>>>>>>>>>>>> -- 
>>>>>>>>>>> You received this message because you are subscribed to the 
>>>>>>>>>>> Google Groups "weewx-user" 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/weewx-user/69587e25-dbbb-49b2-81f5-4a688e1da3c1n%40googlegroups.com
>>>>>>>>>>>  
>>>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/69587e25-dbbb-49b2-81f5-4a688e1da3c1n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>>>>> .
>>>>>>>>>>> <tides1>
>>>>>>>>>>>
>>>>>>>>>>> -- 
>>>>>>>>>> You received this message because you are subscribed to the 
>>>>>>>>>> Google Groups "weewx-user" 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/weewx-user/1a7fc18a-d6d8-4fd5-bd12-ee52fc8aa7f2n%40googlegroups.com
>>>>>>>>>>  
>>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/1a7fc18a-d6d8-4fd5-bd12-ee52fc8aa7f2n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>>>> .
>>>>>>>>>>
>>>>>>>>>> -- 
>>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>>> Groups "weewx-user" 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/weewx-user/997be9f6-298b-4a94-a029-a65c00fc2afdn%40googlegroups.com
>>>>>>>>  
>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/997be9f6-298b-4a94-a029-a65c00fc2afdn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>> .
>>>>>>>> <tides 2>
>>>>>>>>
>>>>>>>> -- 
>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>> Groups "weewx-user" 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/weewx-user/edcd457f-83a9-4de4-8651-32b1ab992f2an%40googlegroups.com
>>>>>>>  
>>>>>>> <https://groups.google.com/d/msgid/weewx-user/edcd457f-83a9-4de4-8651-32b1ab992f2an%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>> .
>>>>>>>
>>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "weewx-user" 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/weewx-user/88b042e7-595c-4c7c-942f-37c1ab2cec01n%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/weewx-user/88b042e7-595c-4c7c-942f-37c1ab2cec01n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>>> -- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "weewx-user" 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/weewx-user/f1f4cdcd-6dfb-44dd-bda4-67d6d88e7cbdn%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/weewx-user/f1f4cdcd-6dfb-44dd-bda4-67d6d88e7cbdn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>> <New3>
>>>>>
>>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "weewx-user" 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/weewx-user/38f7ebdd-8505-46e6-96ce-ee553b449776n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/38f7ebdd-8505-46e6-96ce-ee553b449776n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> <new5.txt>
>>>>
>>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "weewx-user" 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/weewx-user/f4bc899b-cd59-4ef3-9979-f9097280c3cbn%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/f4bc899b-cd59-4ef3-9979-f9097280c3cbn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "weewx-user" 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/weewx-user/bef3cf3a-ea07-460b-80bd-e04745806d40n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/bef3cf3a-ea07-460b-80bd-e04745806d40n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" 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/weewx-user/a5474b43-9d62-468f-97a6-1b17fd9c877en%40googlegroups.com.

Reply via email to