WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: treeline  (Read 4278 times)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
treeline
« on: June 11, 2009, 06:31:12 PM »
Thanks to robc for treeline:

Code: [Select]
Title:          treeline.tcel
Description:    Structured information storage
Version:        1.2.3
Author:         Doug Bell
Original-site:  http://treeline.bellz.org/
Copying-policy: GPL
Size: 664.1k
Extension_by:   robc
Comments:       This package requires qt-4.2.2, sip,
python, glib2, Xlibs_support, fontconfig, pyqt,
ispell, and expat2.


----------------------------------------------

Please see the man page for additional
information.

Also see http://treeline.bellz.org/
for more information.

----------------------------------------------

This extension is PPI compatible.

Change-log:     2009/6/11 Original
Current: 2009/6/11 Original


Code: [Select]
Title:          treeline.tczl
Description:    Structured information storage
Version:        1.2.3
Author:         Doug Bell
Original-site:  http://treeline.bellz.org/
Copying-policy: GPL
Size: 684k
Extension_by:   robc
Comments:       This package requires qt-4.2.2, sip,
python, glib2, Xlibs_support, fontconfig, pyqt,
ispell, and expat2.


----------------------------------------------

Please see the man page for additional
information.

Also see http://treeline.bellz.org/
for more information.

----------------------------------------------

Change-log:     2009/6/11 Original
Current: 2009/6/11 Original


Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: treeline
« Reply #1 on: June 26, 2009, 02:39:31 PM »
Thanks to robc for an update for permissions and menu/icon bugs.

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: treeline
« Reply #2 on: July 30, 2009, 04:52:29 PM »
needs libQtCore.so.4, but after loading qt-4.5-base.tczl I get:

Code: [Select]
    from PyQt4 import QtCore, QtGui
ImportError: /usr/local/lib/libQtGui.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv


Curious...did anyone check this extension? 

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: treeline
« Reply #3 on: July 30, 2009, 05:27:55 PM »
this extension depends on qt-4.2.2 and has not been tested with qt-4.5
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: treeline
« Reply #4 on: July 30, 2009, 08:20:20 PM »
this extension depends on qt-4.2.2 and has not been tested with qt-4.5

With qt-4.2.2 I'm getting:
Code: [Select]
Traceback (most recent call last):
  File "/usr/local/lib/treeline/treeline.py", line 33, in <module>
    from PyQt4 import QtCore, QtGui
ImportError: libQtCore.so.4: cannot open shared object file: No such file or directory

edit: it seems to want libQtCore in /usr/lib, but then I get the other posted error. 
« Last Edit: July 30, 2009, 09:11:19 PM by jpeters »

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: treeline
« Reply #5 on: July 31, 2009, 12:03:47 PM »
The qt libraries are not being found by pyqt because they are not in your library path. Adding /usr/local/lib/qt-4.2.2/lib to /etc/ld.so.conf fixes this problem. This is stated in the pyqt info file.

It looks like pyqt cannot use qt-4.5 due to the undefined symbol, they must have taken something out. When I get the time I'll rebuild sip, pyqt, and treeline against qt-4.5 so the library path won't have to be changed

Quote
it seems to want libQtCore in /usr/lib
This may be due to some linking problems that I had to get around when building pyqt. I'm not sure if it was qt-4.2.2 or if it was pyqt's source that was having problems but it seemed to change from looking in /usr/local/lib to /usr/lib (even when I specifically told it to look in /usr/local/lib). To work around this I had to create a symlink for /usr/local/lib/qt-4.2.2 in /usr/lib, but including the qt lib directory in the library path should clear this up when running applications.
Since qt-4.5 has its libs in /usr/local/lib there shouldn't be as many problems building pyqt.
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: treeline
« Reply #6 on: July 31, 2009, 02:12:36 PM »
The qt libraries are not being found by pyqt because they are not in your library path. Adding /usr/local/lib/qt-4.2.2/lib to /etc/ld.so.conf fixes this problem. This is stated in the pyqt info file.
I didn't even have /etc/ld.so.conf,  until running "ldconf", which required manually adding the path to qt libs, and running ldconf again. (I thought having the path in pckconf was enough).  

I still get:
Code: [Select]
Traceback (most recent call last):
  File "/usr/local/lib/treeline/treeline.py", line 33, in <module>
    from PyQt4 import QtCore, QtGui
ImportError: /usr/local/lib/libQtGui.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv




« Last Edit: July 31, 2009, 02:14:15 PM by jpeters »

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: treeline
« Reply #7 on: July 31, 2009, 02:24:16 PM »
I'm rebuilding pyqt with qt-4.5 right now, it will be finished later today (a few more hours? it takes a while) and I will submit it. So far I haven't had any complaints about missing deps so it should clear this up.
I'll test treeline with the updated pyqt once it is done to see if it needs to be rebuilt or not.
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: treeline
« Reply #8 on: July 31, 2009, 03:15:21 PM »
I'm rebuilding pyqt with qt-4.5 right now, it will be finished later today (a few more hours? it takes a while) and I will submit it. So far I haven't had any complaints about missing deps so it should clear this up.
I'll test treeline with the updated pyqt once it is done to see if it needs to be rebuilt or not.

updated pyqt might need updated sip as well....

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: treeline
« Reply #9 on: July 31, 2009, 03:31:31 PM »
Quote
updated pyqt might need updated sip as well....
already done, updated sip to 4.5.2, updated pyqt to 4.5.4 against qt-4.5, and I submitted them to tcesubmit. treeline still works with the updated pyqt but the dep files need to change.

the new treeline deps are: python, sip, qt-4.5-base, qt-4.5-xml, glib2, fontconfig, expat2, pyqt, and ispell
« Last Edit: July 31, 2009, 03:34:48 PM by robc »
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: treeline
« Reply #10 on: August 02, 2009, 01:30:32 AM »
same error as before  (undefined symbol...)
« Last Edit: August 02, 2009, 01:35:40 AM by jpeters »

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: treeline
« Reply #11 on: August 03, 2009, 11:11:04 AM »
I'm not seeing the error. I used a base norestore startup and installed via appbrowser from the TC repository. Both the tce and tcz were worked fine.
Are you seeing this error upon startup or when you are working with it?
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: treeline
« Reply #12 on: August 03, 2009, 12:42:04 PM »
I see....it only happens with .tcz.  I wonder if you could send me the former version of treeline.tce to see if that works as well.  Thanks.


Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: treeline
« Reply #13 on: August 03, 2009, 12:57:02 PM »
i didn't rebuild treeline since it worked with the updated pyqt, i only changed the dep files
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: treeline
« Reply #14 on: August 03, 2009, 01:09:13 PM »
The tcz works with base, norestore on my system also....so it must conflict with something only when using tcz.....weird ....   I guess I'd need the original pyqt and sip to test out the original.  Thanks.  

edit: works if I use qt-4.5*tce instead of tcz

edit2: Conflict is with qt-4.2.2.tczl.  If I run "update qt-4.5-base", it reinstalls qt-4.5.tczl and treeline works.

edit3: Very weird....I rebooted without qt-4.2.2.tczl and STILL had to "update qt-4.5-base".  It must be conflicting with something else.   
  

« Last Edit: August 03, 2009, 02:20:33 PM by jpeters »