Page 1 of 4

Version 4.7.0 error

Posted: Tue 10 Nov 2020 3:09 pm
by hvd51
Hans,

C:\CumulusMX>cumulusutils.exe website

Onverwerkte uitzondering: System.IO.FileLoadException: Kan bestand of assembly FluentFTP, Version=33.0.2.0, Culture=neutral, PublicKeyToken=f4af092b1d8df44f of een van de afhankelijkheden hiervan niet laden. De manifestdefinitie van de gevonden assembly komt niet overeen met de assembly-verwijzing. (Uitzondering van HRESULT: 0x80131040)
bij CumulusUtils.CMXutils.<Main>d__143.MoveNext()
bij System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
bij CumulusUtils.CMXutils.Main(String[] args)
bij CumulusUtils.CMXutils.<Main>(String[] args)

or

C:\CumulusMX>cumulusutils.exe sysinfo

Onverwerkte uitzondering: System.IO.FileLoadException: Kan bestand of assembly FluentFTP, Version=33.0.2.0, Culture=neutral, PublicKeyToken=f4af092b1d8df44f of een van de afhankelijkheden hiervan niet laden. De manifestdefinitie van de gevonden assembly komt niet overeen met de assembly-verwijzing. (Uitzondering van HRESULT: 0x80131040)
bij CumulusUtils.CMXutils.<Main>d__143.MoveNext()
bij System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
bij CumulusUtils.CMXutils.Main(String[] args)
bij CumulusUtils.CMXutils.<Main>(String[] args)

and it stops


Harm

Re: Version 4.7.0 error

Posted: Tue 10 Nov 2020 3:39 pm
by HansR
Ai... Painful.
I am version(s) ahead of CMX.

I'll contact Mark and find the best solution.
I'll be back, thanks for the observation.

Re: Version 4.7.0 error

Posted: Tue 10 Nov 2020 4:30 pm
by HansR
Version 4.7.0 has been recompiled against the running versions of the libraries, I assume it is now correct.
I was a bit too enthusiastic ahead so I'll slow down with respect to updates from now on :|
Thanks again for the observation.

Re: Version 4.7.0 error

Posted: Tue 10 Nov 2020 5:04 pm
by rogerthn
FTP does fail

Code: Select all

