-
Notifications
You must be signed in to change notification settings - Fork 1
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
Unable to preview DDS files #1
Comments
Hi JordyPKF, thank you for your feedback. Please sent me exception log (find here) and your Win-QL version, if you can. Because the |
Hi Kaihua,
Thank you for your quick reply and excuse me for the delay in mine. The following log entry appears when trying to open a .DDS file with the v1 release:
========22-6-2022 20:38:27========
System.MissingMethodException: Methode niet gevonden: !!0 QuickLook.Common.Helpers.SettingHelper.Get(System.String, !!0, System.String).
bij QuickLook.Plugin.DDSViewer.Plugin.Prepare(String path, ContextObject context)
bij QuickLook.ViewerWindow.BeginShow(IViewer matchedPlugin, String path, Action`2 exceptionHandler)
fyi: “Methode niet gevonden” means “Method not found” (it’s dutch).
For completeness, I have attached the .DDS-file. When I was debugging I saw that your code was perfectly changing the file to a “thumbnail.png”.
Hope this helps!
Best,
Jordy Bekker
Van: Kaihua Zhang ***@***.***>
Verzonden: maandag 20 juni 2022 03:24
Aan: zhangkaihua88/QuickLook.Plugin.DDSViewer ***@***.***>
CC: Jordy Bekker ***@***.***>; Author ***@***.***>
Onderwerp: Re: [zhangkaihua88/QuickLook.Plugin.DDSViewer] Unable to preview DDS files (Issue #1)
Hi JordyPKF, thank you for your feedback. Please sent me exception log (find here<https://github.com/QL-Win/QuickLook/wiki/Differences-Between-Distributions#user-data-location>) and your Win-QL version, if you can. Because the ip.Theme code comes from the QuickLook.Plugin.ImageViewer. I want DDSViewer to have the same settings as ImageViewer. Therefore it 's error is maybe from ImageViewer.
—
Reply to this email directly, view it on GitHub<#1 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AVTISZI6BOFOXOTLIAIU3CTVP7BZ5ANCNFSM5ZG2YY5A>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
[Logo PKFWallast]<https://www.pkfwallast.nl/>
[Bezoek ons op LinkedIn]<https://www.linkedin.com/company/37750/> [Bezoek ons op Facebook] <https://www.facebook.com/pkfwallast/> [Bezoek ons op Twitter] <https://twitter.com/PKFWallast>
De informatie verzonden met dit e-mailbericht is uitsluitend bestemd voor de geadresseerde. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is niet toegestaan. De maatschap PKF Wallast aanvaardt geen aansprakelijkheid voor de onjuiste en onvolledige overbrenging van de inhoud van een verzonden e-mailbericht, noch voor niet tijdige ontvangst daarvan. Op alle opdrachten van de maatschap PKF Wallast zijn de algemene voorwaarden<https://www.pkfwallast.nl/algemene-voorwaarden/> zoals gedeponeerd bij de rechtbank Den Haag op 9 november 2018 onder nummer 44/2018 van toepassing. In deze voorwaarden is een beperking van aansprakelijkheid opgenomen. PKF Wallast is als member firm aangesloten bij PKF International Limited, een samenwerkingsverband van juridisch onafhankelijke kantoren en aanvaardt geen enkele verantwoordelijkheid of aansprakelijkheid voor het doen of nalaten van de zijde van andere bij PKF International Limited aangesloten member firms of correspondent firms.
The information contained in this e-mail message is intended solely for the addressee. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. The partnership PKF Wallast does not accept any liability for the incorrect and incomplete transmission of the information contained in this e-mail message nor for any delay in its receipt. Our general terms and conditions<https://www.pkfwallast.nl/en/general-terms-and-conditions-of-maatschap-pkf-wallast/> are applicable to all our assignments. These conditions were lodged with the Court at The Hague on the 9th of November 2018 under number 44/2018. These conditions contain a limitation of liability. PKF Wallast is a member firm of the PKF International Limited family of legally independent firms and does not accept any responsibility or liability for the actions or inactions of any individual member or correspondent firm or firms.
Website: www.pkfwallast.nl<http://www.pkfwallast.nl>
[Logo PKFWallast]<https://www.greatplacetowork.nl/workplace/item/3314/pkfwallast>
|
I forgot to attach it, here you go.
Van: Jordy Bekker
Verzonden: woensdag 22 juni 2022 20:46
Aan: zhangkaihua88/QuickLook.Plugin.DDSViewer ***@***.***>
Onderwerp: RE: [zhangkaihua88/QuickLook.Plugin.DDSViewer] Unable to preview DDS files (Issue #1)
Hi Kaihua,
Thank you for your quick reply and excuse me for the delay in mine. The following log entry appears when trying to open a .DDS file with the v1 release:
========22-6-2022 20:38:27========
System.MissingMethodException: Methode niet gevonden: !!0 QuickLook.Common.Helpers.SettingHelper.Get(System.String, !!0, System.String).
bij QuickLook.Plugin.DDSViewer.Plugin.Prepare(String path, ContextObject context)
bij QuickLook.ViewerWindow.BeginShow(IViewer matchedPlugin, String path, Action`2 exceptionHandler)
fyi: “Methode niet gevonden” means “Method not found” (it’s dutch).
For completeness, I have attached the .DDS-file. When I was debugging I saw that your code was perfectly changing the file to a “thumbnail.png”.
Hope this helps!
Best,
Jordy Bekker
Van: Kaihua Zhang ***@***.******@***.***>>
Verzonden: maandag 20 juni 2022 03:24
Aan: zhangkaihua88/QuickLook.Plugin.DDSViewer ***@***.******@***.***>>
CC: Jordy Bekker ***@***.******@***.***>>; Author ***@***.******@***.***>>
Onderwerp: Re: [zhangkaihua88/QuickLook.Plugin.DDSViewer] Unable to preview DDS files (Issue #1)
Hi JordyPKF, thank you for your feedback. Please sent me exception log (find here<https://github.com/QL-Win/QuickLook/wiki/Differences-Between-Distributions#user-data-location>) and your Win-QL version, if you can. Because the ip.Theme code comes from the QuickLook.Plugin.ImageViewer. I want DDSViewer to have the same settings as ImageViewer. Therefore it 's error is maybe from ImageViewer.
—
Reply to this email directly, view it on GitHub<#1 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AVTISZI6BOFOXOTLIAIU3CTVP7BZ5ANCNFSM5ZG2YY5A>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
[Logo PKFWallast]<https://www.pkfwallast.nl/>
[Bezoek ons op LinkedIn]<https://www.linkedin.com/company/37750/> [Bezoek ons op Facebook] <https://www.facebook.com/pkfwallast/> [Bezoek ons op Twitter] <https://twitter.com/PKFWallast>
De informatie verzonden met dit e-mailbericht is uitsluitend bestemd voor de geadresseerde. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is niet toegestaan. De maatschap PKF Wallast aanvaardt geen aansprakelijkheid voor de onjuiste en onvolledige overbrenging van de inhoud van een verzonden e-mailbericht, noch voor niet tijdige ontvangst daarvan. Op alle opdrachten van de maatschap PKF Wallast zijn de algemene voorwaarden<https://www.pkfwallast.nl/algemene-voorwaarden/> zoals gedeponeerd bij de rechtbank Den Haag op 9 november 2018 onder nummer 44/2018 van toepassing. In deze voorwaarden is een beperking van aansprakelijkheid opgenomen. PKF Wallast is als member firm aangesloten bij PKF International Limited, een samenwerkingsverband van juridisch onafhankelijke kantoren en aanvaardt geen enkele verantwoordelijkheid of aansprakelijkheid voor het doen of nalaten van de zijde van andere bij PKF International Limited aangesloten member firms of correspondent firms.
The information contained in this e-mail message is intended solely for the addressee. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. The partnership PKF Wallast does not accept any liability for the incorrect and incomplete transmission of the information contained in this e-mail message nor for any delay in its receipt. Our general terms and conditions<https://www.pkfwallast.nl/en/general-terms-and-conditions-of-maatschap-pkf-wallast/> are applicable to all our assignments. These conditions were lodged with the Court at The Hague on the 9th of November 2018 under number 44/2018. These conditions contain a limitation of liability. PKF Wallast is a member firm of the PKF International Limited family of legally independent firms and does not accept any responsibility or liability for the actions or inactions of any individual member or correspondent firm or firms.
Website: www.pkfwallast.nl<http://www.pkfwallast.nl>
[Logo PKFWallast]<https://www.greatplacetowork.nl/workplace/item/3314/pkfwallast>
|
Hi, Jordy. I want to know your QuickLook version, I got same error in Version 3.6.9, 3.6.10 and 3.6.11 portable, and it works in 3.7.0 and 3.7.1. I think this error is version adaptation problem. If my guess is correct, please forgive me, I will not update the code.
Other evidence, these code is getting themes method in ImageViewer from different versions // Version 3.6.11
context.Theme = (Themes) SettingHelper.Get("LastTheme", 1);
// Version 3.7.0
context.Theme = (Themes) SettingHelper.Get("LastTheme", 1, "QuickLook.Plugin.ImageViewer"); |
Maybe I can add an exception handling for version 3.6.x. |
After trying to adapt to version 3.6.11, I found that it seems not easy. After adding exception handling, there will still be an error |
Opening .DDS files resulted in an error. When I commented out line 41 ( ip.Theme = context.Theme;) and line 50 (_ip.Theme = context.Theme;) of Plugin.cs it works for me.
The text was updated successfully, but these errors were encountered: