View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0016769 | Scribus | Scripter | public | 2022-03-07 23:18 | 2024-01-29 16:32 |
Reporter | scampi | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | MAC M1 | OS | Montery | OS Version | 12.2.1 |
Summary | 0016769: Shows the wrong system which causes a lot of following errors | ||||
Description | Scribus 1.5.8 The internal Python of Scribus gives back the wrong OS | ||||
Steps To Reproduce | Alternative 1. Goto scripter console run : import platform platform.processor() In scripter its "i386" in python3 console it is "arm" on MAC M1 But I do not know wether this is responsible for my use case problem ---> Alternative 2 is more complicated but describes the problem the problem The error comes when "from PIL import Image" is called Alternative 2. (which is the use case) Install Pillow on Your maschine, add the path to the lib in your code (Ticket 0016768) Run in Your code a command which needs pillow. (pillow has native extensions and is OS dependent) Error : Traceback (most recent call last): File "/Users/ek/Documents/py/morePages.py", line 6, in <module> from PIL import Image File "/opt/homebrew/lib/python3.9/site-packages/PIL/Image.py", line 89, in <module> from . import _imaging as core ImportError: dlopen(/opt/homebrew/lib/python3.9/site-packages/PIL/_imaging.cpython-39-darwin.so, 0x0002): tried: '/opt/homebrew/lib/python3.9/site-packages/PIL/_imaging.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/lib/_imaging.cpython-39-darwin.so' (no such file) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<string>", line 11, in <module> File "<string>", line 8, in <module> File "/Users/ek/Documents/py/morePages.py", line 8, in <module> messageBox("", "This script requires the Python Image Library") NameError: name 'messageBox' is not defined | ||||
Tags | scripter python libs Mac M1 | ||||
Patch | No | ||||
|
Scribus 1.5.8 is only built on Intel. We will not have a native M1 build in the 1.5.x series. It works in the 1.7.x series though we have not made a release yet. |
|
I'm testing a 1.7.0 bundle build for dmg svn release... should be ok on the weekend |
|
1.6.1 is available in Intel and Apple Silicon versions |
|
@scampi ^ |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-03-07 23:18 | scampi | New Issue | |
2022-03-07 23:18 | scampi | Tag Attached: scripter python libs Mac M1 | |
2022-03-08 19:15 | jghali | Project | Contributor Builds => Scribus |
2022-03-08 19:16 | jghali | Priority | urgent => normal |
2022-03-08 19:16 | jghali | Severity | block => minor |
2022-03-08 19:16 | jghali | Category | General => Scripter |
2022-03-09 19:21 | cbradney | Note Added: 0049591 | |
2022-06-02 21:08 | cbradney | Note Added: 0049672 | |
2024-01-08 20:48 | cbradney | Note Added: 0050852 | |
2024-01-29 16:32 | luzpaz | Note Added: 0050950 |