Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DECODING ERROR => on macOS 10.13.6 #98

Closed
alcomposer opened this issue Oct 2, 2022 · 22 comments
Closed

DECODING ERROR => on macOS 10.13.6 #98

alcomposer opened this issue Oct 2, 2022 · 22 comments
Labels
bug Something isn't working won't-fix This issue cannot be fixed or will not be fixed from the Upscayl side

Comments

@alcomposer
Copy link

DECODING ERROR => is generated when upscayling image in macOS 10.13.6

Screen Shot 2022-10-02 at 10 06 39 pm

@Kureii
Copy link

Kureii commented Oct 2, 2022

on windows 10 same bug

@aaronliu0130
Copy link
Member

Note that if you switched "Batch Upscale" on and selected input from a folder with non-images in it, this isn't the same error. For that one see #53 (comment) .

Also, there was a prior issue that was fixed where the "output" had "8x" in the filename. Does that happen here?

@NayamAmarshe
Copy link
Member

Send me the image for testing

@pollymow
Copy link

pollymow commented Oct 6, 2022

Same issue on Mac OS Mojave 10.14.6. According to the crash log, the reason for this is simple:

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: DYLD, [0x4] Symbol missing

Dyld Error Message:
Symbol not found: __ZNSt3__14__fs10filesystem10__absoluteERKNS1_4pathEPNS_10error_codeE
Referenced from: /Applications/Upscayl.app/Contents/Resources/bin/upscayl-realesrgan (which was built for Mac OS X 11.0)
Expected in: /usr/lib/libc++.1.dylib

So upscayl-realesrgan has to be built for earlier systems to ensure compatibility.

Thanks!

@NayamAmarshe
Copy link
Member

1.5 was built on Big Sur I think and 1.5.5 on Monterey. In the next build, I'll try Mojave.

@pollymow
Copy link

pollymow commented Oct 6, 2022 via email

@aaronliu0130
Copy link
Member

aaronliu0130 commented Oct 7, 2022

  1. Catalina'd also make sense as it's 10.x, used the old UI, and didn't require you to have 16+16*2 gigs of storage to install.
  2. Setting build targets for python is very much possible. However, just compiling it on an older system would be much easier if it's not so easily found. Note that the binary in question is another open source project written in python.

@pollymow
Copy link

pollymow commented Oct 7, 2022

1.5 was built on Big Sur I think and 1.5.5 on Monterey. In the next build, I'll try Mojave.

