New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V2/3 Py2/3 issues #818
Comments
did you use |
Actually I didn't use setup.py at all because so far I had always just pulled from github and restarted Frescboaldi. Now doing setup with Python3 (and sudo) obviously adds frescobaldi as a module to my local Python 3.4 installation and installs a starter script as a systemwide file. Is that correct? And doesn't that mean that I will always have to rerun install now after pulling any changes or even after changing anything in the files themselves? Anyway, now Frescobaldi uses python3 but immediately quits with the "memory access error" |
Hm, somewhat closer: Now that it uses Python 3 I always get that error when anything is checked out starting with 502bffb "merge branch qt5". Somehow I have the impression it is an issue in my Python/Qt system. |
setuptools/distutils adjust the |
OK, now I have a completely new system and have arrived at exactly the same point. Initially Then in installed
Now running
I'm stumbling over I could previously work with python2 when checking out the 2.19 branch. But actually I don't want to install the PyQt4 and Python2 stuff anymore. So right now I can't use Frescobaldi at all. Any ideas? |
Narrowed it down: the Memory Access Error happens in Does this help? |
I noticed the following, seemingly strange, thing:
|
|
Yes, but at least in my case |
Indeed, |
This is related to #826 but somewhat different, so I didn't want to "pollute" that other issue. I have now fiddled around quite some more with However, it seems to be related to m.addAction(ac.file_open) work while any call with a reference to m.addMenu(snippet.menu.TemplateMenu(mainwindow))
# or
m.addAction(panelmanager.manager(mainwindow).snippettool.actionCollection.file_save_as_template) |
which python3, sip and pyqt5 versions are you using? |
Copied from a few comments above:
|
Hi Urs, Re this above:
I am now getting the same thing on Debian 8.4, so we are at least converging on the location of the issue. I have no idea how to solve this, but since it does not occur on Ubuntu or openSUSE, it may be a Debian specific Qt5 issue I suspect. Are you on Mint, rather than pure Debian? There are of course differences between those two distros. |
I don't have much luck either getting Frescobaldi v3 (Python 3, Qt5) to work in Linux Mint 2 "Betsy" (tracking Debian Jessie). While I get different errors depending on how complete I have installed Frescobaldi's dependencies, or on what command-line arguments I give (e.g. Perhaps there is some kind of incompatibility with the older Python 3, Qt5, PyQt5 and SIP in Debian jessie? Or perhaps it is yet another ABI error that requires rebuilding? That I do not yet know. Until a solution is found, I recommend installing Debian stretch (testing) in VirtualBox. Frescobaldi v3 runs nearly perfectly in Debian stretch/sid, and all of Frescobaldi 3's dependencies, including python3-poppler-qt5 and python3-ly, are already packaged, so the only thing that needs to be downloaded is Frescobaldi itself, from GitHub. |
I have done a slightly different workaround by installing Ubuntu MATE 16.04 on an empty partition of my hard disk. I've written a report of what was necessary to install Frescobaldi on that clean distribution and added it here: https://github.com/wbsoft/frescobaldi/wiki/Running-Frescobaldi-3-From-Source-Git-(Linux) I think this information is useful, and so I'd ask anyone to review and possible improve or extend it. |
As Frescobaldi 3 seems to run fine in "modern" distros... it looks like a stale issue. Should be closed? |
BTW @fedelibre thank you for going through these old issues. |
I've some issues starting shortly after having managed to set up Frescobaldi 3.
Having pulled the latest commits from
master
Frescobaldi stopped working withWhich leads me to believe that it is still running with Python2, as running
frescobaldi
after checking out 9ae66b3 still works.Which leads me to ask how Frescobaldi ensures being run with Python3 when in the main
frescobaldi
entrance file it still says#!/usr/bin/env python
?However, running
python3 frescobaldi
from latest master exits immediately, saying only "Speicherzugriffsfehler" (~ memory access error).The text was updated successfully, but these errors were encountered: