Trico-Everfire / p2-publishing-tool

MIT License
15 stars 2 forks source link

The code execution cannot proceed because [x].dll was not found. #20

Closed MarvinG6547 closed 1 year ago

MarvinG6547 commented 1 year ago

Every .dll file is named wrong. The program expects all of them to have the letter d at the end of their name. For example: Zip includes qt6core.dll but the program expects qt6cored.dll. As stated before every file is like this. It even expects files that aren't included with the program to have this naming convention, and after renaming all the files to fit it's needs it says that it can't find the exact same files but that don't have the letter d (ie. the files before they were renamed). After doing all of that it then spits out the error in the below attached image: bug

Trico-Everfire commented 1 year ago

You probably downloaded the "Debug" build, although provided, I do not ship QT's debug libraries, please download the Release.

Trico-Everfire commented 1 year ago

Currently, this build is also missing SSL libraries, I'll be providing a new build around 2 minutes after this message is posted. Remember to download the Release, thank you.

MarvinG6547 commented 1 year ago

Well I did also download the release but then the program says that it couldn't initialize any qt platform plugin eh

Trico-Everfire commented 1 year ago

I think I am aware of what's causing it, should be fixed in a short moment.

Trico-Everfire commented 1 year ago

missing qminimal has been fixed in newest release.

Trico-Everfire commented 1 year ago

If there are no futher issues, please notify me so I can close this issue.

MarvinG6547 commented 1 year ago

Looks like there is a new issue hyordidordy

MarvinG6547 commented 1 year ago

Ok so I reverted the files that I added the letter d to back to their original names and now the error actually managed to load. huh

jple777 commented 1 year ago

Same issue here with same screenshots

Trico-Everfire commented 1 year ago

I am still missing QT some libraries, QT is an amazing UI framework, but doesn't end up telling you what you exactly need to pack when it comes to releasing your software. that's mostly why this is a beta, because of missing dependencies. I'll have a build ready in a few minutes, hopefully with the last of the missing stuff.

Trico-Everfire commented 1 year ago

it may take longer, it's a bit more complex. Apparently requiring a different library and linking it to the application.

Trico-Everfire commented 1 year ago

p2-publishing-tool-windows-Release.zip

Making another release for another test seems silly, so here's the download directly. @MarvinG6547 @jple777

Trico-Everfire commented 1 year ago

if it's the same "missing tls" issue, try moving the dll from the tls folder to where the exe is.

MarvinG6547 commented 1 year ago

There is no tls folder

Trico-Everfire commented 1 year ago

:facepalm: I forgot about the artifacts! hold on.

Trico-Everfire commented 1 year ago

p2-publishing-tool-windows-Release.zip

Here we go, should do it.

MarvinG6547 commented 1 year ago

You should really fix that image ijrohg

Trico-Everfire commented 1 year ago

I actually don't know why the error, Failed to retrieve image is QT's innability to retrieve the image from the URL. can you send me the URL real quick?

MarvinG6547 commented 1 year ago

The link just leads to a 404 https://steamuserimages-a.akamaihd.net/ugc/2029469358271870432/961FB37C552088C2E96A2052085E5845C65E0452/

Trico-Everfire commented 1 year ago

You should really fix that image That image is one of the URL images Steam has of your items. it's how the "edit" thumbnail preview works. it's unable to read this image, this could be a firewall issue, as QT doesn't seem to stress in the console, which means the request went through, just didn't ass/

MarvinG6547 commented 1 year ago

Well it's not being blocked by my firewall lkwjeng

Trico-Everfire commented 1 year ago

The link just leads to a 404 https://steamuserimages-a.akamaihd.net/ugc/%202029469358271870432/961FB37C552088C2E96A2052085E5845C65E0452/

Yeah, that should do it, idk why though, it's a link directly fetched from Steam itself, I don't have control over that, I'll have to look into that, because it's either a Steam problem, or something else entirely.

MarvinG6547 commented 1 year ago

