cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Cloud hot Folder unable find media path

mohan_gudaru
Explorer
0 Likes
2,056

Hi Experts

i am trying to upload media from Cloud Hot folder using Azure blob Storage , which will accept media-.csv and images folder for variant images formats,

while importing impex unable to find images form Images folder location which have configured in media converter ,getting bellow exception:

31T11:21:30.539Z] Duration [844]ms Message [Impex didn't run successfully. INSERT_UPDATE Media;mediaFormat(qualifier);code[unique=true];mime[default='image/jpeg'];catalogVersion(CatalogVersion.catalog(Catalog.id[default=mediaCatalog]),CatalogVersion.version[default=Online])[default=mediaCatalog:Online];folder(qualifier)[default=images];realfilename;@media[translator=de.hybris.platform.impex.jalo.media.MediaDataTranslator] Media,,,,Can not find file: /opt/hybris/data/acceleratorservices/import/master/wilsontool/images/515Wx515H/image1.png;515Wx515H;/515Wx515H/image1.png;;;;image1.png;file:/opt/hybris/data/acceleratorservices/import/master/wilsontool/images/515Wx515H/image1.png Media,,,,Can not find file: /opt/hybris/data/acceleratorservices/import/master/wilsontool/images/96Wx96H/image2.png;96Wx96H;/96Wx96H/image2.png;;;;image2.png;file:/opt/hybris/data/acceleratorservices/import/master/wilsontool/images/96Wx96H/image2.png

media Converter :

     <property name="header">
         <value>#{defaultImpexProductHeader}
             # Import media from filesystem
             $importFolder=file:#{BASE_SOURCE_DIR}/images
             $mediaCatalog=mediaCatalog
             $mediaCV=catalogVersion(CatalogVersion.catalog(Catalog.id[default=$mediaCatalog]),CatalogVersion.version[default=Online])[default=$mediaCatalog:Online]
             INSERT_UPDATE Media;mediaFormat(qualifier);code[unique=true];mime[default='image/jpeg'];$mediaCV;folder(qualifier)[default=images];realfilename;@media[translator=de.hybris.platform.impex.jalo.media.MediaDataTranslator]
         </value>
     </property>
     <property name="impexRow">
         <value>    ;1200Wx1200H;/1200Wx1200H/{+1};;;;{+1};$importFolder/1200Wx1200H/{+1}
                 ;515Wx515H;/515Wx515H/{+1};;;;{+1};$importFolder/515Wx515H/{+1}
                 ;365Wx246H;/365Wx246H/{+1};;;;{+1};$importFolder/365Wx246H/{+1}
                 ;300Wx300H;/300Wx300H/{+1};;;;{+1};$importFolder/300Wx300H/{+1}
                 ;96Wx96H;/96Wx96H/{+1};;;;{+1};$importFolder/96Wx96H/{+1}
                 ;65Wx65H;/65Wx65H/{+1};;;;{+1};$importFolder/65Wx65H/{+1}
                 ;30Wx30H;/30Wx30H/{+1};;;;{+1};$importFolder/30Wx30H/{+1}
         </value>
     </property>


Accepted Solutions (0)

Answers (2)

Answers (2)

aadesh
Newcomer
0 Likes

Hi , the path which you have given in $importFolder is from local storage . as from ss I can see you are using azure blob storage so in this case you need to give path to your azure folder where you are storing images.

your path should be like this :-http://127.0.0.1:10000/${azure.hotfolder.storage.account.name}.blob.core.windows.net/${azure.hotfolder.storage.container.name}/master/images

Note:- make the path configurable in your local.prop and url value you can find from azure storage.

0 Likes

Hi @mgudaru

I am facing the same issue,Please let me know if found the solution for the issue,Thanks in advance