2020-11-10 17:52:49.932  UploadFile ERROR: General Exception: Error while uploading the file to the server. See InnerException for more info.
2020-11-10 17:52:49.933  UploadFile ERROR: Inner Exception: FluentFTP.FtpCommandException: Could not create file.
  at FluentFTP.FtpClient.OpenPassiveDataStream (FluentFTP.FtpDataConnectionType type, System.String command, System.Int64 restart) [0x001ec] in <3792a06df8ff4ac698665c1c1cbabf74>:0
  at FluentFTP.FtpClient.OpenDataStream (System.String command, System.Int64 restart) [0x00070] in <3792a06df8ff4ac698665c1c1cbabf74>:0
  at FluentFTP.FtpClient.OpenWrite (System.String path, FluentFTP.FtpDataType type, System.Boolean checkIfFileExists) [0x0009d] in <3792a06df8ff4ac698665c1c1cbabf74>:0
  at FluentFTP.FtpClient.UploadFileInternal (System.IO.Stream fileData, System.String localPath, System.String remotePath, System.Boolean createRemoteDir, FluentFTP.FtpRemoteExists existsMode, System.Boolean fileExists, System.Boolean fileExistsKnown, System.Action`1[T] progress, FluentFTP.FtpProgress metaProgress) [0x00115] in <3792a06df8ff4ac698665c1c1cbabf74>:0
From my vsftp log

Code: Select all

Tue Nov 10 17:52:49 2020 [pid 15261] CONNECT: Client "::ffff:192.168.10.80"
Tue Nov 10 17:52:49 2020 [pid 15259] [ftpuser] OK LOGIN: Client "::ffff:192.168.10.80"
Tue Nov 10 17:52:49 2020 [pid 15269] [ftpuser] FAIL UPLOAD: Client "::ffff:192.168.10.80", "/cumulusutils2/index.html", 0.00Kbyte/sec
FtpLog=On

Code: Select all

cat utils/utilslog/2011101805FTPlog.txt

# UploadFile("utils/systeminfoTable.txt", "/cumulusutils2/systeminfoTable.txt", Overwrite, False, Throw)

# FileExists("/cumulusutils2/systeminfoTable.txt")
Command:  SIZE /cumulusutils2/systeminfoTable.txt
Response: 550 Could not get file size.

# OpenWrite("/cumulusutils2/systeminfoTable.txt", Binary)
Command:  TYPE I
Response: 200 Switching to Binary mode.

# OpenPassiveDataStream(EPSV, "STOR /cumulusutils2/systeminfoTable.txt", 0)
Command:  EPSV
Response: 229 Entering Extended Passive Mode (|||20100|)
Status:   Connecting to 192.168.9.66:20100
Command:  STOR /cumulusutils2/systeminfoTable.txt
Response: 553 Could not create file.
Status:   Disposing FtpSocketStream...

# CloseDataStream()

# Dispose()
Status:   Disposing FtpClient object...
Command:  QUIT
Response: 221 Goodbye.
Status:   Disposing FtpSocketStream...
Status:   Disposing FtpSocketStream...

Re: Version 4.7.0 error

Posted: Tue 10 Nov 2020 5:54 pm
by HansR
So, I assume you use plain FTP?
The server file apparently does not belong to this error because it is about index.html and not about the sysinfo file (indicated by the cutils ftplog) or there is another strange error.

1) Now I remember that your RPi was very slow so. As the connection is made quite early (with a keep alive) it may be that the connection dies before actual transfer takes place.
2) I had a problem with my provider with the FTP server which did not respond correctly. Apparently you have your own FTP server? Do you host the site on the RPi? did not know that.

Anyway, to be sure the logfiles match: could you repeat it with the single sysinfo command and make sure the logfiles belong to each other.

Re: Version 4.7.0 error

Posted: Tue 10 Nov 2020 5:59 pm
by HansR
Oh, and please if you post a file, can you post it as attachment. I prefer that.

Re: Version 4.7.0 error

Posted: Tue 10 Nov 2020 6:09 pm
by rogerthn
The SLOW raspberry has been replaced with Raspberry Pi 3 Model B Plus Rev 1.3 :D

I did the update to Version 4.7.0 for one of my weather stations https://rogerthn.se/cumulusutils2/

I am still using Version 4.6.2 and system info is updated OK every 10s minute on https://rogerthn.se/cumulusutils/

Both are using the same vsftp server!

Enclosing logs that should match ;-)
2011101858FTPlog.txt
2011101858cumulusutils.log

Re: Version 4.7.0 error

Posted: Tue 10 Nov 2020 6:15 pm
by HansR
rogerthn wrote: Tue 10 Nov 2020 6:09 pm Both are using the same vsftp server!
That may be, but I changed the whole FTP thing - so 4.6.2 and 4.7.0 are miles apart - and noticed on the way there are servers and servers. And configurations too.
I'll read the logs and think about it.

I need info from the other users as well.
@hvd51: did you retry?

Re: Version 4.7.0 error

Posted: Tue 10 Nov 2020 6:23 pm
by hvd51
I need info from the other users as well.
@hvd51: did you retry?
@hans i did

C:\CumulusMX>cumulusutils.exe website

Onverwerkte uitzondering: System.IO.FileLoadException: Kan bestand of assembly Renci.SshNet, Version=2016.1.0.0, Culture=neutral, PublicKeyToken=1cee9f8bde3db106 of een van de afhankelijkheden hiervan niet laden. De manifestdefinitie van de gevonden assembly komt niet overeen met de assembly-verwijzing. (Uitzondering van HRESULT: 0x80131040)
bij CumulusUtils.InetSupport.Dispose(Boolean disposing)
bij CumulusUtils.InetSupport.Finalize()

Harm

Re: Version 4.7.0 error

Posted: Tue 10 Nov 2020 6:26 pm
by rogerthn
I've reverted to Version 4.6.2

Re: Version 4.7.0 error

Posted: Tue 10 Nov 2020 6:57 pm
by HansR
OK. I'll withdraw 4.7.0

I'll need some testers for this one apparently.
Anybody who would like to test, let me know.

Re: Version 4.7.0 error

Posted: Tue 10 Nov 2020 7:11 pm
by hvd51
I'll need some testers for this one apparently.
Anybody who would like to test, let me know.
@hans

I am available as a tester

Harm

Re: Version 4.7.0 error

Posted: Tue 10 Nov 2020 7:36 pm
by HansR
Ok, thnx.
I'll think on what action and contact you.

Re: Version 4.7.0 error

Posted: Wed 11 Nov 2020 8:17 am
by HansR
OK. Testing is underway, basically on technical issues.
If you would like to participate send me a PM.

Re: Version 4.7.0 error

Posted: Wed 11 Nov 2020 10:02 am
by JUMAVISA
Good morning Hans

I am Juan María (Badalona, Spain):

http://badameteo.com/CumulusMX/FWI/

I apologize if this is not the appropriate thread to post my doubts.

Since 9/November/2020, I have observed certain anomalies in your wonderful application:

1) The FWI is not updated

2) The daily execution of cumulusUtils stops after a few seconds. The index.html file is not generated

I have tried updating to version 4.6.2 but, in my case. 4.4.1 is still maintained; I have been unable to update to that version.

I attach the last log file

My cumulusMX version is: 3.8.3 (build: 3093)
Windows 10 Enterprise v. (20H2)

Thank you very much for your support