Page 1 of 1

Editor v7 doesn't work on Linux + Wine

Posted: Thu Dec 21, 2017 4:52 pm
by ArchStanton
Hello, I know XChange Editor isn't supposed to run on Linux but until version 6 it worked quite good with Wine. With the latest version I have some troubles:
• with the .exe installer it exits with an error just after clicking on "Install" in the first dialog. The error code is "0x80004005 - (null)". I can't see the log.
• with the msi installers (both 32 and 64 bit) the installation ends without problems (I did a complete installation w/o the XPS essentials pack). When I launch it it crashes immediately with "The program PDFXEdit.exe has encountered a serious error and needs to close...". "Show details" shows nothing.
• the portable version gives the same error as the msi.

I've attached the outputs of my terminal.

My system:
• Ubuntu 16.04
• Wine 1.6.2
• PDFXEdit 7.0.323.2.

I hope that you can take care of this.

Re: Editor v7 doesn't work on Linux + Wine

Posted: Thu Dec 21, 2017 11:25 pm
by Paul - Tracker Supp
Hi ArchStanton,

thanks for the post and report. We will look into this. I must confess to being surprised as I use Ubuntu on a daily basis with the Editor.

Image

Admittedly I am running Zesty (17.04) and wine 1.8.7 (from the repositories) as you can see. I installed using the Pro 64 bit MSI. It looks even better to me that 7.0.323.1 which had rendering issues.

I will test with your versions in the coming days, hopefully before Christmas.

regards

Re: Editor v7 doesn't work on Linux + Wine

Posted: Fri Dec 22, 2017 9:16 am
by ArchStanton
Thanks. It's not a big issue then, I can use v6 until I upgrade to Ubuntu 18.04 next year. You're the best. Have an happy 2018 :-)

Re: Editor v7 doesn't work on Linux + Wine

Posted: Fri Dec 22, 2017 9:39 am
by John - Tracker Supp
Thanks for your patience - have a great 2018 yourself when it comes :)

Re: Editor v7 doesn't work on Linux + Wine

Posted: Fri Dec 22, 2017 3:47 pm
by Paul - Tracker Supp
Last night I did find issues with 7.0.323.2 on Ubuntu 16.04. If you want to grab 7.0.323 I had that working under 16.04 with the distro wine libraries.

We will look into it in the new year.

Re: Editor v7 doesn't work on Linux + Wine

Posted: Sat Dec 30, 2017 2:14 am
by Roman - Tracker Supp
Hi ArchStanton,
Editor 7.0.323.2 works in WINE 1.9.20 or newer (this is not the minimal compatible WINE version - just the version we tested the Editor in).
Can you update your WINE? No need to upgrade the entire Ubuntu, just add WINE repository to the Ubuntu package manager and update to the latest stable WINE version (2.0.3 currently).
See here for details.

Re: Editor v7 doesn't work on Linux + Wine

Posted: Tue Jan 02, 2018 3:39 pm
by Paul - Tracker Supp
On xenial you can get the latest from the wine repos and that will work, just add them to apt:

Code: Select all

paul@paul-desktop:~$ sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
paul@paul-desktop:~$ sudo apt update
paul@paul-desktop:~$ sudo apt-get install --install-recommends winehq-stable

Code: Select all

paul@paul-desktop:~$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"

Code: Select all

paul@paul-desktop:~$ wine --version
wine-2.0.3
It installs OK. Both the Editor and Pro MSI installers complete the install process, we are still working on the issue with the text boxes.

hth

Re: Editor v7 doesn't work on Linux + Wine

Posted: Sat Jan 13, 2018 9:28 pm
by ArchStanton
Hello, sorry for the late answer. I had to reinstall Ubuntu and upgraded to 17.10. I've installed v. 7.0.323.2 successfully with Wine 2.0.2 from the msi 64b, and tried the portable version too. It crashes often when I add sticky notes, but I'm using settings imported from a file I made with v6. Can it cause issues?

