Re: [weewx-user] Re: first user - a lot of issues [2]

2022-11-07 Thread Alex Vanuxem
Hi Rainer,

don't seem to be able to install the systemd with the script, im sorry

after which when i close the terminal and re-open it , it closes really
quick, and i can read something about 'sleeping'..
can't reopen anymore
in attachment the log i get after installing the script

thx for your effort



Op ma 7 nov. 2022 om 09:23 schreef Rainer Lang :

> this log doesn't say anything regarding weewx except that weewx wrote two
> records to its database which is already (at least a partial) success.
> Such clipped logfiles are not very helpful.
> Otherwise I cannot see any weewx related error.
> You have to add debug = 1 to your weewx.conf (at the top of weewx.conf -
> change debug = 0 to debug =1),
> save and restart weewx.
> And then provide the COMPLETE syslog entries from weewx start until at
> least one, better two, archiving cycles.
> One cycle starts usually every 5 minutes (depending on your settings in
> weewx.conf).
> Without that we can only poke in the dark.
>
>
> On 06.11.2022 23:43, Alex Vanuxem wrote:
>
> thx man;
>
> so where I am at:
> installed hyper-v on windows 11
> installed an ubuntu virtual machine
> tried to instal weewx
> got a syslog see attachment
> got data in, but with errors, see log
> still need to connect the virtual machine with windows, struggling with
> that
> still need to install system.d struggling with that too
>
>
>
>
>
> Op za 5 nov. 2022 om 09:23 schreef Rainer Lang :
>
>> one more thing:
>> first of all you have to check if systemd is installed in your ubuntu
>> installation - if not you need to install it (or something equivalent)
>> how to find out ?
>> run
>> sudo
>>
>> *service --status-all (or when you are the root user without the "sudo") *
>> If systemd is not installed, have a look at
>>
>> e.g. https://github.com/DamionGans/ubuntu-wsl2-systemd-script
>>
>> with the below commands you can install systemd under ubuntu on WSL2
>>
>> sudo apt install git
>> git clone https://github.com/DamionGans/ubuntu-wsl2-systemd-script.git
>> cd ubuntu-wsl2-systemd-script/
>> bash ubuntu-wsl2-systemd-script.sh
>> # Enter your password and wait until the script has finished
>> systemctl
>>
>>
>> You also have to look if the rsyslog service is installed/running (see
>> above command service --status-all)
>> if not, you can try
>> sudo apt-get install rsyslog
>>
>> On 05.11.2022 07:33, Rainer Lang wrote:
>>
>> maybe we are talking cross-purpose:
>> what you describe below is exactly the installation of WSL (exactly
>> speaking WSL2) under Windows 11.
>> Also with Win 11 you have to create the connection between the Windows 11
>> installation and the VM if some application or device in the local network
>> wants to connect with an application inside the VM (here weewx).
>> Ubuntu on WSL2 doesn't contain by default certain services like systemd
>> or rsyslogd. They need to be installed by you manually.
>> Again, there is plenty of documentation for this. Especially for
>> installing systemd under WSL2.
>> e.g. for the network integration and firewall
>>
>> https://stackoverflow.com/questions/61002681/connecting-to-wsl2-server-via-local-network
>> If you use such environments, you need to know their "shortcoming" and
>> needs. 😎
>>
>> On 05.11.2022 03:31, Alex Vanuxem wrote:
>>
>> hey,
>>
>> It was under wsl.
>> *but now i installed under windows 11, hyper-v and installed an ubuntu
>> latest version under a virtual machine, i have the full program;*
>> now i'm struggling again;
>> again no syslog, it says its installed, but cant start it
>> i can invoke ./bin/weewxd , i see a lot of data coming in in my terminal,
>> but no reports to var/www/html/ weewx,
>> i guess it something to do with permissions? or am i just dumb
>> thank you for your time,
>>
>>
>>
>>
>>
>>
>>
>> Op vr 4 nov. 2022 om 22:24 schreef Rainer Lang :
>>
>>> When you want to use weewx under WSL (which works perfectly by the way -
>>> at least with the Interceptor and the Ecowitt Gateway driver),
>>> you need to make sure that the connectivity between the virtual machine
>>> in which WSL is running and the local network the WSL host computer is
>>> running in
>>> has been established.
>>> There are recipes for that - Google is your friend - they describe
>>> Windows Powershell commands to be applied for this to work.
>>>
>>> That's not a weewx specific issue - it applies to any application
>>> running in WSL (Windows Subsystem for Linux) and needing to
>>> contact/communicate
>>> with the local network of the host computer.
>>>
>>> On 04.11.2022 19:47, vince wrote:
>>>
>>> We really need more information on your setup.
>>>
>>> It 'seems' like you are trying to run a rather unusual configuration.
>>>
>>> I noticed this in your errors.txt file:
>>>
>>>- "Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29"
>>>
>>>==> are you trying to run weewx under Windows WSL perhaps ?
>>>
>>> I also see the following:
>>>
>>>- Message: 'Socket error while opening port %d to ethernet host %s.'
>

[weewx-user] Re: first user - a lot of issues [2]

2022-11-07 Thread Rainer Lang
this log doesn't say anything regarding weewx except that weewx wrote 
two records to its database which is already (at least a partial) success.

Such clipped logfiles are not very helpful.
Otherwise I cannot see any weewx related error.
You have to add debug = 1 to your weewx.conf (at the top of weewx.conf - 
change debug = 0 to debug =1),

save and restart weewx.
And then provide the COMPLETE syslog entries from weewx start until at 
least one, better two, archiving cycles.
One cycle starts usually every 5 minutes (depending on your settings in 
weewx.conf).

Without that we can only poke in the dark.


On 06.11.2022 23:43, Alex Vanuxem wrote:

thx man;

so where I am at:
installed hyper-v on windows 11
installed an ubuntu virtual machine
tried to instal weewx
got a syslog see attachment
got data in, but with errors, see log
still need to connect the virtual machine with windows, struggling 
with that

still need to install system.d struggling with that too





Op za 5 nov. 2022 om 09:23 schreef Rainer Lang :

one more thing:
first of all you have to check if systemd is installed in your
ubuntu installation - if not you need to install it (or something
equivalent)
how to find out ?
run
sudo /service --status-all
(or when you are the root user without the "sudo")
/
If systemd is not installed, have a look at/
/
e.g. https://github.com/DamionGans/ubuntu-wsl2-systemd-script

with the below commands you can install systemd under ubuntu on WSL2

|sudo apt install git
git clone
https://github.com/DamionGans/ubuntu-wsl2-systemd-script.git
cd ubuntu-wsl2-systemd-script/
bash ubuntu-wsl2-systemd-script.sh
# Enter your password and wait until the script has finished
systemctl|

||


|You also have to look if the rsyslog service is installed/running
(see above command service --status-all)
if not, you can try|
|sudo apt-get install rsyslog||
|

||

On 05.11.2022 07:33, Rainer Lang wrote:

maybe we are talking cross-purpose:
what you describe below is exactly the installation of WSL
(exactly speaking WSL2) under Windows 11.
Also with Win 11 you have to create the connection between the
Windows 11 installation and the VM if some application or device
in the local network
wants to connect with an application inside the VM (here weewx).
Ubuntu on WSL2 doesn't contain by default certain services like
systemd or rsyslogd. They need to be installed by you manually.
Again, there is plenty of documentation for this. Especially for
installing systemd under WSL2.
e.g. for the network integration and firewall

