Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
python/ruby: Qt4-Bindings wollen nicht mehr [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Thu Aug 09, 2007 9:15 pm    Post subject: python/ruby: Qt4-Bindings wollen nicht mehr [solved] Reply with quote

Hallo,

Mich wurmt schon längere Zeit, dass meine Qt4-Bindings für Ruby nicht mehr wollen. Ich hab hierzu keine Lösung gefunden.
Drum hab ich es erst mal ad acta gelegt.
Beim heutigen update kam nun PyQt4-4.3 auf die Platte. Nun hab ich das selbe Problem auch mit python :(

Bei ruby lautet der Fehler:
Code:
$ ruby main.rb
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- qtruby4 (LoadError)
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /usr/lib/ruby/site_ruby/1.8/Qt4.rb:5
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'


Für python:
Code:
$ eric4
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/eric4/eric4.py", line 20, in ?
    from PyQt4.QtCore import QTextCodec, SIGNAL, SLOT, qWarning, \
ImportError: No module named PyQt4.QtCore


Wie man sieht werden die entsprechenden module nicht gefunden. Hab leider hier keine Ahnung wie ich das wieder hinbekomme.
revdep-rebuild findet auch nix...
Ob andere Python/Ruby-Module betroffen sind weiß ich nicht. Halt, pygtk neu emerged, portato startet noch...

Hier noch die einzelnen Versionen:
Code:
x11-libs/qt-4.3.1
dev-python/PyQt4-4.3
dev-ruby/qt4-qtruby-1.4.9
dev-lang/python-2.4.4-r4
dev-lang/ruby-1.8.6_p36-r3


Erneutes installieren aller betroffener Pakete brachte keine Besserung.
Ich freu mich über jeden Tip!!


Grüße
Franz


Last edited by franzf on Fri Aug 10, 2007 6:55 am; edited 1 time in total
Back to top
View user's profile Send private message
Necoro
Veteran
Veteran


Joined: 18 Dec 2005
Posts: 1912
Location: Germany

PostPosted: Fri Aug 10, 2007 12:49 am    Post subject: Reply with quote

PyQt4:
Ist ein Bug im ebuild https://bugs.gentoo.org/show_bug.cgi?id=188287

(wie das mit ruby aussieht weiß ich aber nicht)
_________________
Inter Deum Et Diabolum Semper Musica Est.
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Fri Aug 10, 2007 5:51 am    Post subject: Reply with quote

Wow, vielen lieben Dank :)
PyQt4 klappt wieder. Und qt4-qtruby hab ich auch wieder hinbekommen.
Durch das Auftreten der Fehler bei beiden Bindings hab ich halt erstmal an einen Fehler in Kombination mit Qt4 selbst gedacht.

Bei ruby war es ein Fehler in cmake-2.4.7 (mit Versionen <2.4.7 gibts keine Probleme)...
Ist schon Klug nicht die Library selbst sondern nur den Symlink auf diese zu installieren.... Tz
Patch dafür gefunden, Bugreport werd ich gleich ausfüllen :)

Glückliche Grüße
Franz

P.S.:
Wenn du eh schon Qt4 installiert hast kannste dir ja mal eric4 aus b.g.o installieren. Ist eine python-ide komplett in python geschrieben, vllt. gefällts dir ja ;)
Back to top
View user's profile Send private message
Necoro
Veteran
Veteran


Joined: 18 Dec 2005
Posts: 1912
Location: Germany

PostPosted: Fri Aug 10, 2007 6:14 am    Post subject: Reply with quote

franzf wrote:
P.S.:
Wenn du eh schon Qt4 installiert hast kannste dir ja mal eric4 aus b.g.o installieren. Ist eine python-ide komplett in python geschrieben, vllt. gefällts dir ja ;)

Hab mal eric3 ausprobiert und hat mir nicht gefallen ;) (PIDA war da schon eher was, da sie ViM als Editor einbinden ...) - aber ich probier eric4 mal und schau ob sich da was getan hat ;)

/edit: Eric4 ist zu stark auf Qt geeicht ... wenn man nicht mit PyQt arbeiten will, kann man nur einen Teil seiner Funktionalität nutzen ... (und es fehlen mir die ViM-Befehle ;)) ... *weiter auf PIDA hoff*
_________________
Inter Deum Et Diabolum Semper Musica Est.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum