Adobe Digital Editions, nothing happens / exception occurs

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Eagle3
Newbie
Newbie
Posts: 1
Joined: Sat Dec 05, 2020 10:00 am

Adobe Digital Editions, nothing happens / exception occurs

Post by Eagle3 »

Hello

I'm trying to use Adobe Digital Editions on Fedora 32 but it won't work.
The program seems to install ok, but when I try to run it either nothing happens or an exception occurs.

If you could help me get Adobe Digital Editions working I would really appreciate it.

Fedora 32
Wine 5.22
Adobe Digital Editions, tried with version 2.0 and 4.5

Some pages on the internet I've looked at:
https://appdb.winehq.org/objectManager. ... n&iId=6326
https://superuser.com/questions/1027608 ... e-on-linux
https://www.reddit.com/r/archlinux/comm ... ions_wine/
https://forums.gentoo.org/viewtopic-t-1113384.html

This is the exception I get:

Code: Select all

 Unhandled Exception:
System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'DE.View.Devices' that matches the specified binding constraints threw an exception. ---> System.TypeInitializationException: The type initializer for 'DE.Model.MainDataProxy' threw an exception. ---> System.TypeLoadException: Could not load type of field 'System.Windows.Controls.PrintDialog:_printQueue' (1) due to: Could not resolve type with token 01000109 from typeref (expected class 'System.Printing.PrintQueue' in assembly 'System.Printing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35') assembly:System.Printing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 type:System.Printing.PrintQueue member:(null)
  at DE.Model.MainDataProxy..ctor () [0x00000] in <d27e7d600e624b6084b73580cd6b748d>:0 
  at DE.Model.MainDataProxy..cctor () [0x00000] in <d27e7d600e624b6084b73580cd6b748d>:0 
   --- End of inner exception stack trace ---
  at DE.ViewModel.DeviceViewModel.Init () [0x0000d] in <d27e7d600e624b6084b73580cd6b748d>:0 
  at DE.View.Devices..ctor () [0x00055] in <d27e7d600e624b6084b73580cd6b748d>:0 
  at System.Xaml.Schema.XamlTypeInvoker+DefaultCtorXamlActivator.InvokeDelegate (System.Action`1[T] action, System.Object argument) [0x00001] in <e11e69cafdad4672b5f387a1d2364c6a>:0 
  at System.Xaml.Schema.XamlTypeInvoker+DefaultCtorXamlActivator.CallCtorDelegate (System.Xaml.Schema.XamlTypeInvoker type) [0x00012] in <e11e69cafdad4672b5f387a1d2364c6a>:0 
  at System.Xaml.Schema.XamlTypeInvoker+DefaultCtorXamlActivator.CreateInstance (System.Xaml.Schema.XamlTypeInvoker type) [0x00013] in <e11e69cafdad4672b5f387a1d2364c6a>:0 
  at System.Xaml.Schema.XamlTypeInvoker.CreateInstance (System.Object[] arguments) [0x0002d] in <e11e69cafdad4672b5f387a1d2364c6a>:0 
  at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstanceWithCtor (System.Xaml.XamlType xamlType, System.Object[] args) [0x00007] in <e11e69cafdad4672b5f387a1d2364c6a>:0 
  at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstance (System.Xaml.XamlType xamlType, System.Object[] args) [0x0002e] in <e11e69cafdad4672b5f387a1d2364c6a>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Markup.XamlReader.RewrapException (System.Exception e, System.Xaml.IXamlLineInfo lineInfo, System.Uri baseUri) [0x00009] in <35b65fcc443e47eabe89bc2c17454534>:0 
  at System.Windows.Markup.WpfXamlLoader.Load (System.Xaml.XamlReader xamlReader, System.Xaml.IXamlObjectWriterFactory writerFactory, System.Boolean skipJournaledProperties, System.Object rootObject, System.Xaml.XamlObjectWriterSettings settings, System.Uri baseUri) [0x00120] in <35b65fcc443e47eabe89bc2c17454534>:0 
  at System.Windows.Markup.WpfXamlLoader.LoadBaml (System.Xaml.XamlReader xamlReader, System.Boolean skipJournaledProperties, System.Object rootObject, System.Xaml.Permissions.XamlAccessLevel accessLevel, System.Uri baseUri) [0x00017] in <35b65fcc443e47eabe89bc2c17454534>:0 
  at System.Windows.Markup.XamlReader.LoadBaml (System.IO.Stream stream, System.Windows.Markup.ParserContext parserContext, System.Object parent, System.Boolean closeStream) [0x00123] in <35b65fcc443e47eabe89bc2c17454534>:0 
  at System.Windows.Application.LoadComponent (System.Object component, System.Uri resourceLocator) [0x00187] in <35b65fcc443e47eabe89bc2c17454534>:0 
  at DE.MainWindow.InitializeComponent () [0x00024] in <d27e7d600e624b6084b73580cd6b748d>:0 
  at DE.MainWindow..ctor () [0x00605] in <d27e7d600e624b6084b73580cd6b748d>:0 
  at DE.App.OnStartup (System.Windows.StartupEventArgs e) [0x00038] in <d27e7d600e624b6084b73580cd6b748d>:0 
  at System.Windows.Application.<.ctor>b__1_0 (System.Object unused) [0x00014] in <35b65fcc443e47eabe89bc2c17454534>:0 
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000c6] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.Dispatcher.WrappedInvoke (System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00001] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.DispatcherOperation.InvokeImpl () [0x00099] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext (System.Object state) [0x00008] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper (System.Object obj) [0x0001d] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <a824a69a91da499d9f4c6eef0a62cda5>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <a824a69a91da499d9f4c6eef0a62cda5>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <a824a69a91da499d9f4c6eef0a62cda5>:0 
  at MS.Internal.CulturePreservingExecutionContext.Run (MS.Internal.CulturePreservingExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00047] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.DispatcherOperation.Invoke () [0x00016] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.Dispatcher.ProcessQueue () [0x00114] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.Dispatcher.WndProcHook (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x00061] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at MS.Win32.HwndWrapper.WndProc (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x0003a] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at MS.Win32.HwndSubclass.DispatcherCallbackOperation (System.Object o) [0x00042] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000c6] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.Dispatcher.WrappedInvoke (System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00001] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.Dispatcher.LegacyInvokeImpl (System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, System.Object args, System.Int32 numArgs) [0x000fc] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.Dispatcher.Invoke (System.Windows.Threading.DispatcherPriority priority, System.Delegate method, System.Object arg) [0x00011] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at MS.Win32.HwndSubclass.SubclassWndProc (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam) [0x00154] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at (wrapper native-to-managed) MS.Win32.HwndSubclass.SubclassWndProc(intptr,int,intptr,intptr)
  at (wrapper managed-to-native) MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG&)
  at System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage (System.Windows.Interop.MSG& msg) [0x0001a] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.Dispatcher.PushFrameImpl (System.Windows.Threading.DispatcherFrame frame) [0x0004c] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.Dispatcher.PushFrame (System.Windows.Threading.DispatcherFrame frame) [0x00077] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.Dispatcher.Run () [0x00006] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Application.RunDispatcher (System.Object ignore) [0x00023] in <35b65fcc443e47eabe89bc2c17454534>:0 
  at System.Windows.Application.RunInternal (System.Windows.Window window) [0x0010d] in <35b65fcc443e47eabe89bc2c17454534>:0 
  at System.Windows.Application.Run (System.Windows.Window window) [0x00008] in <35b65fcc443e47eabe89bc2c17454534>:0 
  at System.Windows.Application.Run () [0x00009] in <35b65fcc443e47eabe89bc2c17454534>:0 
  at DE.App.Main () [0x00007] in <d27e7d600e624b6084b73580cd6b748d>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'DE.View.Devices' that matches the specified binding constraints threw an exception. ---> System.TypeInitializationException: The type initializer for 'DE.Model.MainDataProxy' threw an exception. ---> System.TypeLoadException: Could not load type of field 'System.Windows.Controls.PrintDialog:_printQueue' (1) due to: Could not resolve type with token 01000109 from typeref (expected class 'System.Printing.PrintQueue' in assembly 'System.Printing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35') assembly:System.Printing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 type:System.Printing.PrintQueue member:(null)
  at DE.Model.MainDataProxy..ctor () [0x00000] in <d27e7d600e624b6084b73580cd6b748d>:0 
  at DE.Model.MainDataProxy..cctor () [0x00000] in <d27e7d600e624b6084b73580cd6b748d>:0 
   --- End of inner exception stack trace ---
  at DE.ViewModel.DeviceViewModel.Init () [0x0000d] in <d27e7d600e624b6084b73580cd6b748d>:0 
  at DE.View.Devices..ctor () [0x00055] in <d27e7d600e624b6084b73580cd6b748d>:0 
  at System.Xaml.Schema.XamlTypeInvoker+DefaultCtorXamlActivator.InvokeDelegate (System.Action`1[T] action, System.Object argument) [0x00001] in <e11e69cafdad4672b5f387a1d2364c6a>:0 
  at System.Xaml.Schema.XamlTypeInvoker+DefaultCtorXamlActivator.CallCtorDelegate (System.Xaml.Schema.XamlTypeInvoker type) [0x00012] in <e11e69cafdad4672b5f387a1d2364c6a>:0 
  at System.Xaml.Schema.XamlTypeInvoker+DefaultCtorXamlActivator.CreateInstance (System.Xaml.Schema.XamlTypeInvoker type) [0x00013] in <e11e69cafdad4672b5f387a1d2364c6a>:0 
  at System.Xaml.Schema.XamlTypeInvoker.CreateInstance (System.Object[] arguments) [0x0002d] in <e11e69cafdad4672b5f387a1d2364c6a>:0 
  at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstanceWithCtor (System.Xaml.XamlType xamlType, System.Object[] args) [0x00007] in <e11e69cafdad4672b5f387a1d2364c6a>:0 
  at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstance (System.Xaml.XamlType xamlType, System.Object[] args) [0x0002e] in <e11e69cafdad4672b5f387a1d2364c6a>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Markup.XamlReader.RewrapException (System.Exception e, System.Xaml.IXamlLineInfo lineInfo, System.Uri baseUri) [0x00009] in <35b65fcc443e47eabe89bc2c17454534>:0 
  at System.Windows.Markup.WpfXamlLoader.Load (System.Xaml.XamlReader xamlReader, System.Xaml.IXamlObjectWriterFactory writerFactory, System.Boolean skipJournaledProperties, System.Object rootObject, System.Xaml.XamlObjectWriterSettings settings, System.Uri baseUri) [0x00120] in <35b65fcc443e47eabe89bc2c17454534>:0 
  at System.Windows.Markup.WpfXamlLoader.LoadBaml (System.Xaml.XamlReader xamlReader, System.Boolean skipJournaledProperties, System.Object rootObject, System.Xaml.Permissions.XamlAccessLevel accessLevel, System.Uri baseUri) [0x00017] in <35b65fcc443e47eabe89bc2c17454534>:0 
  at System.Windows.Markup.XamlReader.LoadBaml (System.IO.Stream stream, System.Windows.Markup.ParserContext parserContext, System.Object parent, System.Boolean closeStream) [0x00123] in <35b65fcc443e47eabe89bc2c17454534>:0 
  at System.Windows.Application.LoadComponent (System.Object component, System.Uri resourceLocator) [0x00187] in <35b65fcc443e47eabe89bc2c17454534>:0 
  at DE.MainWindow.InitializeComponent () [0x00024] in <d27e7d600e624b6084b73580cd6b748d>:0 
  at DE.MainWindow..ctor () [0x00605] in <d27e7d600e624b6084b73580cd6b748d>:0 
  at DE.App.OnStartup (System.Windows.StartupEventArgs e) [0x00038] in <d27e7d600e624b6084b73580cd6b748d>:0 
  at System.Windows.Application.<.ctor>b__1_0 (System.Object unused) [0x00014] in <35b65fcc443e47eabe89bc2c17454534>:0 
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000c6] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.Dispatcher.WrappedInvoke (System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00001] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.DispatcherOperation.InvokeImpl () [0x00099] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext (System.Object state) [0x00008] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper (System.Object obj) [0x0001d] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <a824a69a91da499d9f4c6eef0a62cda5>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <a824a69a91da499d9f4c6eef0a62cda5>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <a824a69a91da499d9f4c6eef0a62cda5>:0 
  at MS.Internal.CulturePreservingExecutionContext.Run (MS.Internal.CulturePreservingExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00047] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.DispatcherOperation.Invoke () [0x00016] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.Dispatcher.ProcessQueue () [0x00114] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.Dispatcher.WndProcHook (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x00061] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at MS.Win32.HwndWrapper.WndProc (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x0003a] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at MS.Win32.HwndSubclass.DispatcherCallbackOperation (System.Object o) [0x00042] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000c6] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.Dispatcher.WrappedInvoke (System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00001] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.Dispatcher.LegacyInvokeImpl (System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, System.Object args, System.Int32 numArgs) [0x000fc] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.Dispatcher.Invoke (System.Windows.Threading.DispatcherPriority priority, System.Delegate method, System.Object arg) [0x00011] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at MS.Win32.HwndSubclass.SubclassWndProc (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam) [0x00154] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at (wrapper native-to-managed) MS.Win32.HwndSubclass.SubclassWndProc(intptr,int,intptr,intptr)
  at (wrapper managed-to-native) MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG&)
  at System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage (System.Windows.Interop.MSG& msg) [0x0001a] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.Dispatcher.PushFrameImpl (System.Windows.Threading.DispatcherFrame frame) [0x0004c] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.Dispatcher.PushFrame (System.Windows.Threading.DispatcherFrame frame) [0x00077] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Threading.Dispatcher.Run () [0x00006] in <a880704435ee4cf98f53f6a0d87c2348>:0 
  at System.Windows.Application.RunDispatcher (System.Object ignore) [0x00023] in <35b65fcc443e47eabe89bc2c17454534>:0 
  at System.Windows.Application.RunInternal (System.Windows.Window window) [0x0010d] in <35b65fcc443e47eabe89bc2c17454534>:0 
  at System.Windows.Application.Run (System.Windows.Window window) [0x00008] in <35b65fcc443e47eabe89bc2c17454534>:0 
  at System.Windows.Application.Run () [0x00009] in <35b65fcc443e47eabe89bc2c17454534>:0 