Re: Editor v7 doesn't work on Linux + Wine

Posted: Sun Jan 14, 2018 8:16 pm
by Will - Tracker Supp
Hi ArchStanton,

Thanks for the info. - It's entirely possible. Please backup the settings file, if you haven't already, then try resetting your settings and see if that helps.

Cheers,

Re: Editor v7 doesn't work on Linux + Wine

Posted: Sun Jan 14, 2018 10:20 pm
by ArchStanton
I tried again with the default settings right after a clean wine install. It keeps crashing when I use sticky notes. May I ask what your wine setup is like? (WINEARCH, winecfg settings... Also, do I need Mono or other packages?)

Re: Editor v7 doesn't work on Linux + Wine

Posted: Tue Jan 16, 2018 10:23 am
by Tracker Supp-Stefan
Hello ArchStanton,

We've asked a colleague from the dev team that has a Linux to follow up here with additional info, but he has a few tasks on his plate, so apologies for the delay! We will be looking at this as soon as possible though!

Regards,
Stefan

Re: Editor v7 doesn't work on Linux + Wine

Posted: Sat Jan 27, 2018 3:44 am
by Roman - Tracker Supp
Hello ArchStanton,
Our tests show there should be no such problems with 32-bit editor in WINE 3.0.
If you still have issues with 32-bit editor please try using native 32-bit WINE environment. To create this environment do the following command (you can use an arbitrary path instead of ~/.wine32):

Code: Select all

WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg

Then run the editor using the following command:

Code: Select all

WINEPREFIX=~/.wine32 wine PDFXEdit.exe

Re: Editor v7 doesn't work on Linux + Wine

Posted: Sat Jan 27, 2018 8:48 am
by ArchStanton
Thanks, I'll test it and report back in a few days.

Re: Editor v7 doesn't work on Linux + Wine

Posted: Sun Jan 28, 2018 1:17 pm
by ArchStanton
I've tried the .msi 32bit: ran

Code: Select all

WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
WINEPREFIX=~/.wine32 wine msiexec /i EditorV7.x86.msi
WINEPREFIX=~/.wine32 wine .wine32/drive_c/Program\ Files/Tracker\ Software/PDF\ Editor/PDFXEdit.exe
tested it quickly and it worked.
The portable version didn't work instead, and after having tried that one, the version installed from the msi stopped working too. Not even deleting ~/.wine32 and re-running the commands above made it work. My wine version is 2.0.2, though.

Re: Editor v7 doesn't work on Linux + Wine

Posted: Sun Jan 28, 2018 7:48 pm
by Roman - Tracker Supp
What do you mean saying "stopped working"? You got back the same issue with sticky notes?
ArchStanton wrote:Not even deleting ~/.wine32 and re-running the commands above made it work.
Please also make sure that all WINE service processes are stopped.

Re: Editor v7 doesn't work on Linux + Wine

Posted: Tue Jan 30, 2018 8:35 am
by ArchStanton
Roman - Tracker Supp wrote:What do you mean saying "stopped working"? You got back the same issue with sticky notes?
Yes.
Roman - Tracker Supp wrote:Please also make sure that all WINE service processes are stopped.
How can I do that? Thanks for helping me out.

Re: Editor v7 doesn't work on Linux + Wine

Posted: Wed Jan 31, 2018 3:24 pm
by Paul - Tracker Supp
Hi Arch,

you can see what wine processes are running with ps aux |grep wine

Code: Select all

paul@paul-pc:~$ ps aux |grep wine
paul      2378  0.2  0.0  30192 12880 ?        Ss   Jan24  21:01 /usr/lib/wine/wineserver64 -p0
paul      2390  0.0  0.0 2027128 11360 ?       Sl   Jan24   0:12 C:\windows\system32\winedevice.exe MountMgr
paul      4662  0.2  0.0  20296 17432 ?        Ss   Jan15  47:09 /opt/teamviewer/tv_bin/wine/bin/wineserver
paul     11590  0.0  0.0  14240   996 pts/5    S+   07:17   0:00 grep --color=auto wine
Then kill accordingly. In this case there is MountMgr and TeamViewer running as well as the wineserver which is process 2378
https://linux.die.net/man/1/kill
https://linux.die.net/man/1/killall

