Comments (21)
I have to find a way to add python libs to the appimage.
from scribus-indigo.
@probonop please advise
from scribus-indigo.
err i meant @probonopd
from scribus-indigo.
is there anything I can add to the command?
why can't it use my python libs?
from scribus-indigo.
Which version of Python is installed on your system?
from scribus-indigo.
python-2.7.12
from scribus-indigo.
That is strange. I assume that Python is working outside of the AppImage?
from scribus-indigo.
Of course. Maybe it has something to do with setting system variables?
from scribus-indigo.
Possibly. Although we are only prepending to $PYTHONPATH
which normally should not hurt if I am not wrong.
from scribus-indigo.
Maybe I'm getting somewhere.
In the konsole, I typed "export PYTHONHOME=/usr/lib/python2.7" then ran the appimage again.
Now the only warning before crash is "No module named site"
??
from scribus-indigo.
Can't seem to get around this No module named site.
Ideas from googling are not helping.
I can find a "site.py" in /usr/lib64/python2.7/, but not in /usr/lib/python2.7/.
Perhaps that's the reason, but seems insurmountable.
from scribus-indigo.
TA-DAAAAA!
Here is what I needed to do in command line:
export PYTHONPATH=/usr/lib64/python2.7
from scribus-indigo.
Ah, interesting! Is PYTHONPATH set to something by default in your distribution?
from scribus-indigo.
Must be set to something wrong, but it didn't seem to be set to anything.
When I entered $PYTHONPATH in the commandline, got nothing.
As I check this out, it seems that PYTHONPATH is where the system looks for extra modules. It looks like, at least in fedora 24, /usr/lib/python2.7 has a different structure from /usr/lib64/python2.7. In the former, /usr/lib/python2.7 has no modules, only the directory site-packages, in the latter, there a lot of modules in /usr/lib64/python2.7 (is the appimage 32-bit? Maybe that's the issue.)
BTW, I tried creating a symbolic link to site.py, but then it complained it couldn't find the module os)...
So now I've edited my .bashrc file to make it stick.
from scribus-indigo.
Would still be nice to find a solution that solves this inside the AppImage. One solution would be to bundle Python and its standard library inside the AppImage, thus becoming entirely independent from the system Python. This type of issue comes from the fact that every distribution insists on naming stuff slightly differently and putting stuff into slightly different places. One reason more why I like upstream packaging, where I can consume software exactly in the way the original authors intended.
from scribus-indigo.
A side effect seems to be that if I run this appimage, then my "regular" Scribus builds can't find python.
I think I'll just stay with the building my own method.
from scribus-indigo.
using the latest appimage from Nov 16, everything seems to work Ok now. There was a problem with icons not being found, and this is fixed now too.
The Scribus Light theme doesn't work for me, since the icons are almost impossible to see against the background. Dark and Darker work Ok.
from scribus-indigo.
Did you switch the icon set to dark as you use the light theme? You can set themes and icons independent. Default is dark theme and light icons.
from scribus-indigo.
can we close this issue guys ?
from scribus-indigo.
Yes, we can.
from scribus-indigo.
hello, i just got the same error on Fedora 26, the above mentioned command helped and solved it, thanks :)
from scribus-indigo.
Related Issues (20)
- Opening disabled folds in Properties - single and double clicks. HOT 1
- Program hangs when opening script dialog without open document HOT 5
- Add theme issues here HOT 3
- OSX TravisCI build fails because it exceeds compilation time HOT 4
- Make ~/.config/scribus-indigo/ the default prefs dir HOT 3
- text properties to content palette HOT 1
- Proposal: color ramps HOT 1
- Workspace loader can't handle missing entries in prefs file HOT 2
- floating toolbar after reopening scribus HOT 3
- Build warnings for e308a9e
- Per the scribus-indigo wiki style guide philosophy: uniformity of the delete button HOT 1
- Docs on how to customize Scribus HOT 5
- Error while compiling with qt 5.8 rc HOT 3
- Take a look at QCAD dock HOT 3
- setting font sizes in the preferences changes theme
- Could not find a package configuration file provided by "Qt5Core"
- doesn't compile on poppler 0.60 HOT 2
- Build error with recent versions of icu
- AppImage doesn't work; some iconmanager error when compiling HOT 1
- Compiling in Manjaro AUR HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scribus-indigo.