https://stackoverflow.com/questions/61002681/connecting-to-wsl2-server-via-local-network
If you use such environments, you need to know their
"shortcoming" and needs. 😎

On 05.11.2022 03:31, Alex Vanuxem wrote:

hey,

It was under wsl.
*but now i installed under windows 11, hyper-v and installed an
ubuntu latest version under a virtual machine, i have the full
program;*
now i'm struggling again;
again no syslog, it says its installed, but cant start it
i can invoke ./bin/weewxd , i see a lot of data coming in in my
terminal, but no reports to var/www/html/ weewx,
i guess it something to do with permissions? or am i just dumb
thank you for your time,






Op vr 4 nov. 2022 om 22:24 schreef Rainer Lang
:

When you want to use weewx under WSL (which works perfectly
by the way - at least with the Interceptor and the Ecowitt
Gateway driver),
you need to make sure that the connectivity between the
virtual machine in which WSL is running and the local
network the WSL host computer is running in
has been established.
There are recipes for that - Google is your friend - they
describe Windows Powershell commands to be applied for this
to work.

That's not a weewx specific issue - it applies to any
application running in WSL (Windows Subsystem for Linux) and
needing to contact/communicate
with the local network of the host computer.

On 04.11.2022 19:47, vince wrote:

We really need more information on your setup.

It 'seems' like you are trying to run a rather unusual
configuration.

I noticed this in your errors.txt file:

  * "Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29"

           ==> are you trying to run weewx under Windows
WSL perhaps ?

I also see the following:

  * Message: 'Socket error while opening port %d to