Re: Editor v7 doesn't work on Linux + Wine

Posted: Fri Feb 02, 2018 11:05 am
by ArchStanton
I've deleted the .wine32 directory, with no wine process in sight I've issued the same three commands as the last time (with XE v7.0.324 this time), but it still gets stuck with sticky notes.

I've tried making and using a ".wine33" directory and neither that worked.

If it's of any use, my system information is as follows

Code: Select all

Wine build: wine-2.0.2 (Ubuntu 2.0.2-2ubuntu1)
Platform: i386
Version: Windows XP
Host system: Linux
Host version: 4.13.0-32-generic

Re: Editor v7 doesn't work on Linux + Wine

Posted: Fri Feb 02, 2018 1:10 pm
by Tracker Supp-Stefan
Thanks for the details ArchStanton,

I do not have a Linux + Wine machine here at my end, so will ask Paul to take a look when he gets to the Canadian office and advise if he has other ideas that you can try!

Regards,
Stefan

Re: Editor v7 doesn't work on Linux + Wine

Posted: Sun Feb 11, 2018 6:32 pm
by Don_Pedro
Please allow me to join this discussion as I have a similar problem with XChange Editor and Wine (Linux).

Code: Select all

System information:
    Wine build: wine-3.0
    Platform: x86_64
    Version: Windows 7
    Host system: Linux
    Host version: 4.15.2-041502-generic
    
user@pc ~ $ cat /etc/lsb-release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=18.3
DISTRIB_CODENAME=sylvia
DISTRIB_DESCRIPTION="Linux Mint 18.3 Sylvia"  # (based on Ubuntu Xenial 16.04)
    
Installation of PDF Tools (including PDF XChange Editor and PDF XChange Printer) without any problem. I was using the 32/64-bit combined .zip/.exe installation file. I installed the latest release 7.0.324.2. The problem is the same with version 7.0.323.2 that I tried before.

XChange Editor is running and at first appears to be working as usual.

However, the Editor crashes after opening more than one file (or after opening several files - I cannot fully reproduce the situation). An alert box pops up, telling me that an error has occured and the program needs to be closed. Error log attached.

I cannot figure out what might be wrong. There is just one thing that seems weird to me. The error message starts with
"Unhandled exception: page fault on read access to 0x00000000 in 64-bit code (0x00000001804b7e99)."
However, PDF XChange Editor is installed in the virtual (x86) program directory for 32-bit applications (see log file):
C:\Program Files (x86)\Tracker Software\PDF Editor\PDFXEdit.exe

Do you have any idea what may be the problem? Thank you.

Re: Editor v7 doesn't work on Linux + Wine

Posted: Sun Feb 11, 2018 7:18 pm
by Roman - Tracker Supp
Don_Pedro wrote:There is just one thing that seems weird to me. The error message starts with
"Unhandled exception: page fault on read access to 0x00000000 in 64-bit code (0x00000001804b7e99)."
However, PDF XChange Editor is installed in the virtual (x86) program directory for 32-bit applications (see log file)
Hello Don_Pedro,
The log shows the exception occured in pdfxeditcore.x64.dll module that is a 64-bit Editor module. So you definitely run 64-bit editor.
As far as I know WINE had some problems running 32-bit applications in 64-bit environment. So please use a 32-bit WINE environment (WINEPREFIX) and install 32-bit Editor into it.
See earlier messages in this topic for details.

Re: Editor v7 doesn't work on Linux + Wine

Posted: Tue Feb 13, 2018 1:22 pm
by Don_Pedro
Hello Roman,
thanks for your quick help on a Sunday.

