mczachurski / wallpapper

:computer: Console application for creating dynamic wallpapers for macOS Mojave and newer
MIT License
3.31k stars 137 forks source link

AVE XPC Error: could not find remote service #42

Closed fittyCent closed 3 years ago

fittyCent commented 3 years ago

I'm running this in BigSur and I got this:

Reading image file: 'file:///Users/winston/Pictures/Wallpappers/LosAngeles/losAngeles014.png'...OK.
Adding image...OK.
Finalizing image container...AVEBridge Info: AVEEncoder_CreateInstance: Received CreateInstance (from VT)
Assert - (remoteService != NULL) - f: /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleAVEBridge/AppleAVEBridge-26/AppleAVEEncoder/AppleAVEEncoder.c l: 291
AVE XPC Error: could not find remote service
Assert - (err == noErr) - f: /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleAVEBridge/AppleAVEBridge-26/AppleAVEEncoder/AppleAVEEncoder.c l: 1960
AVE ERROR: XPC failed
AVEBridge Info: connectHandler: Device connected (0x00007faa15e4d470)AVEBridge Info: stopUserClient: IOServiceClose was successful.

AVEBridge Error: AVEEncoder_CreateInstance: returning err = -12908
OK.

Is this something that existed prior to BigSur too?

This project is awesome by the way!

mczachurski commented 3 years ago

Hi, I've the same error after upgrade to BigSur (and Xcode 12). The output file is created despite the error, however it would be great to fix it.

fittyCent commented 3 years ago

Ah, I was thinking that the output might be bad due to that error because when i plugged it into settings, I don't see the same message as I do with your sample Earth wallpaper

image

Here's my json just in case you could point out something dumb I did:

[
    {
        "fileName": "losAngeles000.png",
        "time": "2020-11-15T06:00:00-07:00"
    },
    {
        "fileName": "losAngeles001.png",
        "time": "2020-11-15T07:00:00-07:00"
    },
    {
        "fileName": "losAngeles002.png",
        "time": "2020-11-15T08:00:00-07:00"
    },
    {
        "fileName": "losAngeles003.png",
        "time": "2020-11-15T09:00:00-07:00"
    },
    {
        "fileName": "losAngeles004.png",
        "time": "2020-11-15T10:00:00-07:00"
    },
    {
        "fileName": "losAngeles005.png",
        "time": "2020-11-15T11:00:00-07:00"
    },
    {
        "fileName": "losAngeles006.png",
        "time": "2020-11-15T12:00:00-07:00"
    },
    {
        "fileName": "losAngeles007.png",
        "isPrimary": true,
        "isForLight": true,
        "time": "2020-11-15T13:00:00-07:00"
    },
    {
        "fileName": "losAngeles008.png",
        "time": "2020-11-15T14:00:00-07:00"
    },
    {
        "fileName": "losAngeles009.png",
        "time": "2020-11-15T15:00:00-07:00"
    },
    {
        "fileName": "losAngeles009.5.png",
        "time": "2020-11-15T16:00:00-07:00"
    },
    {
        "fileName": "losAngeles010.png",
        "time": "2020-11-15T17:00:00-07:00"
    },
    {
        "fileName": "losAngeles011.png",
        "isForDark": true,
        "time": "2020-11-15T18:00:00-07:00"
    },
    {
        "fileName": "losAngeles012.png",
        "time": "2020-11-15T19:00:00-07:00"
    },
    {
        "fileName": "losAngeles013.png",
        "time": "2020-11-15T20:00:00-07:00"
    },
    {
        "fileName": "losAngeles014.png",
        "time": "2020-11-15T21:00:00-07:00"
    }
]
mczachurski commented 3 years ago

JSON seems ok. Maybe apple changed something in the OS.

mczachurski commented 3 years ago

I verified that for time based wallpapers there is no message

This desktop picture changes throughout the day, based on your location.

in the Settings app.

The output file is created despite the AVEBridge Error error. Preview app reports very similar error when we exporting image to HEIC file. I'm closing the issue since the error is from internal Apple framework and we cannot do anything about it.