ethernet host %s.' Arguments: (2, '192.168.0.248')
--- Logging error --- Traceback (most recent call
last): File
"/usr/share/weewx/weewx/drivers/vantage.py", line 338,
in openPort self.socket.connect((self.host, self

Re: [weewx-user] Re: first user - a lot of issues [2]

2022-11-06 Thread Alex Vanuxem
thx man;

so where I am at:
installed hyper-v on windows 11
installed an ubuntu virtual machine
tried to instal weewx
got a syslog see attachment
got data in, but with errors, see log
still need to connect the virtual machine with windows, struggling with that
still need to install system.d struggling with that too





Op za 5 nov. 2022 om 09:23 schreef Rainer Lang :

> one more thing:
> first of all you have to check if systemd is installed in your ubuntu
> installation - if not you need to install it (or something equivalent)
> how to find out ?
> run
> sudo
>
> *service --status-all (or when you are the root user without the "sudo") *
> If systemd is not installed, have a look at
>
> e.g. https://github.com/DamionGans/ubuntu-wsl2-systemd-script
>
> with the below commands you can install systemd under ubuntu on WSL2
>
> sudo apt install git
> git clone https://github.com/DamionGans/ubuntu-wsl2-systemd-script.git
> cd ubuntu-wsl2-systemd-script/
> bash ubuntu-wsl2-systemd-script.sh
> # Enter your password and wait until the script has finished
> systemctl
>
>
> You also have to look if the rsyslog service is installed/running (see
> above command service --status-all)
> if not, you can try
> sudo apt-get install rsyslog
>
> On 05.11.2022 07:33, Rainer Lang wrote:
>
> maybe we are talking cross-purpose:
> what you describe below is exactly the installation of WSL (exactly
> speaking WSL2) under Windows 11.
> Also with Win 11 you have to create the connection between the Windows 11
> installation and the VM if some application or device in the local network
> wants to connect with an application inside the VM (here weewx).
> Ubuntu on WSL2 doesn't contain by default certain services like systemd or
> rsyslogd. They need to be installed by you manually.
> Again, there is plenty of documentation for this. Especially for
> installing systemd under WSL2.
> e.g. for the network integration and firewall
>
> https://stackoverflow.com/questions/61002681/connecting-to-wsl2-server-via-local-network
> If you use such environments, you need to know their "shortcoming" and
> needs. 😎
>
> On 05.11.2022 03:31, Alex Vanuxem wrote:
>
> hey,
>
> It was under wsl.
> *but now i installed under windows 11, hyper-v and installed an ubuntu
> latest version under a virtual machine, i have the full program;*
> now i'm struggling again;
> again no syslog, it says its installed, but cant start it
> i can invoke ./bin/weewxd , i see a lot of data coming in in my terminal,
> but no reports to var/www/html/ weewx,
> i guess it something to do with permissions? or am i just dumb
> thank you for your time,
>
>
>
>
>
>
>
> Op vr 4 nov. 2022 om 22:24 schreef Rainer Lang :
>
>> When you want to use weewx under WSL (which works perfectly by the way -
>> at least with the Interceptor and the Ecowitt Gateway driver),
>> you need to make sure that the connectivity between the virtual machine
>> in which WSL is running and the local network the WSL host computer is
>> running in
>> has been established.
>> There are recipes for that - Google is your friend - they describe
>> Windows Powershell commands to be applied for this to work.
>>
>> That's not a weewx specific issue - it applies to any application running
>> in WSL (Windows Subsystem for Linux) and needing to contact/communicate
>> with the local network of the host computer.
>>
>> On 04.11.2022 19:47, vince wrote:
>>
>> We really need more information on your setup.
>>
>> It 'seems' like you are trying to run a rather unusual configuration.
>>
>> I noticed this in your errors.txt file:
>>
>>- "Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29"
>>
>>==> are you trying to run weewx under Windows WSL perhaps ?
>>
>> I also see the following:
>>
>>- Message: 'Socket error while opening port %d to ethernet host %s.'
>>Arguments: (2, '192.168.0.248') --- Logging error --- Traceback (most
>>recent call last): File "/usr/share/weewx/weewx/drivers/vantage.py", line
>>338, in openPort self.socket.connect((self.host, self.port)) OSError:
>>[Errno 113] No route to host
>>
>>  ==> this is a networking issue in your setup
>>
>> We can't try to duplicate the problem(s) without knowing more about your
>> setup.
>>
>> --
>> 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 weewx-user+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/19a056c8-8f87-4460-b31c-feb78448ccbbn%40googlegroups.com
>> 
>> .
>>
>>
>> --
>> 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 weewx

[weewx-user] Re: first user - a lot of issues [2]

2022-11-05 Thread Rainer Lang

one more thing:
first of all you have to check if systemd is installed in your ubuntu 
installation - if not you need to install it (or something equivalent)

how to find out ?
run
sudo /service --status-all
(or when you are the root user without the "sudo")
/
If systemd is not installed, have a look at/
/
e.g. https://github.com/DamionGans/ubuntu-wsl2-systemd-script

with the below commands you can install systemd under ubuntu on WSL2

|sudo apt install git
git clone https://github.com/DamionGans/ubuntu-wsl2-systemd-script.git
cd ubuntu-wsl2-systemd-script/
bash ubuntu-wsl2-systemd-script.sh
# Enter your password and wait until the script has finished
systemctl|

||


|You also have to look if the rsyslog service is installed/running (see 
above command service --status-all)

if not, you can try|
|sudo apt-get install rsyslog||
|

||

On 05.11.2022 07:33, Rainer Lang wrote:

maybe we are talking cross-purpose:
what you describe below is exactly the installation of WSL (exactly 
speaking WSL2) under Windows 11.
Also with Win 11 you have to create the connection between the Windows 
11 installation and the VM if some application or device in the local 
network

wants to connect with an application inside the VM (here weewx).
Ubuntu on WSL2 doesn't contain by default certain services like 
systemd or rsyslogd. They need to be installed by you manually.
Again, there is plenty of documentation for this. Especially for 
installing systemd under WSL2.

e.g. for the network integration and firewall
https://stackoverflow.com/questions/61002681/connecting-to-wsl2-server-via-local-network
If you use such environments, you need to know their "shortcoming" and 
needs. 😎


On 05.11.2022 03:31, Alex Vanuxem wrote:

hey,

It was under wsl.
*but now i installed under windows 11, hyper-v and installed an 
ubuntu latest version under a virtual machine, i have the full program;*

now i'm struggling again;
again no syslog, it says its installed, but cant start it
i can invoke ./bin/weewxd , i see a lot of data coming in in my 
terminal, but no reports to var/www/html/ weewx,

i guess it something to do with permissions? or am i just dumb
thank you for your time,






Op vr 4 nov. 2022 om 22:24 schreef Rainer Lang :

When you want to use weewx under WSL (which works perfectly by
the way - at least with the Interceptor and the Ecowitt Gateway
driver),
you need to make sure that the connectivity between the virtual
machine in which WSL is running and the local network the WSL
host computer is running in
has been established.
There are recipes for that - Google is your friend - they
describe Windows Powershell commands to be applied for this to work.

That's not a weewx specific issue - it applies to any application
running in WSL (Windows Subsystem for Linux) and needing to
contact/communicate
with the local network of the host computer.

On 04.11.2022 19:47, vince wrote:

We really need more information on your setup.

It 'seems' like you are trying to run a rather unusual
configuration.

I noticed this in your errors.txt file:

  * "Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29"

           ==> are you trying to run weewx under Windows WSL
perhaps ?

I also see the following:

  * Message: 'Socket error while opening port %d to ethernet
host %s.' Arguments: (2, '192.168.0.248') --- Logging
error --- Traceback (most recent call last): File
"/usr/share/weewx/weewx/drivers/vantage.py", line 338, in
openPort self.socket.connect((self.host, self.port))
OSError: [Errno 113] No route to host

             ==> this is a networking issue in your setup

We can't try to duplicate the problem(s) without knowing more
about your setup.

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit

https://groups.google.com/d/msgid/weewx-user/19a056c8-8f87-4460-b31c-feb78448ccbbn%40googlegroups.com

.



-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit

https://groups.google.com/d/msgid/weewx-user/fef7077b-712b-cc8e-9aa2-02c9e91e260f%40gmail.com

.

--
You received this message because you are subscribed to the Google 
Groups "weewx-user" gro

Re: [weewx-user] Re: first user - a lot of issues

2022-11-04 Thread Rainer Lang

maybe we are talking cross-purpose:
what you describe below is exactly the installation of WSL (exactly 
speaking WSL2) under Windows 11.
Also with Win 11 you have to create the connection between the Windows 
11 installation and the VM if some application or device in the local 
network

wants to connect with an application inside the VM (here weewx).
Ubuntu on WSL2 doesn't contain by default certain services like systemd 
or rsyslogd. They need to be installed by you manually.
Again, there is plenty of documentation for this. Especially for 
installing systemd under WSL2.

e.g. for the network integration and firewall
https://stackoverflow.com/questions/61002681/connecting-to-wsl2-server-via-local-network
If you use such environments, you need to know their "shortcoming" and 
needs. 😎


On 05.11.2022 03:31, Alex Vanuxem wrote:

hey,

It was under wsl.
*but now i installed under windows 11, hyper-v and installed an ubuntu 
latest version under a virtual machine, i have the full program;*

now i'm struggling again;
again no syslog, it says its installed, but cant start it
i can invoke ./bin/weewxd , i see a lot of data coming in in my 
terminal, but no reports to var/www/html/ weewx,

i guess it something to do with permissions? or am i just dumb
thank you for your time,






Op vr 4 nov. 2022 om 22:24 schreef Rainer Lang :

When you want to use weewx under WSL (which works perfectly by the
way - at least with the Interceptor and the Ecowitt Gateway driver),
you need to make sure that the connectivity between the virtual
machine in which WSL is running and the local network the WSL host
computer is running in
has been established.
There are recipes for that - Google is your friend - they describe
Windows Powershell commands to be applied for this to work.

That's not a weewx specific issue - it applies to any application
running in WSL (Windows Subsystem for Linux) and needing to
contact/communicate
with the local network of the host computer.

On 04.11.2022 19:47, vince wrote:

We really need more information on your setup.

It 'seems' like you are trying to run a rather unusual configuration.

I noticed this in your errors.txt file:

  * "Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29"

           ==> are you trying to run weewx under Windows WSL
perhaps ?

I also see the following:

  * Message: 'Socket error while opening port %d to ethernet host
%s.' Arguments: (2, '192.168.0.248') --- Logging error
--- Traceback (most recent call last): File
"/usr/share/weewx/weewx/drivers/vantage.py", line 338, in
openPort self.socket.connect((self.host, self.port)) OSError:
[Errno 113] No route to host

             ==> this is a networking issue in your setup

We can't try to duplicate the problem(s) without knowing more
about your setup.

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit

https://groups.google.com/d/msgid/weewx-user/19a056c8-8f87-4460-b31c-feb78448ccbbn%40googlegroups.com

.



-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit

https://groups.google.com/d/msgid/weewx-user/fef7077b-712b-cc8e-9aa2-02c9e91e260f%40gmail.com

.

--
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAHaYyo%2BUxKKd55E8VixmNnARUgsF-bEzqZvNQbjjD8UGxDNjLA%40mail.gmail.com 
.


--
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e3988bd8-1bed-f6fb-d831-7477153766c5%40gmail.com.


Re: [weewx-user] Re: first user - a lot of issues

2022-11-04 Thread Alex Vanuxem
hey,

It was under wsl.
but now i installed under windows 11, hyper-v and installed an ubuntu
latest version under a virtual machine, i have the full program;
now i'm struggling again;
again no syslog, it says its installed, but cant start it
i can invoke ./bin/weewxd , i see a lot of data coming in in my terminal,
but no reports to var/www/html/ weewx,
i guess it something to do with permissions? or am i just dumb
thank you for your time,







Op vr 4 nov. 2022 om 22:24 schreef Rainer Lang :

> When you want to use weewx under WSL (which works perfectly by the way -
> at least with the Interceptor and the Ecowitt Gateway driver),
> you need to make sure that the connectivity between the virtual machine in
> which WSL is running and the local network the WSL host computer is running
> in
> has been established.
> There are recipes for that - Google is your friend - they describe Windows
> Powershell commands to be applied for this to work.
>
> That's not a weewx specific issue - it applies to any application running
> in WSL (Windows Subsystem for Linux) and needing to contact/communicate
> with the local network of the host computer.
>
> On 04.11.2022 19:47, vince wrote:
>
> We really need more information on your setup.
>
> It 'seems' like you are trying to run a rather unusual configuration.
>
> I noticed this in your errors.txt file:
>
>- "Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29"
>
>==> are you trying to run weewx under Windows WSL perhaps ?
>
> I also see the following:
>
>- Message: 'Socket error while opening port %d to ethernet host %s.'
>Arguments: (2, '192.168.0.248') --- Logging error --- Traceback (most
>recent call last): File "/usr/share/weewx/weewx/drivers/vantage.py", line
>338, in openPort self.socket.connect((self.host, self.port)) OSError:
>[Errno 113] No route to host
>
>  ==> this is a networking issue in your setup
>
> We can't try to duplicate the problem(s) without knowing more about your
> setup.
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/19a056c8-8f87-4460-b31c-feb78448ccbbn%40googlegroups.com
> 
> .
>
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/fef7077b-712b-cc8e-9aa2-02c9e91e260f%40gmail.com
> 
> .
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAHaYyo%2BUxKKd55E8VixmNnARUgsF-bEzqZvNQbjjD8UGxDNjLA%40mail.gmail.com.


Re: [weewx-user] Re: first user - a lot of issues

2022-11-04 Thread Rainer Lang
When you want to use weewx under WSL (which works perfectly by the way - 
at least with the Interceptor and the Ecowitt Gateway driver),
you need to make sure that the connectivity between the virtual machine 
in which WSL is running and the local network the WSL host computer is 
running in

has been established.
There are recipes for that - Google is your friend - they describe 
Windows Powershell commands to be applied for this to work.


That's not a weewx specific issue - it applies to any application 
running in WSL (Windows Subsystem for Linux) and needing to 
contact/communicate

with the local network of the host computer.

On 04.11.2022 19:47, vince wrote:

We really need more information on your setup.

It 'seems' like you are trying to run a rather unusual configuration.

I noticed this in your errors.txt file:

  * "Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29"

           ==> are you trying to run weewx under Windows WSL perhaps ?

I also see the following:

  * Message: 'Socket error while opening port %d to ethernet host %s.'
Arguments: (2, '192.168.0.248') --- Logging error ---
Traceback (most recent call last): File
"/usr/share/weewx/weewx/drivers/vantage.py", line 338, in openPort
self.socket.connect((self.host, self.port)) OSError: [Errno 113]
No route to host

             ==> this is a networking issue in your setup

We can't try to duplicate the problem(s) without knowing more about 
your setup.


--
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/19a056c8-8f87-4460-b31c-feb78448ccbbn%40googlegroups.com 
.


--
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/fef7077b-712b-cc8e-9aa2-02c9e91e260f%40gmail.com.


Re: [weewx-user] Re: first user - a lot of issues

2022-11-04 Thread vince
We really need more information on your setup.

It 'seems' like you are trying to run a rather unusual configuration.

I noticed this in your errors.txt file:

   - "Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29"

   ==> are you trying to run weewx under Windows WSL perhaps ?

I also see the following:

   - Message: 'Socket error while opening port %d to ethernet host %s.' 
   Arguments: (2, '192.168.0.248') --- Logging error --- Traceback (most 
   recent call last): File "/usr/share/weewx/weewx/drivers/vantage.py", line 
   338, in openPort self.socket.connect((self.host, self.port)) OSError: 
   [Errno 113] No route to host
   
 ==> this is a networking issue in your setup

We can't try to duplicate the problem(s) without knowing more about your 
setup.

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/19a056c8-8f87-4460-b31c-feb78448ccbbn%40googlegroups.com.


Re: [weewx-user] Re: first user - a lot of issues

2022-11-04 Thread Alex Vanuxem
the first is an errorlog when i start weewx
the second is errorlog of syslog

thx

Op vr 4 nov. 2022 om 19:07 schreef Alex Vanuxem :

>
>
> Op vr 4 nov. 2022 om 19:07 schreef Alex Vanuxem :
>
>> hi thx
>>
>> i forgot to init.d the rsyslog.
>>
>> now i have syslog see attach. I can connect to my ftp through the linux
>> gui.
>>
>> but since today no data is coming in, ???
>> sorry i'm a newbie.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Op do 3 nov. 2022 om 23:24 schreef Tom Keffer :
>>
>>> (Vince, I think he went to the correct link.)
>>>
>>> Alex, what operating system are you using? These days, almost all
>>> operating systems put something in /var/log.
>>>
>>> If we can't figure it out, there is a way to get WeeWX to log to a
>>> standard file. Add this to the bottom of weewx.conf:
>>>
>>> [Logging]
>>> [[root]]
>>>   handlers = rotate,
>>>
>>> [[handlers]]
>>> # Log to a set of rotating files
>>> [[[rotate]]]
>>> level = DEBUG
>>> formatter = verbose
>>> class = logging.handlers.RotatingFileHandler
>>> filename = /var/tmp/weewx.log
>>> maxBytes = 1000
>>> backupCount = 4
>>>
>>> This will put the weewx-related log entries in /var/tmp/weewx.log. Post
>>> that.
>>>
>>> On Thu, Nov 3, 2022 at 2:19 PM Alex Vanuxem 
>>> wrote:
>>>
 i'm sorry . There's nothing there on both locations specified in the
 doc you posted.  Thanks though any other suggestions? Grtz alex



 Op do 3 nov. 2022 21:59 schreef vince :

> Look at the bottom of
> https://github.com/weewx/weewx/wiki/WeeWX-Frequently-Asked-Questions
>
> On Thursday, November 3, 2022 at 1:36:29 PM UTC-7 vanuxe...@gmail.com
> wrote:
>
>> thx, installed it, but I'm learning python and linux as we speak,
>> bare with me please.
>> where can I find the log? not in var/log... apologize for my
>> dumbness, thanks again
>>
>> Op donderdag 3 november 2022 om 20:26:50 UTC+1 schreef vince:
>>
>>> You need to install a syslog daemon .
>>>
>>> sudo apt-get install -y rsyslog
>>>
>>> On Thursday, November 3, 2022 at 12:13:07 PM UTC-7
>>> vanuxe...@gmail.com wrote:
>>>
 Hi Guys,

 I'm Alex from Belgium, a weather amateur, got a Vantage Pro 2,
 airlinks, and soil and leaf sensors.

 got a website at  Meteo Sint-Katelijne-Waver, Belgium
 (sint-katelijne-waver-meteo.be)
 

 so finally i'm getting some data in
 at var/www/html/weewx/index.html.

 using for the moment vantage pro 2 iplink, i have also wll, thats
 for later.

 but when i start weewx i get a lot of errors see attachment.

 next thing is to send it to my website, i'm missing something...

 thanks




 Op donderdag 3 november 2022 om 01:21:24 UTC+1 schreef Alex Vanuxem:

> hey Guys,
>
> I'm trying weewx for the first time, no experience in python, a
> little bit in php
>
> done the setup as required.
>
> running ubuntu as a virtual machine on windows, want to check it
> out before i buy a raspberry.
>
> problems: in the config file I see a lot of setups which I dont
> get when performing the the how to.
>
> sudo tail -f /var/log/syslog doesn't exist, I'm stuck with the
> nOrth pole default thing.
>
> and sudo ./bin/weewxd doesn't exist???
>
> although i configured the config manually and copied it.
>
> what files do you want to troubleshout?
>
> I've set up a cumulusMX, pwsWD and a meteotemplate website, so
> this should work too?
>
> Bare with me please,
>
> THX
>
> alex
>
 --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/dc807670-b1e8-46c7-9cef-121c27c8a812n%40googlegroups.com
> 
> .
>
 --
 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 weewx-user+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/weewx-user/CAHaYyoJ5V4qo-J5e9OWZkg0hT3XT8

Re: [weewx-user] Re: first user - a lot of issues

2022-11-04 Thread Alex Vanuxem
Op vr 4 nov. 2022 om 19:07 schreef Alex Vanuxem :

> hi thx
>
> i forgot to init.d the rsyslog.
>
> now i have syslog see attach. I can connect to my ftp through the linux
> gui.
>
> but since today no data is coming in, ???
> sorry i'm a newbie.
>
>
>
>
>
>
>
>
>
>
> Op do 3 nov. 2022 om 23:24 schreef Tom Keffer :
>
>> (Vince, I think he went to the correct link.)
>>
>> Alex, what operating system are you using? These days, almost all
>> operating systems put something in /var/log.
>>
>> If we can't figure it out, there is a way to get WeeWX to log to a
>> standard file. Add this to the bottom of weewx.conf:
>>
>> [Logging]
>> [[root]]
>>   handlers = rotate,
>>
>> [[handlers]]
>> # Log to a set of rotating files
>> [[[rotate]]]
>> level = DEBUG
>> formatter = verbose
>> class = logging.handlers.RotatingFileHandler
>> filename = /var/tmp/weewx.log
>> maxBytes = 1000
>> backupCount = 4
>>
>> This will put the weewx-related log entries in /var/tmp/weewx.log. Post
>> that.
>>
>> On Thu, Nov 3, 2022 at 2:19 PM Alex Vanuxem 
>> wrote:
>>
>>> i'm sorry . There's nothing there on both locations specified in the doc
>>> you posted.  Thanks though any other suggestions? Grtz alex
>>>
>>>
>>>
>>> Op do 3 nov. 2022 21:59 schreef vince :
>>>
 Look at the bottom of
 https://github.com/weewx/weewx/wiki/WeeWX-Frequently-Asked-Questions

 On Thursday, November 3, 2022 at 1:36:29 PM UTC-7 vanuxe...@gmail.com
 wrote:

> thx, installed it, but I'm learning python and linux as we speak, bare
> with me please.
> where can I find the log? not in var/log... apologize for my dumbness,
> thanks again
>
> Op donderdag 3 november 2022 om 20:26:50 UTC+1 schreef vince:
>
>> You need to install a syslog daemon .
>>
>> sudo apt-get install -y rsyslog
>>
>> On Thursday, November 3, 2022 at 12:13:07 PM UTC-7
>> vanuxe...@gmail.com wrote:
>>
>>> Hi Guys,
>>>
>>> I'm Alex from Belgium, a weather amateur, got a Vantage Pro 2,
>>> airlinks, and soil and leaf sensors.
>>>
>>> got a website at  Meteo Sint-Katelijne-Waver, Belgium
>>> (sint-katelijne-waver-meteo.be)
>>> 
>>>
>>> so finally i'm getting some data in at var/www/html/weewx/index.html.
>>>
>>> using for the moment vantage pro 2 iplink, i have also wll, thats
>>> for later.
>>>
>>> but when i start weewx i get a lot of errors see attachment.
>>>
>>> next thing is to send it to my website, i'm missing something...
>>>
>>> thanks
>>>
>>>
>>>
>>>
>>> Op donderdag 3 november 2022 om 01:21:24 UTC+1 schreef Alex Vanuxem:
>>>
 hey Guys,

 I'm trying weewx for the first time, no experience in python, a
 little bit in php

 done the setup as required.

 running ubuntu as a virtual machine on windows, want to check it
 out before i buy a raspberry.

 problems: in the config file I see a lot of setups which I dont get
 when performing the the how to.

 sudo tail -f /var/log/syslog doesn't exist, I'm stuck with the
 nOrth pole default thing.

 and sudo ./bin/weewxd doesn't exist???

 although i configured the config manually and copied it.

 what files do you want to troubleshout?

 I've set up a cumulusMX, pwsWD and a meteotemplate website, so this
 should work too?

 Bare with me please,

 THX

 alex

>>> --
 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 weewx-user+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/weewx-user/dc807670-b1e8-46c7-9cef-121c27c8a812n%40googlegroups.com
 
 .

>>> --
>>> 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 weewx-user+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/CAHaYyoJ5V4qo-J5e9OWZkg0hT3XT8SMr_cfCz0DgiMoSdMfu4g%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "weewx-us

Re: [weewx-user] Re: first user - a lot of issues

2022-11-04 Thread Alex Vanuxem
hi thx

i forgot to init.d the rsyslog.

now i have syslog see attach. I can connect to my ftp through the linux gui.

but since today no data is coming in, ???
sorry i'm a newbie.










Op do 3 nov. 2022 om 23:24 schreef Tom Keffer :

> (Vince, I think he went to the correct link.)
>
> Alex, what operating system are you using? These days, almost all
> operating systems put something in /var/log.
>
> If we can't figure it out, there is a way to get WeeWX to log to a
> standard file. Add this to the bottom of weewx.conf:
>
> [Logging]
> [[root]]
>   handlers = rotate,
>
> [[handlers]]
> # Log to a set of rotating files
> [[[rotate]]]
> level = DEBUG
> formatter = verbose
> class = logging.handlers.RotatingFileHandler
> filename = /var/tmp/weewx.log
> maxBytes = 1000
> backupCount = 4
>
> This will put the weewx-related log entries in /var/tmp/weewx.log. Post
> that.
>
> On Thu, Nov 3, 2022 at 2:19 PM Alex Vanuxem 
> wrote:
>
>> i'm sorry . There's nothing there on both locations specified in the doc
>> you posted.  Thanks though any other suggestions? Grtz alex
>>
>>
>>
>> Op do 3 nov. 2022 21:59 schreef vince :
>>
>>> Look at the bottom of
>>> https://github.com/weewx/weewx/wiki/WeeWX-Frequently-Asked-Questions
>>>
>>> On Thursday, November 3, 2022 at 1:36:29 PM UTC-7 vanuxe...@gmail.com
>>> wrote:
>>>
 thx, installed it, but I'm learning python and linux as we speak, bare
 with me please.
 where can I find the log? not in var/log... apologize for my dumbness,
 thanks again

 Op donderdag 3 november 2022 om 20:26:50 UTC+1 schreef vince:

> You need to install a syslog daemon .
>
> sudo apt-get install -y rsyslog
>
> On Thursday, November 3, 2022 at 12:13:07 PM UTC-7 vanuxe...@gmail.com
> wrote:
>
>> Hi Guys,
>>
>> I'm Alex from Belgium, a weather amateur, got a Vantage Pro 2,
>> airlinks, and soil and leaf sensors.
>>
>> got a website at  Meteo Sint-Katelijne-Waver, Belgium
>> (sint-katelijne-waver-meteo.be)
>> 
>>
>> so finally i'm getting some data in at var/www/html/weewx/index.html.
>>
>> using for the moment vantage pro 2 iplink, i have also wll, thats for
>> later.
>>
>> but when i start weewx i get a lot of errors see attachment.
>>
>> next thing is to send it to my website, i'm missing something...
>>
>> thanks
>>
>>
>>
>>
>> Op donderdag 3 november 2022 om 01:21:24 UTC+1 schreef Alex Vanuxem:
>>
>>> hey Guys,
>>>
>>> I'm trying weewx for the first time, no experience in python, a
>>> little bit in php
>>>
>>> done the setup as required.
>>>
>>> running ubuntu as a virtual machine on windows, want to check it out
>>> before i buy a raspberry.
>>>
>>> problems: in the config file I see a lot of setups which I dont get
>>> when performing the the how to.
>>>
>>> sudo tail -f /var/log/syslog doesn't exist, I'm stuck with the nOrth
>>> pole default thing.
>>>
>>> and sudo ./bin/weewxd doesn't exist???
>>>
>>> although i configured the config manually and copied it.
>>>
>>> what files do you want to troubleshout?
>>>
>>> I've set up a cumulusMX, pwsWD and a meteotemplate website, so this
>>> should work too?
>>>
>>> Bare with me please,
>>>
>>> THX
>>>
>>> alex
>>>
>> --
>>> 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 weewx-user+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/dc807670-b1e8-46c7-9cef-121c27c8a812n%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> 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 weewx-user+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/CAHaYyoJ5V4qo-J5e9OWZkg0hT3XT8SMr_cfCz0DgiMoSdMfu4g%40mail.gmail.com
>> 
>> .
>>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/m

Re: [weewx-user] Re: first user - a lot of issues

2022-11-03 Thread Tom Keffer
(Vince, I think he went to the correct link.)

Alex, what operating system are you using? These days, almost all operating
systems put something in /var/log.

If we can't figure it out, there is a way to get WeeWX to log to a standard
file. Add this to the bottom of weewx.conf:

[Logging]
[[root]]
  handlers = rotate,

[[handlers]]
# Log to a set of rotating files
[[[rotate]]]
level = DEBUG
formatter = verbose
class = logging.handlers.RotatingFileHandler
filename = /var/tmp/weewx.log
maxBytes = 1000
backupCount = 4

This will put the weewx-related log entries in /var/tmp/weewx.log. Post
that.

On Thu, Nov 3, 2022 at 2:19 PM Alex Vanuxem  wrote:

> i'm sorry . There's nothing there on both locations specified in the doc
> you posted.  Thanks though any other suggestions? Grtz alex
>
>
>
> Op do 3 nov. 2022 21:59 schreef vince :
>
>> Look at the bottom of
>> https://github.com/weewx/weewx/wiki/WeeWX-Frequently-Asked-Questions
>>
>> On Thursday, November 3, 2022 at 1:36:29 PM UTC-7 vanuxe...@gmail.com
>> wrote:
>>
>>> thx, installed it, but I'm learning python and linux as we speak, bare
>>> with me please.
>>> where can I find the log? not in var/log... apologize for my dumbness,
>>> thanks again
>>>
>>> Op donderdag 3 november 2022 om 20:26:50 UTC+1 schreef vince:
>>>
 You need to install a syslog daemon .

 sudo apt-get install -y rsyslog

 On Thursday, November 3, 2022 at 12:13:07 PM UTC-7 vanuxe...@gmail.com
 wrote:

> Hi Guys,
>
> I'm Alex from Belgium, a weather amateur, got a Vantage Pro 2,
> airlinks, and soil and leaf sensors.
>
> got a website at  Meteo Sint-Katelijne-Waver, Belgium
> (sint-katelijne-waver-meteo.be)
> 
>
> so finally i'm getting some data in at var/www/html/weewx/index.html.
>
> using for the moment vantage pro 2 iplink, i have also wll, thats for
> later.
>
> but when i start weewx i get a lot of errors see attachment.
>
> next thing is to send it to my website, i'm missing something...
>
> thanks
>
>
>
>
> Op donderdag 3 november 2022 om 01:21:24 UTC+1 schreef Alex Vanuxem:
>
>> hey Guys,
>>
>> I'm trying weewx for the first time, no experience in python, a
>> little bit in php
>>
>> done the setup as required.
>>
>> running ubuntu as a virtual machine on windows, want to check it out
>> before i buy a raspberry.
>>
>> problems: in the config file I see a lot of setups which I dont get
>> when performing the the how to.
>>
>> sudo tail -f /var/log/syslog doesn't exist, I'm stuck with the nOrth
>> pole default thing.
>>
>> and sudo ./bin/weewxd doesn't exist???
>>
>> although i configured the config manually and copied it.
>>
>> what files do you want to troubleshout?
>>
>> I've set up a cumulusMX, pwsWD and a meteotemplate website, so this
>> should work too?
>>
>> Bare with me please,
>>
>> THX
>>
>> alex
>>
> --
>> 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 weewx-user+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/dc807670-b1e8-46c7-9cef-121c27c8a812n%40googlegroups.com
>> 
>> .
>>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/CAHaYyoJ5V4qo-J5e9OWZkg0hT3XT8SMr_cfCz0DgiMoSdMfu4g%40mail.gmail.com
> 
> .
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBtPp97VTptkGY9bw-Vt77UzG0%2BkO0YJMBU1m1f%2BsN48A%40mail.gmail.com.


Re: [weewx-user] Re: first user - a lot of issues

2022-11-03 Thread vince
Try again.  The next-to-last link in the FAQ.

You have to work a 'little' here please.  I'd suggest you also look into 
some free linux courses online to help you learn linux enough.

On Thursday, November 3, 2022 at 2:19:50 PM UTC-7 vanuxe...@gmail.com wrote:

> i'm sorry . There's nothing there on both locations specified in the doc 
> you posted.  Thanks though any other suggestions? Grtz alex
>
>
>
> Op do 3 nov. 2022 21:59 schreef vince :
>
>> Look at the bottom of 
>> https://github.com/weewx/weewx/wiki/WeeWX-Frequently-Asked-Questions
>>
>> On Thursday, November 3, 2022 at 1:36:29 PM UTC-7 vanuxe...@gmail.com 
>> wrote:
>>
>>> thx, installed it, but I'm learning python and linux as we speak, bare 
>>> with me please.
>>> where can I find the log? not in var/log... apologize for my dumbness, 
>>> thanks again
>>>
>>> Op donderdag 3 november 2022 om 20:26:50 UTC+1 schreef vince:
>>>
 You need to install a syslog daemon .

 sudo apt-get install -y rsyslog

 On Thursday, November 3, 2022 at 12:13:07 PM UTC-7 vanuxe...@gmail.com 
 wrote:

> Hi Guys,
>
> I'm Alex from Belgium, a weather amateur, got a Vantage Pro 2, 
> airlinks, and soil and leaf sensors.
>
> got a website at  Meteo Sint-Katelijne-Waver, Belgium 
> (sint-katelijne-waver-meteo.be) 
> 
>
> so finally i'm getting some data in at var/www/html/weewx/index.html.
>
> using for the moment vantage pro 2 iplink, i have also wll, thats for 
> later.
>
> but when i start weewx i get a lot of errors see attachment.
>
> next thing is to send it to my website, i'm missing something... 
>
> thanks
>
>
>
>
> Op donderdag 3 november 2022 om 01:21:24 UTC+1 schreef Alex Vanuxem:
>
>> hey Guys,
>>
>> I'm trying weewx for the first time, no experience in python, a 
>> little bit in php
>>
>> done the setup as required.
>>
>> running ubuntu as a virtual machine on windows, want to check it out 
>> before i buy a raspberry.
>>
>> problems: in the config file I see a lot of setups which I dont get 
>> when performing the the how to.
>>
>> sudo tail -f /var/log/syslog doesn't exist, I'm stuck with the nOrth 
>> pole default thing.
>>
>> and sudo ./bin/weewxd doesn't exist???
>>
>> although i configured the config manually and copied it.
>>
>> what files do you want to troubleshout?
>>
>> I've set up a cumulusMX, pwsWD and a meteotemplate website, so this 
>> should work too?
>>
>> Bare with me please,
>>
>> THX
>>
>> alex
>>
> -- 
>> 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 weewx-user+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/dc807670-b1e8-46c7-9cef-121c27c8a812n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c4ff276e-d889-4eb9-96ec-b3833f19b932n%40googlegroups.com.


Re: [weewx-user] Re: first user - a lot of issues

2022-11-03 Thread Alex Vanuxem
i'm sorry . There's nothing there on both locations specified in the doc
you posted.  Thanks though any other suggestions? Grtz alex



Op do 3 nov. 2022 21:59 schreef vince :

> Look at the bottom of
> https://github.com/weewx/weewx/wiki/WeeWX-Frequently-Asked-Questions
>
> On Thursday, November 3, 2022 at 1:36:29 PM UTC-7 vanuxe...@gmail.com
> wrote:
>
>> thx, installed it, but I'm learning python and linux as we speak, bare
>> with me please.
>> where can I find the log? not in var/log... apologize for my dumbness,
>> thanks again
>>
>> Op donderdag 3 november 2022 om 20:26:50 UTC+1 schreef vince:
>>
>>> You need to install a syslog daemon .
>>>
>>> sudo apt-get install -y rsyslog
>>>
>>> On Thursday, November 3, 2022 at 12:13:07 PM UTC-7 vanuxe...@gmail.com
>>> wrote:
>>>
 Hi Guys,

 I'm Alex from Belgium, a weather amateur, got a Vantage Pro 2,
 airlinks, and soil and leaf sensors.

 got a website at  Meteo Sint-Katelijne-Waver, Belgium
 (sint-katelijne-waver-meteo.be)
 

 so finally i'm getting some data in at var/www/html/weewx/index.html.

 using for the moment vantage pro 2 iplink, i have also wll, thats for
 later.

 but when i start weewx i get a lot of errors see attachment.

 next thing is to send it to my website, i'm missing something...

 thanks




 Op donderdag 3 november 2022 om 01:21:24 UTC+1 schreef Alex Vanuxem:

> hey Guys,
>
> I'm trying weewx for the first time, no experience in python, a little
> bit in php
>
> done the setup as required.
>
> running ubuntu as a virtual machine on windows, want to check it out
> before i buy a raspberry.
>
> problems: in the config file I see a lot of setups which I dont get
> when performing the the how to.
>
> sudo tail -f /var/log/syslog doesn't exist, I'm stuck with the nOrth
> pole default thing.
>
> and sudo ./bin/weewxd doesn't exist???
>
> although i configured the config manually and copied it.
>
> what files do you want to troubleshout?
>
> I've set up a cumulusMX, pwsWD and a meteotemplate website, so this
> should work too?
>
> Bare with me please,
>
> THX
>
> alex
>
 --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/dc807670-b1e8-46c7-9cef-121c27c8a812n%40googlegroups.com
> 
> .
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAHaYyoJ5V4qo-J5e9OWZkg0hT3XT8SMr_cfCz0DgiMoSdMfu4g%40mail.gmail.com.


[weewx-user] Re: first user - a lot of issues

2022-11-03 Thread vince
Look at the bottom 
of https://github.com/weewx/weewx/wiki/WeeWX-Frequently-Asked-Questions

On Thursday, November 3, 2022 at 1:36:29 PM UTC-7 vanuxe...@gmail.com wrote:

> thx, installed it, but I'm learning python and linux as we speak, bare 
> with me please.
> where can I find the log? not in var/log... apologize for my dumbness, 
> thanks again
>
> Op donderdag 3 november 2022 om 20:26:50 UTC+1 schreef vince:
>
>> You need to install a syslog daemon .
>>
>> sudo apt-get install -y rsyslog
>>
>> On Thursday, November 3, 2022 at 12:13:07 PM UTC-7 vanuxe...@gmail.com 
>> wrote:
>>
>>> Hi Guys,
>>>
>>> I'm Alex from Belgium, a weather amateur, got a Vantage Pro 2, airlinks, 
>>> and soil and leaf sensors.
>>>
>>> got a website at  Meteo Sint-Katelijne-Waver, Belgium 
>>> (sint-katelijne-waver-meteo.be) 
>>> 
>>>
>>> so finally i'm getting some data in at var/www/html/weewx/index.html.
>>>
>>> using for the moment vantage pro 2 iplink, i have also wll, thats for 
>>> later.
>>>
>>> but when i start weewx i get a lot of errors see attachment.
>>>
>>> next thing is to send it to my website, i'm missing something... 
>>>
>>> thanks
>>>
>>>
>>>
>>>
>>> Op donderdag 3 november 2022 om 01:21:24 UTC+1 schreef Alex Vanuxem:
>>>
 hey Guys,

 I'm trying weewx for the first time, no experience in python, a little 
 bit in php

 done the setup as required.

 running ubuntu as a virtual machine on windows, want to check it out 
 before i buy a raspberry.

 problems: in the config file I see a lot of setups which I dont get 
 when performing the the how to.

 sudo tail -f /var/log/syslog doesn't exist, I'm stuck with the nOrth 
 pole default thing.

 and sudo ./bin/weewxd doesn't exist???

 although i configured the config manually and copied it.

 what files do you want to troubleshout?

 I've set up a cumulusMX, pwsWD and a meteotemplate website, so this 
 should work too?

 Bare with me please,

 THX

 alex

>>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/dc807670-b1e8-46c7-9cef-121c27c8a812n%40googlegroups.com.


[weewx-user] Re: first user - a lot of issues

2022-11-03 Thread Alex Vanuxem
thx, installed it, but I'm learning python and linux as we speak, bare with 
me please.
where can I find the log? not in var/log... apologize for my dumbness, 
thanks again

Op donderdag 3 november 2022 om 20:26:50 UTC+1 schreef vince:

> You need to install a syslog daemon .
>
> sudo apt-get install -y rsyslog
>
> On Thursday, November 3, 2022 at 12:13:07 PM UTC-7 vanuxe...@gmail.com 
> wrote:
>
>> Hi Guys,
>>
>> I'm Alex from Belgium, a weather amateur, got a Vantage Pro 2, airlinks, 
>> and soil and leaf sensors.
>>
>> got a website at  Meteo Sint-Katelijne-Waver, Belgium 
>> (sint-katelijne-waver-meteo.be) 
>> 
>>
>> so finally i'm getting some data in at var/www/html/weewx/index.html.
>>
>> using for the moment vantage pro 2 iplink, i have also wll, thats for 
>> later.
>>
>> but when i start weewx i get a lot of errors see attachment.
>>
>> next thing is to send it to my website, i'm missing something... 
>>
>> thanks
>>
>>
>>
>>
>> Op donderdag 3 november 2022 om 01:21:24 UTC+1 schreef Alex Vanuxem:
>>
>>> hey Guys,
>>>
>>> I'm trying weewx for the first time, no experience in python, a little 
>>> bit in php
>>>
>>> done the setup as required.
>>>
>>> running ubuntu as a virtual machine on windows, want to check it out 
>>> before i buy a raspberry.
>>>
>>> problems: in the config file I see a lot of setups which I dont get when 
>>> performing the the how to.
>>>
>>> sudo tail -f /var/log/syslog doesn't exist, I'm stuck with the nOrth 
>>> pole default thing.
>>>
>>> and sudo ./bin/weewxd doesn't exist???
>>>
>>> although i configured the config manually and copied it.
>>>
>>> what files do you want to troubleshout?
>>>
>>> I've set up a cumulusMX, pwsWD and a meteotemplate website, so this 
>>> should work too?
>>>
>>> Bare with me please,
>>>
>>> THX
>>>
>>> alex
>>>
>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a7679c05-e4fc-40f3-8115-691c49da677cn%40googlegroups.com.


[weewx-user] Re: first user - a lot of issues

2022-11-03 Thread vince
You need to install a syslog daemon .

sudo apt-get install -y rsyslog

On Thursday, November 3, 2022 at 12:13:07 PM UTC-7 vanuxe...@gmail.com 
wrote:

> Hi Guys,
>
> I'm Alex from Belgium, a weather amateur, got a Vantage Pro 2, airlinks, 
> and soil and leaf sensors.
>
> got a website at  Meteo Sint-Katelijne-Waver, Belgium 
> (sint-katelijne-waver-meteo.be) 
> 
>
> so finally i'm getting some data in at var/www/html/weewx/index.html.
>
> using for the moment vantage pro 2 iplink, i have also wll, thats for 
> later.
>
> but when i start weewx i get a lot of errors see attachment.
>
> next thing is to send it to my website, i'm missing something... 
>
> thanks
>
>
>
>
> Op donderdag 3 november 2022 om 01:21:24 UTC+1 schreef Alex Vanuxem:
>
>> hey Guys,
>>
>> I'm trying weewx for the first time, no experience in python, a little 
>> bit in php
>>
>> done the setup as required.
>>
>> running ubuntu as a virtual machine on windows, want to check it out 
>> before i buy a raspberry.
>>
>> problems: in the config file I see a lot of setups which I dont get when 
>> performing the the how to.
>>
>> sudo tail -f /var/log/syslog doesn't exist, I'm stuck with the nOrth pole 
>> default thing.
>>
>> and sudo ./bin/weewxd doesn't exist???
>>
>> although i configured the config manually and copied it.
>>
>> what files do you want to troubleshout?
>>
>> I've set up a cumulusMX, pwsWD and a meteotemplate website, so this 
>> should work too?
>>
>> Bare with me please,
>>
>> THX
>>
>> alex
>>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3ef7c0f6-92e5-4ee5-ab44-cfb4a01690een%40googlegroups.com.


[weewx-user] Re: first user - a lot of issues

2022-11-03 Thread Alex Vanuxem
Hi Guys,

I'm Alex from Belgium, a weather amateur, got a Vantage Pro 2, airlinks, 
and soil and leaf sensors.

got a website at  Meteo Sint-Katelijne-Waver, Belgium 
(sint-katelijne-waver-meteo.be) 


so finally i'm getting some data in at var/www/html/weewx/index.html.

using for the moment vantage pro 2 iplink, i have also wll, thats for later.

but when i start weewx i get a lot of errors see attachment.

next thing is to send it to my website, i'm missing something... 

thanks




Op donderdag 3 november 2022 om 01:21:24 UTC+1 schreef Alex Vanuxem:

> hey Guys,
>
> I'm trying weewx for the first time, no experience in python, a little bit 
> in php
>
> done the setup as required.
>
> running ubuntu as a virtual machine on windows, want to check it out 
> before i buy a raspberry.
>
> problems: in the config file I see a lot of setups which I dont get when 
> performing the the how to.
>
> sudo tail -f /var/log/syslog doesn't exist, I'm stuck with the nOrth pole 
> default thing.
>
> and sudo ./bin/weewxd doesn't exist???
>
> although i configured the config manually and copied it.
>
> what files do you want to troubleshout?
>
> I've set up a cumulusMX, pwsWD and a meteotemplate website, so this should 
> work too?
>
> Bare with me please,
>
> THX
>
> alex
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a03198e9-b36a-4b1f-9c1d-50d6bb1183dcn%40googlegroups.com.
oot@LAPTOP-M848VS7O:~# sudo /etc/init.d/weewx start
sudo: /etc/init.d/weewx: command not found
root@LAPTOP-M848VS7O:~# sudo apt-get install weewx
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  sqlite httpd
The following NEW packages will be installed:
  weewx
0 upgraded, 1 newly installed, 0 to remove and 277 not upgraded.
Need to get 0 B/1838 kB of archives.
After this operation, 6144 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package weewx.
(Reading database ... 39374 files and directories currently installed.)
Preparing to unpack .../archives/weewx_4.9.1-1_all.deb ...
Unpacking weewx (4.9.1-1) ...
Setting up weewx (4.9.1-1) ...
invoke-rc.d: could not determine current runlevel
Processing triggers for systemd (245.4-4ubuntu3) ...
root@LAPTOP-M848VS7O:~# sudo tail -f /var/log/syslog
tail: cannot open '/var/log/syslog' for reading: No such file or directory
tail: no files remaining
root@LAPTOP-M848VS7O:~# sudo /etc/init.d/weewx start
 * Starting weewx weather system weewx  
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.8/logging/handlers.py", line 934, in emit
self.socket.send(msg)
OSError: [Errno 9] Bad file descriptor

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/logging/handlers.py", line 855, in 
_connect_unixsocket
self.socket.connect(address)
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/logging/handlers.py", line 937, in emit
self._connect_unixsocket(self.address)
  File "/usr/lib/python3.8/logging/handlers.py", line 866, in 
_connect_unixsocket
self.socket.connect(address)
FileNotFoundError: [Errno 2] No such file or directory
Call stack:
  File "/usr/share/weewx/weewxd", line 249, in 
main()
  File "/usr/share/weewx/weewxd", line 101, in main
log.info("Initializing weewx version %s", weewx.__version__)
Message: 'Initializing weewx version %s'
Arguments: ('4.9.1',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.8/logging/handlers.py", line 934, in emit
self.socket.send(msg)
OSError: [Errno 9] Bad file descriptor

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/logging/handlers.py", line 855, in 
_connect_unixsocket
self.socket.connect(address)
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/logging/handlers.py", line 937, in emit
self._connect_unixsocket(self.address)
  File "/usr/lib/python3.8/logging/handlers.py", line 866, in 
_connect_unixsocket
self.socket.connect(address)
FileNotFoundError: [Errno 2] No such file or directory
Call stack:
  File "/usr/share/weewx/weewxd", line 249, in 
main()
  File "/usr/share/weewx/weewxd", line 102, in main
log.i