Just a short feedback. I created a separate 32-bit WINE environment (~/.wine32) as suggested in post no. 12 above and installed PDF Tools (including PDF-XChange Editor and PDF-XChange Printer Lite) in it, using the .zip/.exe installation file. So far everything is working as it is supposed to do. :)

Only minor problem: no entries for the PDF programs show up in the WINE startup menu. This has to be done manually, using the menu editor. But this is just a minor inconvenience.

Re: Editor v7 doesn't work on Linux + Wine

Posted: Tue Feb 13, 2018 2:40 pm
by Tracker Supp-Stefan
Hi Don_Pedro,

Is the Lite printing driver also working properly for you?
Can you 'print' to it and does it generate PDF files correctly?

Cheers,
Stefan

Re: Editor v7 doesn't work on Linux + Wine

Posted: Tue Feb 13, 2018 4:10 pm
by Don_Pedro
Hello Stefan,
Tracker Supp-Stefan wrote: Is the Lite printing driver also working properly for you?
Can you 'print' to it and does it generate PDF files correctly?
No. The virtual PDF printer does show up as a printer in the PDF-XChange Editor print menu only, but not in the Linux printer overview or in other application programs (such as Firefox or Thunderbird). I cannot create any output with the virtual printer.

I asked a similar question in the XChange Printer subforum, but apparently there is no way to activate a virtual Windows printer in the WINE environment.

Re: Editor v7 doesn't work on Linux + Wine

Posted: Tue Feb 13, 2018 5:01 pm
by Tracker Supp-Stefan
Hi Don_Pedro,

Yes - that's why I asked - as I also saw Roman's post that our drivers do not work under Wine.
So unfortunately only Tools and the Editor can be used in such an environment.

Regards,
Stefan

Re: Editor v7 doesn't work on Linux + Wine

Posted: Tue Feb 13, 2018 6:40 pm
by Roman - Tracker Supp
Don_Pedro wrote:Just a short feedback. I created a separate 32-bit WINE environment (~/.wine32) as suggested in post no. 12 above and installed PDF Tools (including PDF-XChange Editor and PDF-XChange Printer Lite) in it, using the .zip/.exe installation file. So far everything is working as it is supposed to do. :)

Only minor problem: no entries for the PDF programs show up in the WINE startup menu. This has to be done manually, using the menu editor. But this is just a minor inconvenience.
Thanks for the feedback, Don_Pedro. Glad that the Editor works for you.
You might also want to create a .desktop file (displayed as an item in the Ubuntu Launcher) that will launch the Editor using the appropriate WINE environment, seamlessly as an ordinary Linux application. To do this you can run the Editor (either from the terminal using a command like this:

Code: Select all

WINEPREFIX=~/.wine32 wine .wine32/drive_c/Program\ Files/Tracker\ Software/PDF\ Editor/PDFXEdit.exe
or through the WINE Start menu) then right-click on the new item in the Launcher and select "Lock to Launcher".

Re: Editor v7 doesn't work on Linux + Wine

Posted: Sun Apr 15, 2018 5:56 am
by meho_r
Regarding sticky notes crashes, I've encountered those too, both in wine 32- and 64-bit. None of the suggestions from earlier posts worked for me. However, I discovered by chance that closing the document (note: the document, not the application) and reopening it solved the issue (on Arch-based Netrunner 64-bit distro, wine v3.5).

When I start the Editor, open a PDF document, and add a sticky note to it, the note's pop-up window doesn't show up at all (left part of the attached image). This means that, without exception, the app is going to crash after next couple of clicks; if I click on the sticky note icon or right-click on it and try to open it, the app crashes immediately.

But, if I start the Editor and open, close, then reopen the PDF document prior to adding a sticky note, everything works properly (right part of the attached image).

This is a strange "solution", but it might be worth giving it a try if everything else fails.

Re: Editor v7 doesn't work on Linux + Wine

Posted: Thu Apr 19, 2018 3:23 pm
by Paul - Tracker Supp
Have you all tried 7.0.325.0?

