Problems with ActivePython

Questions about Wine on Linux
Locked
mariaserafini
Newbie
Newbie
Posts: 4
Joined: Fri Mar 16, 2018 8:24 am

Problems with ActivePython

Post by mariaserafini »

Hi, I just installed wineHQ on ubuntu 16.06 (64 bit) following the instruction on theWine Installation Page
https://wiki.winehq.org/Wine_Installati ... figuration

I need to install Active Python 2.7 and the only available package on the official website is ActivePython-2.7.14.2717-win64-x64

When I launch from the shell
wine ./ActivePython-2.7.14.2717-win64-x64-404905.exe

I receive on the shell this messages:
0034:fixme:explorerframe:taskbar_list_SetProgressValue iface 0x1666a8, hwnd 0x20056, ullCompleted 400000, ullTotal 47b400 stub!
0034:fixme:explorerframe:taskbar_list_SetProgressState iface 0x1666a8, hwnd 0x20056, flags 0 stub!
0036:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0009:fixme:dwmapi:DwmSetWindowAttribute (0x30056, 2, 0x33e9ec, 4) stub
003f:fixme:msi:AutomationObject_GetIDsOfNames Unknown member L"fs", clsid {000c109e-0000-0000-c000-000000000046}
0036:fixme:mpr:WNetGetUniversalNameW (L"C:\\Python27", 0x00000001, 0xe0eaac, 0xe0ea74): stub
0036:fixme:exec:SHELL_execute flags ignored: 0x00000100
0046:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0046:fixme:ver:GetCurrentPackageId (0x33fe24 (nil)): stub

and in the window I can accept licence and so on, but at the installation point a get error and the detailed log is:

[SEH_AV_READ_NULLPTR] ACCESS_VIOLATION (0xc0000005) at address [0x00407ba9]

Advanced Installer Enhanced UI 13.5 build 74683
*** Stack Trace (x86) ***

[0x00407ba9] -----
[0x004ad3e5] -----
[0x004ad4ec] -----
[0x0017aa10] -----
[0x00535248] -----
[0x004b3ac8] -----
[0x00400000] MODULE_BASE_ADDRESS


then, wine got stucked, I try to abort the installation but the windows never closes, and the pc starts to work a lot...I have to kill the process...

Do you have any idea to solve?
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Problems with ActivePython

Post by dimesio »

Is there a specific reason you are trying to use the Windows version when there is a native Linux version available? Unless the Windows version has something you need that is not present in the Linux version, it would be much better to run the Linux version.

As for the problem installing, I suspect this may be running into https://bugs.winehq.org/show_bug.cgi?id=31741. For me the installer started fine, but got stuck at "Extracting files from archive." The installer did manage to extract a .msi file; after killing the installer I tried the workaround mentioned in that bug on it (wine64 msiexec /i), but got an error message that it has to be run from a bootstrapper.
mariaserafini
Newbie
Newbie
Posts: 4
Joined: Fri Mar 16, 2018 8:24 am

Re: Problems with ActivePython

Post by mariaserafini »

The reason to have active python in windows is because calibre uses it to convert ebooks...
mariaserafini
Newbie
Newbie
Posts: 4
Joined: Fri Mar 16, 2018 8:24 am

Re: Problems with ActivePython

Post by mariaserafini »

Thank you for your help, I tried your solution but even if python is installed calibre is not working...I read on the calibre support page that is suggested to install the active python because it will install also some dlls needed to calibre...
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Problems with ActivePython

Post by dimesio »

And why aren't you using the Linux version of Calibre? https://calibre-ebook.com/download_linux
mariaserafini
Newbie
Newbie
Posts: 4
Joined: Fri Mar 16, 2018 8:24 am

Re: Problems with ActivePython

Post by mariaserafini »

Yes, I use the calibre version but if I download an acsm file, I need adobe digitals to obtain the epub, and calibre to transform it in azw3 for kindle. Since the epub is protected by drm, I need active python under wine to dedrm it :)
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Problems with ActivePython

Post by dimesio »

Discussion of illegal activities is against forum rules.
Locked