Closed saraylet closed 2 weeks ago
us this happens with any file you are trying to load? or only with this specific file? Is this happening with your new computer? Is it happening on other computers? AstroPack doesn't use UDP directly, so its likely an internal matlab warning.
On Mon, Jul 22, 2024 at 2:27 PM saraylet @.***> wrote:
When warnings are turned on, I receive the following error when using MovingSource.read and also when just loading the .mat file manually using MATLAB.
Warning: Cannot load an object of class 'UDPPort': Its class cannot be found.
For example, this happens on a Linux/Ubuntu machine when loading LAST.01.01.01_20240108.193342.366_clear_043+18_101_001_001_sci_merged_Asteroids_1.mat
This may be related to antiquated/unsupported types in MATLAB.
— Reply to this email directly, view it on GitHub https://github.com/EranOfek/AstroPack/issues/487, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJUQ4NAFNK2J34BJ42YEKLZNTUDFAVCNFSM6AAAAABLIDW5IWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZDENRTGMYDAMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I receive this warning for every successful MovingSources.read performed on my new Linux machine.
is it happens also when you try to use the "load" function directly? It likely related to your new linux machine, did you consult with Amir/Arie?
On Tue, Jul 23, 2024 at 1:04 PM saraylet @.***> wrote:
I receive this warning for every successful MovingSources.read performed on my new Linux machine.
— Reply to this email directly, view it on GitHub https://github.com/EranOfek/AstroPack/issues/487#issuecomment-2244785847, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJUQ4NU5KCKZQ572DNUZDDZNYTB3AVCNFSM6AAAAABLIDW5IWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBUG44DKOBUG4 . You are receiving this because you commented.Message ID: @.***>
class udpport
has been introduced in matlab 2020b to replace the deprecated udp
, analogously to serialport
aiming to replace serial
. My educated guess is that this file LAST.01.01.01_20240108.193342.366_clear_043+18_101_001_001_sci_merged_Asteroids_1.mat
embowels one of such objects somehow (I don't want to know how and where), has been saved by a recent Matlab and is being loaded in an older version.
Users of udp might be your system loggers, what do I know. Many AstroPack classes have a Logging
property for purposes I prefer not to know, maybe that is the injector
Thanks Enrico, this may be the answer. I suspect this is related to the syslog capabilities added by Arie. Arie - any idea?
On Tue, Jul 23, 2024 at 4:12 PM EastEriq @.***> wrote:
class udpport has been introduced in matlab 2020b to replace the deprecated udp, analogously to serialport aiming to replace serial. My educated guess is that this file LAST.01.01.01_20240108.193342.366_clear_043+18_101_001_001_sci_merged_Asteroids_1.mat embowels one of such objects somehow (I don't want to know how and where), has been saved by a recent Matlab and is being loaded in an older version.
— Reply to this email directly, view it on GitHub https://github.com/EranOfek/AstroPack/issues/487#issuecomment-2245214302, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJUQ4LCEGAKQTXK3GZHRGLZNZJEZAVCNFSM6AAAAABLIDW5IWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBVGIYTIMZQGI . You are receiving this because you commented.Message ID: @.***>
The udpport command is found in a try catch block, so this warning is harmless.
When warnings are turned on, I receive the following error when using MovingSource.read and also when just loading the .mat file manually using MATLAB.
For example, this happens on a Linux/Ubuntu machine when loading LAST.01.01.01_20240108.193342.366_clear_043+18_101_001_001_sci_merged_Asteroids_1.mat
This may be related to antiquated/unsupported types in MATLAB.