carapax
Newbie
Newbie
Posts: 4
Joined: Fri Feb 19, 2021 4:20 pm

Re: Adobe Digital Editions, nothing happens / exception occurs

Post by carapax »

I don't have a Fedora installation to test.
But it works on my Arch Linux, though I'm using WINE version 6.2.

You can try some of the following steps:
ADE 4.5 needs corefonts installed

Code: Select all

WINEPREFIX=/path/to/ADEInstallation winetricks corefonts
For ADE 2.0 you need some more verbs installed.

Run the following lines in a terminal for installation:

Code: Select all

#create a new 32-bit wineprefix
WINEPREFIX=~/.adobewine WINEARCH=win32 winefg
#close the winecfg dialog

#install some more verbs
WINEPREFIX=~/.adobewine winetricks -q corefonts
WINEPREFIX=~/.adobewine winetricks -q  windowscodecs
WINEPREFIX=~/.adobewine winetricks -q dotnet35sp1


#download ADE Installer from Adobe Homepage
curl -L http://download.adobe.com/pub/adobe/digitaleditions/ADE_2.0_Installer.exe -o ~/Downloads/ADE_2.0_Installer.exe

#install ADE in the pre-prepared wineprefix
WINEPREFIX=~/.adobewine wine ~/Downloads/ADE_2.0_Installer.exe
Let me know if any of that helped.
Locked