RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Couldn't read artwork xml file 'artwork.xml'. Please check file and permissions. Skyscraper

    Scheduled Pinned Locked Moved Help and Support
    scraper problemskyscraperartwork.xml
    10 Posts 3 Posters 972 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      spyflex
      last edited by

      Hi all,

      Pi Model or other hardware: Pi 4
      RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.5.18
      Built From: retropie-setup script
      USB Devices connected: Samsung HDD seen in /media
      Controller used: none
      Error messages received: in subject
      Log found in /dev/shm/runcommand.log (if relevant):
      Guide used: (Mention if you followed a guide): Skyscraper guide
      File: (File with issue - with FULL path): /.skyscraper/Artwork.xml
      Emulator: (Name of emulator - if applicable): mame-libetro
      Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS)
      How to replicate the problem:

      using Skyscraper -# Skyscraper -p mame-libetro -s thegamedb

      error message: Couldn't read artwork xml file 'artwork.xml'. Please check file and permissions. Now exiting...

      permission of file is -rwxrwxrwx 1 pi pi

      I tried also to use artwork.example in order to change.
      In Skyscraper's config.ini uncommented ArtworkXml="artwork.xml"
      Skyscraper installed via retropie script with pre-built binaries.

      Please help me,
      Thanks in advance

      #scraper

      muldjordM 1 Reply Last reply Reply Quote 0
      • muldjordM
        muldjord @spyflex
        last edited by muldjord

        @spyflex Please verify that you have a file called /home/pi/.skyscraper/artwork.xml (it's not Artwork.xml it's artwork.xml, very important!) and that you haven't made a change anywhere that would make Skyscraper look for it elsewhere. If that file is located at the correct location, please put the contents here as a codeblock so I can check it. You might have a faulty xml file.

        Also, you've typed ArtworkXml="artwork.xml" as your config.ini example. That config is called artworkXml, not ArtworkXml. And there's no need to set it to artworkXml="artwork.xml" as that is already the default.

        1 Reply Last reply Reply Quote 0
        • S
          spyflex
          last edited by

          Hi,
          Thank you for your support.
          this is the file: /home/pi/.skyscraper/artwork.xml (881 bytes):

          <!--
           This is the default artwork.xml provided by Skyscraper. More examples can be found in '~/.skyscraper'. Be sure to check the full artwork documentation here: https://github.com/muldjord/skyscraper/blob/master/docs/ARTWORK.md 
          -->
          <artwork>
          <output type="screenshot" width="640" height="480">
          <layer resource="screenshot" x="20" width="520" height="390" align="center" valign="middle">
          <rounded radius="10"/>
          <stroke width="5"/>
          </layer>
          <layer resource="cover" height="250" x="0" y="-10" valign="bottom">
          <gamebox side="wheel" rotate="90"/>
          <shadow distance="5" softness="5" opacity="70"/>
          </layer>
          <layer resource="wheel" width="250" x="-10" align="right">
          <shadow distance="5" softness="5" opacity="70"/>
          </layer>
          </output>
          <output type="marquee" resource="wheel"/>
          </artwork>
          

          The config.ini:

          code_text
          

          [main]
          ##Setting input, gamelist or media folder here, will automatically append '/[platform]' to path.
          ##If you need better control, use the same variables under a [<platform>] section instead.
          inputFolder="/media/pi/SAMSUNG/Games/roms"
          #excludeFiles="[BIOS]"
          #includeFiles="Super*"
          gamelistFolder="/media/pi/SAMSUNG/Games/gamelist"
          mediaFolder="/media/pi/SAMSUNG/Games/media"
          cacheFolder="/media/pi/SAMSUNG/Games/cache"
          #cacheResize="false"
          #jpgQuality="95"
          cacheCovers="true"
          #cacheScreenshots="true"
          #cacheWheels="true"
          #cacheMarquees="true"
          importFolder="/media/pi/SAMSUNG/Games/import"
          #unpack="false"
          #frontend="emulationstation"
          #emulator=""
          #launch=""
          #videos="false"
          #videoSizeLimit="42"
          #symlink="false"
          #brackets="true"
          #maxLength="10000"
          #threads="2"
          #pretend="false"
          unattend="true"
          #unattendSkip="false"
          #interactive="false"
          #forceFilename="false"
          #verbosity="1"
          skipped="true"
          #maxFails="30"
          #lang="en"
          #region="wor"
          #langPrios="en,de,es"
          #regionPrios="eu,us,ss,uk,wor,jp"
          #minMatch="0"
          #artworkXml="artwork.xml"
          #relativePaths="false"
          #addExtensions="*.zst"
          #hints="false"
          #subdirs="true"
          #spaceCheck="true"
          #scummIni="/full/path/to/scummvm.ini"

          What's wrong?
          Thank you again

          muldjordM 1 Reply Last reply Reply Quote 0
          • muldjordM
            muldjord @spyflex
            last edited by muldjord

            @spyflex I can't find any errors in those files. Just checked up on the Couldn't read artwork xml file 'artwork.xml'. Please check file and permissions error message. This only happens when it can't open the file for reading. And that only happens if it can't find it, or if it doesn't have read permissions.

            So either Skyscraper is somehow told to look for it in a different place than /home/pi/.skyscraper/artwork.xml or it can't read the file for some reason.

            1 Reply Last reply Reply Quote 0
            • S
              spyflex
              last edited by

              The result: lrwxrwxrwx 1 pi pi 36 Apr 8 19:25 /home/pi/.skyscraper -> /opt/retropie/configs/all/skyscraper

              muldjordM 1 Reply Last reply Reply Quote 0
              • muldjordM
                muldjord @spyflex
                last edited by muldjord

                @spyflex Looks good. Then I'm out of suggestions. If the file is located in that location and readable (which it seems to be), then maybe Skyscraper is somehow told to look for it elsewhere. And that can only happen using the command-line -a FILENAME or by setting artworkXml="FILENAME" in /home/pi/.skyscraper/config.ini. And that does not seem to be the case either.

                1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator
                  last edited by

                  @spyflex are you using Skyscraper as root or through sudo ?

                  1 Reply Last reply Reply Quote 0
                  • S
                    spyflex
                    last edited by

                    using Terminal i launch through sudo:

                    pi@raspberrypi:~ $ sudo /opt/retropie/supplementary/skyscraper/Skyscraper -p mame-libretro -s thegamedb
                    ------------------------------------------
                    Running Skyscraper v3.4.5 by Lars Muldjord
                    ------------------------------------------
                    Couldn't read artwork xml file 'artwork.xml'. Please check file and permissions. Now exiting...
                    
                    muldjordM 1 Reply Last reply Reply Quote 0
                    • muldjordM
                      muldjord @spyflex
                      last edited by

                      @spyflex Then that's the reason. You should never run anything with sudo unless you have to. Running Skyscraper with sudo will make it look for the files in /root/.skyscraper instead and WILL mess with the permissions of anything you generate with it.

                      1 Reply Last reply Reply Quote 0
                      • S
                        spyflex
                        last edited by

                        Thank you for your support!

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post

                        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.