0 votes

Hello,

At installation I’m getting the error “This program can only be installed on versions of Windows designed for the following processor architectures: x64”

I’m running windows 11 through Parallels on a new mac. It turns out the processor type is “arm-based”. Is this an issue that’s easily resolvable? I realize this probably doesn’t affect many other users, but other SIL software has worked fine for me so far.

Any help would be appreciated, thanks!

PTXprint by (128 points)

6 Answers

0 votes

From what I can read, Parallels only supports ARM virtual machines.

One option is to use QEMU virtualization that can support x84-64 OSs.
I can’t test as my Mac is Intel.

by (112 points)

I also don’t have an ARM machine and so can’t test, but my understanding was that Windows 11 (but not earlier versions) would emulate x86 and x64 architecture in ARM.

This page indicates that that is true, though it does say that x64 is only available on builds later than 21277. It also seems to say that no extra setup is necessary–it should just work.

0 votes

Ok, I’ve tried a few things like activating/updating Windows 11 to the latest build (22000), but still no change. I’m a little intimidated by what I can see of QEMU – I think out-of-the-box software like Parallels is more my level for the most part.

If you have time and want my feedback to troubleshoot I’m happy to collaborate, otherwise I’ll probably just sit on it for now.

by (128 points)
0 votes

If the desire is to get ptxprint working (rather than parallels) then the step-by-step components would be:

  1. A XeTeX installation
  2. Python-3 with relevant libraries, including gtk (3 I think)
  3. A pdf viewer
by (737 points)

Sorrry, I forgot to say (if it’s not clear from my reply)… ptxprint is cross platform.

As a test, I’ve just been playing on a headless ARM-based NAS box (odroid HC1), running devuan linux, and it looks like it should be fully functional with a bit more love and care (not having all the right fonts or paratext installed on the machine makes things bit harder!)

Hi David,

Sorry, you’d need to spell it out for me a little more. I would install Livetex or something and Python 3 on my Windows 11 virtual PC and then it would just work or what?

I’m thinking it’s probably easiest just to borrow another work computer to print scripture. Thanks for checking into it!

0 votes

Sorry for being too brief (and it seems that emailing a reply doesn’t work).
I was suggesting that you might be able to run ptxprint natively and ignore the whole parallels mess.
I really don’t know, I’ve not used any apple product since about 1998.

If google tells you than someone has worked out how to run glade / gtk-based applications written in python3 on your machine, and you can find a XeTeX distribution for your device, then there’s no need to go to parallels. It’s all cross-platform, open-source software, after all. I think it really depends on how hard Apple have made it to run GTK-based apps natively.

Failing that, maybe there’s a way you can run a linux virtual machine? PTXprint certainly runs on linux.

by (737 points)
0 votes

@Matt - Apologies for the long delay, but if you are still interested, there’s an untested build available at this link which allows the installer to run on ARM64 machines as well.

Are you in a position to test this out and let us know if this works (i.e. installs and then runs successfully)? If so, any feedback would be much appreciated (as none of us developing PTXprint has access to a machine with an ARM processor).

by (2.6k points)

@mjpenny - Thanks for following up. I was able to install and it appears to run fine! I haven’t been able to do a test print though because I’m getting an undefined control sequence error, which I’m guessing is unrelated.

It says it’s probably because of an unsupported usfm marker but if so I don’t see it.

line 28 looks like this:

\s1 ᒋᓴᐢ ᑲᐃᐧᒋᐦᐃᑯᓈᐣ

PTXprint [2.2.43] - Error!
Failed to create: OJCPub_Oji-Creev2022_1JN-3JN_ptxp.pdf
! Undefined control sequence.
\pl@inoutput …\pdfpageheight \holdXobjectsfalse
\shipwithcr@pmarks {#1}\pd…
\whichtrial …pt 1\else 0\fi \fi =1 \plainoutput
\trace {p}{plainoutput fro…
{\whichtrial
}
\p@r …kips {\styst@kfirst }\fi \fi \fi \endgraf
\ifvmode \ifinn@te \else .…
\endit@P …xpos }{\the \pdflastypos }}\endL \p@r
\ifvmode \else \ifinner \t…
\d@ …ex pop endit@#1}\csname endit@#1\endcsname
\else \trace {sa}{Simple p…

l.28 \s1
ᒋᓴᐢ ᑲᐃᐧᒋᐦᐃᑯᓈᐣ

This might be related to a USFM marker error (using an unsupported marker).
Try running ‘Basic Checks’ in Paratext to validate markers.

PTXprint Version 2.2.43

0 votes

Hmm. Yes, that’s entirely unrelated, and worrying too. [pause]

Right, I’ve tracked down the issue and pushed a fix.
Hopefully the next auto-build ought to work.

by (737 points)

Thanks David, I downloaded the new version this morning and it works great.

Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
So Peter was kept in prison, but the church was earnestly praying to God for him.
Acts 12:5
2,628 questions
5,369 answers
5,045 comments
1,420 users