I mistyped the link it isn't a 404 It's the thumbnail to my latest map? https://steamuserimages-a.akamaihd.net/ugc/2029469358271870432/961FB37C552088C2E96A2052085E5845C65E0452/

MarvinG6547 commented 1 year ago

It's just an in-game screenshot so I wouldn't expect it to be corrupt

Trico-Everfire commented 1 year ago

Correct, it is the thumbnail to your latest map. This is because it needs it for the image display when you edit a workshop item. if it isn't because of missing data, It has to be something else. I'll look into it.

MarvinG6547 commented 1 year ago

I do have this file in my screenshots folder that mentions akamai, which is the same webpage in the screenshot link but I highly doubt that it's of any use wger

Trico-Everfire commented 1 year ago

p2-publishing-tool-windows-Release.zip This shouldn't solve the problem, but rather provide you with an error code when it fails, I need that error code if I wanna know how to fix this.

MarvinG6547 commented 1 year ago

wef Interesting

Trico-Everfire commented 1 year ago

I do have this file in my screenshots folder that mentions akamai, which is the same webpage in the screenshot link but I highly doubt that it's of any use wger

afaik, akamai is a hosting service, the link with your thumbnail is directly retrieved from Steam through the Steamworks API, this link is then processed by QT to download the thumbnail image.

Trico-Everfire commented 1 year ago

wef Interesting

Then according to my findings, it... fails to read the image, it appears to retrieve it, just fails to read it. why? I don't know.

MarvinG6547 commented 1 year ago

Could it be that it doesn't like .jpg files?

Trico-Everfire commented 1 year ago

Okay, one more error reading. p2-publishing-tool-windows-Release.zip

MarvinG6547 commented 1 year ago

gr

Trico-Everfire commented 1 year ago

Could it be that it doesn't like .jpg files?

It actually really likes .jpg files. if you upload an image of an image above 1MB, it'll actually atuomatically convert the image to a jpg to downgrade the quality to fit 1MB (this is a limitation placed by STEAM and I wish I could change it but I don't own Valve Software.)

Trico-Everfire commented 1 year ago

gr

Then according to the readouts, there shouldn't be an error :/ I am so confused right now.

MarvinG6547 commented 1 year ago

Quick question are you intentionally ignoring that "Plugin uses incompatible Qt library" error?

Trico-Everfire commented 1 year ago

That is a missing debug dll error, I don't know why it's asking for a debug DLL, because this isn't a debug build.

Trico-Everfire commented 1 year ago

Are you still using the debug dlls from before?

Trico-Everfire commented 1 year ago

delete qwindowsd (only the d version).

MarvinG6547 commented 1 year ago

That removed the error message but it still crashes heof

Trico-Everfire commented 1 year ago

What confuses me is the empty text box, it's probably because it's white on white, I need to fix the styling when I get to it. As to why, I'll look into it.

MarvinG6547 commented 1 year ago

You should really fix that image ijrohg

Well it did appear correctly earlier

Trico-Everfire commented 1 year ago

I've always had trouble with QT and Windows, this isn't my first rodeo, but it always seems to not wanna work and it doesn't tell me why. I'll contact some friends a bit more well versed and hopefully fix this for good.

movercell commented 1 year ago

maybe space character breaks it?

Trico-Everfire commented 1 year ago

maybe space character breaks it?

It's weird then that it doesn't break on Linux, I know things are different between OSses, but QT is supposed to behave 1:1 between them, so I doubt it's anything with characters.

Trico-Everfire commented 1 year ago

this should fix the crashing regarding the qmessagebox warnings. p2-publishing-tool-windows-Release.zip

Trico-Everfire commented 1 year ago

As to why exactly the image reader does not accept the network reply, I'll have to do some more research.

Trico-Everfire commented 1 year ago

p2-publishing-tool-windows-Release.zip Windows tested build! Please LMK if it works on others's machines. Thank you! image

Trico-Everfire commented 1 year ago

When I get confirmation it runs, I'll work on the styling, it looks bad.

Trico-Everfire commented 1 year ago

https://github.com/Trico-Everfire/p2-publishing-tool/releases/tag/v2.0.4-beta