1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 <2024> 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 <2024> 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | ADURL failing to open specific URL |
From: | Marco Filho via Tech-talk <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 17 Jul 2024 12:53:09 +0000 |
Hi all dbpf URL1:cam1:Acquire 1
DBF_STRING: "Acquire" 2024/07/17 14:26:11.700 URLDriver:readImage: error reading URL="" Unable to access configuration file (delegates.mgk) reported by ../supportApp/GraphicsMagickSrc/magick/blob.c:1971 (GetConfigureBlob) Curiously, I tried it with a different url which I got from any image in google images: curl -o output https://tmssl.akamaized.net/images/foto/galerie/neymar-brazil-2023-1694521247-116480.jpg gets me a nice image of Neymar. However: ics-ups-ioc-dev-344581 > dbpf $(PREFIX)cam1:Acquire 1
DBF_STRING: "Acquire" ics-ups-ioc-dev-344581 > 2024/07/17 14:29:57.383 URLDriver:readImage: error reading URL="" Unable to open file (//tmssl.akamaized.net/images/foto/galerie/neymar-brazil-2023-1694521247-116480.jpg) reported by ../supportApp/GraphicsMagickSrc/magick/constitute.c:1540 (ReadImage) No smiling neymar for my EPICS viewer :( Am I doing something wrong? What I was able to find out until now: Inside the driver, the line that generates the exception is URLDriver.cpp:82 image.read(URLString) because it immediately gets out of the try loop and catches an exception. It calls Image::read(), which calls Image *ReadImage in constitute.c:1449 > From now on I can't quite understand what is happening... I know the condition in if ((*image_info->filename
==
'@') && (!IsAccessibleNoLogging(image_info->filename)))
return(ReadImages(image_info,exception));
Is not evaluating to True but I don't think it should anyway... I still didn't find anything that seems like the method that should actually read the image from the URL. Thanks for any insights. |