[###Somehow this previous reply to this post got lost somehow, so I repost it here###]

Great! My main production machine is an old MacPro (Early 2009 (!)) beefed up to run Mojave (and if I wanted also Monterey) - because I prefer to use my old workflows relying on several old 32bit-application which won’t run from Catalina (OS 10.15) on. So a built running on Mojave is very very welcome.

I can confirm, however, that on my late 2014 double-boot iMac (similarly beefed up using OpenCore Legacy Patcher)

(a) Upscayl 1.5.5 runs perfectly on Monterey - the results are excellent, the speed is quite good. (Did not test 1.5.0 on Monterey.)

(b) Both 1.5.0 AND 1.5.5 (!) work on BigSur, same quality, same speed.

What I am missing is
• a cancel button to stop a running conversion process (I accidentally chose an upscaled image as source, so the speed was veeery slow, so I’d have liked to bail out)
• I see a message, that a new version is being downloaded, but nobody knows how far the download is going and what eventually happens to this download. Dunno why, but auto updating never really seems to have worked for me, although I see download traffic created from Upscayl.

But these are minor quirks.

On a side note:
On Mojave v. 1.5.5 crashes very late in the conversion process, shortly before it is almost completed (>97% or something). The Electron app GUI does seem to be compatible anyway. Just the processing binary is problematic.

Thanks a lot for this great tool!

@aaronliu0130
Copy link
Member

@pollymow Please submit new issues for these.

@pollymow
Copy link

pollymow commented Oct 11, 2022 via email

@NayamAmarshe NayamAmarshe mentioned this issue Nov 24, 2022
Closed
32 tasks
@ohxxm
Copy link

ohxxm commented Dec 3, 2022

This is also happening on EndeavourOS.

@WindSpirit48
Copy link

DECODING ERROR after I select Photo option , windows 10.
It gest stuck in endless error, and wont close. I have to use task manager to close.

@aaronliu0130
Copy link
Member

@WindSpirit48 That doesn't appear to be the same issue, could you file a new one?

@WindSpirit48
Copy link

it seems to be the same error code. unless there are multiple decoding issues. Ill post it specifically later with screen shots if i can

@aaronliu0130
Copy link
Member

@WindSpirit48 See here:

Termination Reason: DYLD, [0x4] Symbol missing

Dyld Error Message: Symbol not found: __ZNSt3__14__fs10filesystem10__absoluteERKNS1_4pathEPNS_10error_codeE Referenced from: /Applications/Upscayl.app/Contents/Resources/bin/upscayl-realesrgan (which was built for Mac OS X 11.0) Expected in: /usr/lib/libc++.1.dylib

So upscayl-realesrgan has to be built for earlier systems to ensure compatibility.

The error here is that the upscayl executable was built for a late version of macOS so it couldn’t run on earlier systems. I don’t think that’s how windows works.

@aaronliu0130
Copy link
Member

@allancavalari Then you have a different error. This issue is a very specific problem with mac executable compilation

@ricardo-manguedev
Copy link

getting this same error on Peppermint using appimage

image

@aaronliu0130
Copy link
Member

@ricardo-manguedev GUYS, if you do NOT use a macOS lower than monterey, file a NEW issue! This specific issue only applies to macs below monterey!

@wellmeaning
Copy link

1.5 was built on Big Sur I think and 1.5.5 on Monterey. In the next build, I'll try Mojave.

Just a vote for, and additional comment in regards to a possible future attempt to build Upscayl in Mac OS 10.14 Mojave.

I noticed that on the "To-Do" page it currently reads:
"Compile on Mojave/Big Sur? DECODING ERROR => on macOS 10.13.6 #98"

I'm not sure why it's worded that way, but it's important to note that for the reasons mentioned earlier - Upscayl would really need to be done in Mojave specifically, and not any later OS such as Big Sur (unless still testing current OS compatibility).

The primary reason for choosing Mojave is that it was the last Mac OS to continue 32bit support (as well as 64bit). Big Sur was a bigger OS change and supports 64bit only. The reason most people still persisting with Mojave and earlier do so is because of that 32bit compatibility with other specialist programs.

Obviously Upscayl can't necessarily be made to be compatible with every possible past OS from history. But in practical terms - the two Mac OS models to consider ongoing are Mojave, plus whatever the current revision OS is going forward. The need for Mojave will drop off one day also, but it currently does still serve a unique purpose.

This is just a request of course, but hopefully emphasizing why it might be a worthwhile consideration.

Thanks

Mojave_OS_32Bit

This was referenced Apr 10, 2023
@stale
Copy link

stale bot commented May 9, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale We lack your response. Please reply to re-start the issue (ignore if added by Dosu) label May 9, 2023
@aaronliu0130
Copy link
Member

@alcomposer does this still happen?

@stale stale bot removed the stale We lack your response. Please reply to re-start the issue (ignore if added by Dosu) label May 10, 2023
@NayamAmarshe
Copy link
Member

Anything less than MacOS 11 will not be supported anymore, I think 😅

This is because GitHub has removed access to anything other than MacOS 11+. So, sadly we won't be supporting MacOS 10.x going forward (Not unless I buy a used MacBook or something).

@aaronliu0130 aaronliu0130 added bug Something isn't working won't-fix This issue cannot be fixed or will not be fixed from the Upscayl side labels May 10, 2023
@NayamAmarshe NayamAmarshe closed this as not planned Won't fix, can't repro, duplicate, stale May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working won't-fix This issue cannot be fixed or will not be fixed from the Upscayl side
Projects
None yet
Development

No branches or pull requests

9 participants