After 14 months of very heavy development I am happy to announce
Frescobaldi 2.0, which is a full rewrite of Frescobaldi 1.x and not
dependend on KDE anymore, which makes it usable on all platforms
supported by Python and PyQt4.
Most well-known features of the 1.x line are there and some new as
well: the built-in MIDI player, two-way point and click, and smart
snippets/templates that can also contain Python scripts. Missing is
Rumor support but native MIDI input and import is planned.
Get it via http://www.frescobaldi.org/ , which on its Download page also
lists the required dependencies.
Sincere thanks go to all early testers and translators!
Merry Christmas and a happy 2012!!
Wilbert Berendsen
This is the first time I try to install and use Frescobaldi. Inspite
of having all prerequisites, the program issues
Could not load the popplerqt4 module.
Ideas?
Werner
> After 14 months of very heavy development I am happy to announce
> Frescobaldi 2.0, which is a full rewrite of Frescobaldi 1.x and not
> dependend on KDE anymore, which makes it usable on all platforms
> supported by Python and PyQt4.
Fantastic! I must be missing something obvious... how to uninstall old
versions? I thought there was an uninstall command for setup.py before
but doesn't seem be one now.
--
Brett W. McCoy -- http://www.brettwmccoy.com
------------------------------------------------------------------------
"In the rhythm of music a secret is hidden; If I were to divulge it,
it would overturn the world."
-- Jelaleddin Rumi
Thanks, but this isn't the problem. On my box, I have
/usr/local/lib/python2.7/site-packages/popplerqt4.so
and `strace' shows that Frescobaldi finds the library and tries to
open it:
open("/usr/local/lib/python2.7/site-packages/popplerqt4.so", O_RDONLY|O_LARGEFILE) = 13
fstat64(13, {st_mode=S_IFREG|0755, st_size=6397207, ...}) = 0
open("/usr/local/lib/python2.7/site-packages/popplerqt4.so", O_RDONLY) = 14
read(14, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3604\1\0004\0\0\0"..., 512) = 512
...
Werner
Werner LEMBERG a �crit :
> open("/usr/local/lib/python2.7/site-packages/popplerqt4.so", O_RDONLY|O_LARGEFILE) = 13
> fstat64(13, {st_mode=S_IFREG|0755, st_size=6397207, ...}) = 0
> open("/usr/local/lib/python2.7/site-packages/popplerqt4.so", O_RDONLY) = 14
> read(14, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3604\1\0004\0\0\0"..., 512) = 512
> ...
>
Are you sure it's not a 32/64 bits issue (i.e. that the popplerqt4.so
binary is of the same type as the python executable in that respect?).
Also make sure the popplerqt4.so library is not missing a dependency by
checking that
ldd popplerqt4.so
Does not return any unfound library.
Regards,
Richard.
I have seen this one asked before. There is no "make uninstall." You can
simply overwrite the old one. There is a file somewhere in the installation
directory listing the steps in the installation. Apparently you can unwind
the installation using that file as a guide. I simply delete the subdirectory
in /usr/lib or /usr/share. The executable in /usr/bin will be overwritten
anyway.
HTH,
Doug
I never build and install Frescobaldi.
Anyway, I remember that you can generate a file listing all the files installed,
so you know what you can manually remove.
I can't remember exactly how it works.
Maybe you can find it in the doc:
On Mon, Dec 26, 2011 at 5:07 AM, Wilbert Berendsen <wbs...@xs4all.nl> wrote:After 14 months of very heavy development I am happy to announce Frescobaldi 2.0, which is a full rewrite of Frescobaldi 1.x and not dependend on KDE anymore, which makes it usable on all platforms supported by Python and PyQt4.Fantastic! I must be missing something obvious... how to uninstall old versions? I thought there was an uninstall command for setup.py before but doesn't seem be one now.
> I couldn't initially get this to work under ubuntu if I relied on apt-
> get for the dependencies. It worked if I went to the site of each
> dependency, downloaded the latest version and installed it manually. I
> recommend installing sip before QT or PyQt. and yes, it took ages...
There are PPAs for just about everything else you need. install the Y
PPA Manager application, you can search on package names and the repos
will be automatically added and then you should be able to install via
apt or synaptic.
Helge
--
Frescobaldi homepage: http://www.frescobaldi.org/
Mailing list: http://groups.google.com/group/frescobaldi
The Debian packager is subsribed to this list and he's working on it:
http://groups.google.com/group/frescobaldi/browse_thread/thread/a600b674b05b0114/c4ffbef802784a2c?lnk=gst&q=debian+unstable#c4ffbef802784a2c
Maybe he could announce here when the two packages (frescobaldi and
python-poppler-qt4) are uploaded to unstable.
Otherwise, we can check here:
http://packages.debian.org/search?searchon=names&suite=all§ion=all&keywords=frescobaldi
> But types.StringType is 'str' not 'unicode'. I don't know, if I can
> convince Python to run in non-unicode mode if possible at all.
>
> Any help is appreciated.
This is a bug in early Python 2.7.1, it should be fixed in current 2.7
releases!
So upgrading Python should help.
--
Wilbert Berendsen
(http://www.wilbertberendsen.nl)
> C:\Temp\poppler\python-poppler-qt4-0.16.2>python setup.py build
> Traceback (most recent call last):
> File "setup.py", line 29, in ?
> import subprocess
> File "C:\Program Files (x86)\LilyPond\usr\lib
> \python2.4\subprocess.py", line 352, in ?
> import msvcrt
> ImportError: No module named msvcrt
>
> C:\Temp\poppler\python-poppler-qt4-0.16.2>
>
It seems Python 2.4 (which is included with LilyPond) is used instead
of the one Frescobaldi is using.
So use:
c:\Python27\python setup.py build
You need a C compiler.
But instead of the source package for python-poppler-qt4 you can also
use one of the experimental binary packages created by another user of
the python-poppler-qt4 module, see:
http://code.google.com/p/python-poppler-qt4/issues/detail?id=5
They are mentioned in comment #3.
Install the .exe or .msi and then also add the directory C:\Python27 to
the PATH, so the poppler-qt4.dll is found.
> I've made a little presentation in French of the version 2 on my blog
> http://www.pianopenguin.net/index.php?post/2011/12/20/Frescobaldi-2
> (published on Ubuntu Planet and Planet Libre too).
Nice!!
> I've a little suggestion for next release. It would be interesting to
> improve the search/replace system with by example an option to apply
> the replace function only on selection.
It is already possible!
Although the found places are highlighted everywhere, if a selection is
active, the 'replace all' button only applies to the selection!
I should make this more visible indeed :)
On Wed, Dec 28, 2011 at 10:53:37AM +0100, Federico Bruni wrote:
> Maybe he could announce here when the two packages (frescobaldi and
> python-poppler-qt4) are uploaded to unstable.
The two packages are ready and I'll upload them within the next couple
of days (I'm waiting for the Debian Accounts Manager to create my
account so that I can upload it myself, otherwise, I'd have to hunt down
a sponsor and it would take a few days to have it reviewed regardless).
Meanwhile, you can find the source and binary packages here[0]. Note
that the binary package for python-poppler-qt4 only exists for i386,
we'll have to wait until I upload to unstable for other architectures to
get compiled (unless someone would like to volunteer to build the
package on other architectures meanwhile).
Best wishes,
Ryan
[0] http://people.ubuntu.com/~ryanakca/frescobaldi_2.0/
--
|_)|_/ Ryan Kavanagh | GnuPG key
| \| \ http://ryanak.ca/ | 4A11C97A
Matthew Probst a �crit :
> I finally got this to run on my home machine, without any
> compilation. Hopefully this is enough to tide over the Windows users
> until such time as python-poppler-qt4 is compiled against PyQT 4.9.
>
> What I did:
>
> * Download and install Python 2.7.2 from the main Python site
> * Download and install PyQT 4.8.6 for Python 2.7 (x86), from this
> link:
>
> http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyqt
>
> * Download and install python-poppler-qt4 from this link:
>
> https://home.in.tum.de/~lorenzph/python-poppler-qt4/
[...]
Wilbert, given the difficulties for people on windows to gather the
various prequisites to run frescobaldi it would probably be a good idea
to have them distributed from your site as a last resort.
Or play with one of the various python exe generator out there...
Regards,
Richard.
Dear Ryan,
please, could you eventually upload the packages on Launchpad? And,
if I can ask, for 64 bit architectures too? :-) I'm now using Ubuntu
11.11 Oneiric Ocelot.
Thank you!!!
Luca
--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
Sponsor:
Conto Arancio al 4,20%. Soldi sempre disponibili, zero spese, aprilo in due minuti!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11920&d=29-12
On Thu, Dec 29, 2011 at 01:08:14PM +0100, Luca Rossetto Casel wrote:
> please, could you eventually upload the packages on Launchpad?
> And, if I can ask, for 64 bit architectures too? :-) I'm now using
> Ubuntu 11.11 Oneiric Ocelot.
Of course, they're in ppa:ryanakca/frescobaldi and are available for
Oneiric and Natty. You can track build progress across architectures
here[0].
Best wishes,
Ryan
Matthew Probst a �crit :
> I do have a copy of all these files stashed away. I could provide
> them on request, unless/until they're hosted elsewhere. That access
> would probably be through a username/password distributed here. I
> don't mind if a few hundreds of people download from there, the files
> are small. I just don't want it crawled and to get a massive increase
> in traffic there, so I'd want to keep it to people on this list.
In a longer term having those available alongside frescobaldi itself is
probably a better idea. We *do* want other people using it don't we? ;)
> My long-term goal is to see a Windows installer that includes all the
> prerequisites. There are two approaches that one can take--
> integrating it with the system Python install, or creating a self-
> contained directory with all prerequisites included.
>
> I see the advantage of integrating with system Python, but that can
> only be done if the dependency on PyQT 4.8 branch is eliminated, by
> compiling the Poppler library against the newer PyQT. That would have
> to be a continuous effort, to keep them in sync with each other as the
> various libraries increase in version number.
The trouble is, there is no such thing as "the system python" on
Windows. So keeping track of various versions of python, PyQt and
popplerqt4, is going to be a nightmare.
I would vote for a self-contained package (or a python executable from
py2exe or pyinstall) anytime just to avoid the hassle. And let the
adventurous use the current package and deal with the dependencies
themselves.
Remember, your average Windows user usually expects things to work out
of the box, and usually have less means to correct an error (most
windows users will not have a compiler, and most would not know how to
use one either...).
In my case: I can do almost anything on Linux, be that installing,
compiling, debugging, packaging if needed, but on windows my capacity is
limited by the fact this is my home machine, used for mail, document
editing, gaming and little else. I do have eclipse and a python dev env
installed, but that's as far as it will get.
> It might be easier at
> first to just create a self-contained package. In that case I
> wouldn't mind so much if an old PyQT and Poppler library are used on
> Windows, as long as they're accessed from inside the self-contained
> package instead of the system Python. The point being that I'd love
> to have my system Python up to date with the latest PyQT, but can't
> easily do that right now if I want to use Frescobaldi.
From a maintainability point of view it also reduces the number of
divergent installations out there, making it easier to track down any
issue...
Regards,
Richard.
Wilbert, Frescobaldi 2 is a great piece of software! Thanks!
Best whishes,
Luca
--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
Sponsor:
Conto Arancio al 4,20%. Soldi sempre disponibili, zero spese, aprilo in due minuti!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11920&d=30-12
> TypeError: expected string or buffer
This seems to occur in the most recent PyQt4/sip versions
in python-poppler-qt4 (PyQt 4.9 and sip 4.13) both linux and windows.
I must debug this!
I think for a Windows installer py2exe (py2exe.org) is the way to go.
Some issues must be resolved, but then py2exe can assemble one directory
that contains Python, PyQt4, Poppler and PortMIDI.
Main things that need to be sorted out:
- frescobaldi_app should not be zipped or put in the .exe as it
contains data files and I don't really want to change that, because
they are also accessed via the Qt resource dirs, which works simple
and fast.
- carefully check that all needed Python library modules are there
- Using Inno or NSIS a simple installer then should be created that
install all of Frescobaldi in one go.
So the py2exe building class should probably be subclassed, because by
default py2exe dumps everything either in the .exe or in a library.zip.
Or all modules must be copied to dist manually before calling the
NSIS/Inno installer and set to be ignored by py2exe.
Anyhow, there will be a route.
Thats a great christmas present, thank you!!
Have you considered creating an installer with bundled Python and
other dependancies? Technically unexperienced users might have
problems with installing them.
cheers,
Janek
Wilbert Berendsen a �crit :
> I think for a Windows installer py2exe (py2exe.org) is the way to go.
Or PyInstaller. Both of them are pretty similar, but pyinstaller has
also some support for MacOS.
>
> Some issues must be resolved, but then py2exe can assemble one directory
> that contains Python, PyQt4, Poppler and PortMIDI.
>
> Main things that need to be sorted out:
> - frescobaldi_app should not be zipped or put in the .exe as it
> contains data files and I don't really want to change that, because
> they are also accessed via the Qt resource dirs, which works simple
> and fast.
It all depends how these files are accessed from frescobaldi itself. If
it is not too much of a problem to have them accessed relative to the
exe path, then you can have the exe on one hand and a shadow version of
the source tree with the data files on the other. Or better, have a data
directory alongside the code and segragate source and data files.
Regards,
Richard.