I have run the 64 bit MSI for the current build of the editor https://www.pdf-xchange.com/ProV7.x64.msi on Ubuntu Artful:

Code: Select all

paul@paul-pc:~/Downloads/V7$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=17.10
DISTRIB_CODENAME=artful
DISTRIB_DESCRIPTION="Ubuntu 17.10"
I did have to download the installer as Tracker Update didn't find any updates for me. We will look into that.

Regards wine versions - I used the Ubuntu repository version:

Code: Select all

paul@paul-pc:~/Downloads/V7$ sudo apt install wine-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
wine-stable is already the newest version (2.0.2-2ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
This works "out of the box" with the 64 bit MSI and in this version I am seeing "sticky note heaven":
Image

This is my workstation, I will test LTS in a VM today.

Re: Editor v7 doesn't work on Linux + Wine

Posted: Fri Apr 20, 2018 7:28 pm
by meho_r
Thank you, Paul. I just gave it a go, v.7.0.325.0 indeed worked nicely. I haven't done any thorough testing yet, but sticky notes issue does seem to be solved. Hopefully, there will be no other hidden unpleasant surprises. ;-)

Installed from 64-bit MSI file, same Netrunner Rolling 2018.1 distro, and wine v.3.5 from official repos. In winecfg, "Windows 7" was chosen for "Windows version". I'll test 7.0.325.0 later on Fedora 64-bit.

Re: Editor v7 doesn't work on Linux + Wine

Posted: Fri Apr 20, 2018 8:31 pm
by TrackerSupp-Daniel
Glad to hear it works!
Keep us posted on the others :)

Re: Editor v7 doesn't work on Linux + Wine

Posted: Fri Jun 29, 2018 5:44 pm
by ArchStanton
Hello, I've switched to Ubuntu 18.04 and I'm reinstalling Wine and PDFXEdit. I wondered if there's some components that need to be installed through winetricks for PDFXEdit to work.

Re: Editor v7 doesn't work on Linux + Wine

Posted: Fri Jun 29, 2018 6:01 pm
by Paul - Tracker Supp
Hi Arch,

I haven't personally tried 18.04 yet. Maybe that is something I should do today...

;-)

Re: Editor v7 doesn't work on Linux + Wine

Posted: Sat Jun 30, 2018 5:13 pm
by ArchStanton
Keep me updated please

Re: Editor v7 doesn't work on Linux + Wine

Posted: Sat Jun 30, 2018 8:02 pm
by Will - Tracker Supp
Hi Arch,

I've forwarded this to Paul. He'll let you know if and when he's able to find anything.

Cheers,

Re: Editor v7 doesn't work on Linux + Wine

Posted: Tue Jul 03, 2018 7:14 am
by Will - Tracker Supp
Hi Arch,

Just a quick update - I hadn't realized when I posted originally, but Paul is on holiday until next week and asked me to notify you. He'll get to testing as soon as he's back and able to.

Thanks for your patience!

Re: Editor v7 doesn't work on Linux + Wine

Posted: Tue Jul 03, 2018 8:58 am
by ArchStanton
Thank you for your help. Wish him good holidays :D

Re: Editor v7 doesn't work on Linux + Wine

Posted: Tue Jul 03, 2018 9:03 am
by Will - Tracker Supp
No worries - will do :D

Re: Editor v7 doesn't work on Linux + Wine

Posted: Wed May 29, 2019 9:27 pm
by Paul - Tracker Supp
image.png
Hi guys,

I just realised I never commented on this. I use the 64 bit Pro MSI installer and Wine 3.0 from the Ubuntu 18.04 repositories.

The installer worked flawlessly and both PDF-Tools and the Editor are fully functional. At least in so far as what can be expected under wine, no MS Office conversions, PDF Printer or desktop integration.

Because of the vagaries of wine I tend to use the wine explorer to navigate to files for and and launch wine applications. Maybe I am lazy, it "just works" for me.