Frescobaldi 2 and dependencies troubles

133 views
Skip to first unread message

Federico Bruni

unread,
Apr 3, 2011, 6:08:20 AM4/3/11
to Frescobaldi support
Hi,

I read on frescobaldi.org about the Frescobaldi 2 project on github.com.
I'm very curious about it so I tried to run it.

But I think I have some problems with dependencies.
I'm using Debian Wheezy (testing).

I've installed these packages so far:

python-qt4 libqt4-dev python-sip-dev libpoppler-qt4-dev libqt4-core
python-sip4-dev

When I try to run Frescobaldi I get this error:

$ ./frescobaldi
Object::connect: No such signal
QApplication::saveStateRequest(QSessionManager)
Object::connect: (sender name: 'frescobaldi')
Traceback (most recent call last):
File "./frescobaldi", line 2, in <module>
import frescobaldi_app.main
File "/home/fede/src/frescobaldi/frescobaldi_app/main.py", line 41, in
<module>
import session # Initialize QSessionManager support
File "/home/fede/src/frescobaldi/frescobaldi_app/session.py", line
100, in <module>
app.qApp.saveStateRequest.connect(saveState, Qt.DirectConnection)
TypeError: connect() failed between saveStateRequest(QSessionManager)
and unislot()


When I try to install python-poppler-qt4 I get this error:

$ python setup.py build
running build
running build_ext
building 'popplerqt4' extension
/usr/bin/sip -I /usr/share/sip -t POPPLER_V0_12_1 -c
build/temp.linux-i686-2.6 -b build/temp.linux-i686-2.6/poppler-qt4.sbf
-I /usr/share/sip/PyQt4 -x VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t
Qt_4_6_3 -x Py_v3 -g poppler-qt4.sip
sip: Unable to find file "QtCore/QtCoremod.sip"
error: command '/usr/bin/sip' failed with exit status 1


Can you help me?
Thanks!
Federico


Wilbert Berendsen

unread,
Apr 5, 2011, 8:34:01 AM4/5/11
to fresc...@googlegroups.com
Op zondag 03 april 2011 schreef Federico:

> Hi,
>
> I read on frescobaldi.org about the Frescobaldi 2 project on github.com.
> I'm very curious about it so I tried to run it.

That's very nice but F2 is VERY alpha atm :-) although it works very well
here. It's just not complete yet.

> But I think I have some problems with dependencies.
> I'm using Debian Wheezy (testing).
>
> I've installed these packages so far:
>
> python-qt4 libqt4-dev python-sip-dev libpoppler-qt4-dev libqt4-core
> python-sip4-dev
>
>
>
> When I try to run Frescobaldi I get this error:
>
> $ ./frescobaldi
> Object::connect: No such signal
> QApplication::saveStateRequest(QSessionManager)
> Object::connect: (sender name: 'frescobaldi')
> Traceback (most recent call last):
> File "./frescobaldi", line 2, in <module>
> import frescobaldi_app.main
> File "/home/fede/src/frescobaldi/frescobaldi_app/main.py", line 41, in
> <module>
> import session # Initialize QSessionManager support
> File "/home/fede/src/frescobaldi/frescobaldi_app/session.py", line
> 100, in <module>
> app.qApp.saveStateRequest.connect(saveState, Qt.DirectConnection)
> TypeError: connect() failed between saveStateRequest(QSessionManager)
> and unislot()

Probably you have a too old Qt version? Frescobaldi 2 needs Qt 4.7 and equally
recent PyQt4.

> When I try to install python-poppler-qt4 I get this error:
>
> $ python setup.py build
> running build
> running build_ext
> building 'popplerqt4' extension
> /usr/bin/sip -I /usr/share/sip -t POPPLER_V0_12_1 -c
> build/temp.linux-i686-2.6 -b build/temp.linux-i686-2.6/poppler-qt4.sbf
> -I /usr/share/sip/PyQt4 -x VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t
> Qt_4_6_3 -x Py_v3 -g poppler-qt4.sip
> sip: Unable to find file "QtCore/QtCoremod.sip"
> error: command '/usr/bin/sip' failed with exit status 1

Should belong to python-qt4-dev.

Please let me know if you can get F2 running!

best regards,
Wilbert Berendsen

--
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/

Federico Bruni

unread,
Apr 18, 2011, 6:16:18 PM4/18/11
to Frescobaldi
sorry for the late reply, I've just realized that I'm not receiving
emails from this group


On 5 Apr, 14:34, Wilbert Berendsen <i...@frescobaldi.org> wrote:
> Op zondag 03 april 2011 schreef Federico:
>
>
> > When I try to run Frescobaldi I get this error:
>
> > $ ./frescobaldi
> > Object::connect: No such signal
> > QApplication::saveStateRequest(QSessionManager)
> > Object::connect:  (sender name:   'frescobaldi')
> > Traceback (most recent call last):
> >   File "./frescobaldi", line 2, in <module>
> >     import frescobaldi_app.main
> >   File "/home/fede/src/frescobaldi/frescobaldi_app/main.py", line 41, in
> > <module>
> >     import session          # Initialize QSessionManager support
> >   File "/home/fede/src/frescobaldi/frescobaldi_app/session.py", line
> > 100, in <module>
> >     app.qApp.saveStateRequest.connect(saveState, Qt.DirectConnection)
> > TypeError: connect() failed between saveStateRequest(QSessionManager)
> > and unislot()
>
> Probably you have a too old Qt version? Frescobaldi 2 needs Qt 4.7 and equally
> recent PyQt4.
>

I have:

libqt4-dev, version 4.7.2-3
python-qt4-dev, version 4.8.3-2

(debian wheezy)


> > When I try to install python-poppler-qt4 I get this error:
>
> > $ python setup.py build
> > running build
> > running build_ext
> > building 'popplerqt4' extension
> > /usr/bin/sip -I /usr/share/sip -t POPPLER_V0_12_1 -c
> > build/temp.linux-i686-2.6 -b build/temp.linux-i686-2.6/poppler-qt4.sbf
> > -I /usr/share/sip/PyQt4 -x VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t
> > Qt_4_6_3 -x Py_v3 -g poppler-qt4.sip
> > sip: Unable to find file "QtCore/QtCoremod.sip"
> > error: command '/usr/bin/sip' failed with exit status 1
>
> Should belong to python-qt4-dev.
>

yes, I installed that package and I could install poppler-qt4.

However, when I launch Frescobaldi I keep getting the same error
above.

Federico Bruni

unread,
May 24, 2011, 1:54:04 AM5/24/11
to Frescobaldi
just a quick note for the archives: it works fine now (maybe some
debian package update fixed the problem)
now I'm able to test it :-)

Wilbert Berendsen

unread,
May 24, 2011, 1:03:48 PM5/24/11
to fresc...@googlegroups.com
Op dinsdag 24 mei 2011 schreef Federico:

> just a quick note for the archives: it works fine now (maybe some
> debian package update fixed the problem)
> now I'm able to test it :-)

The problem you reported appeared to be a bug in PyQt4.8, I reported it to
their list and it ''l be fixed in the next release. So thanks ! ;-)

I worked around it by using a different statement in Frescobaldi.

Development is quite active while I try to keep master as stable as possible.
So often git clone!

Reply all
Reply to author
Forward
0 new messages