bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #45032] [base] Bundle not correctly returned for Class in Framework


From: Riccardo Mottola
Subject: [bug #45032] [base] Bundle not correctly returned for Class in Framework
Date: Wed, 06 May 2015 21:09:39 +0000
User-agent: Mozilla/5.0 (X11; NetBSD i386; rv:36.0) Gecko/20100101 Firefox/36.0

Follow-up Comment #1, bug #45032 (project gnustep):

I am adding some logs to NSBundle to see where the problem is:

2015-05-06 22:31:27.087 GWorkspace[7234:1817400] bundleForClass: FSNodeRep
2015-05-06 22:31:27.088 GWorkspace[7234:1817400] lib:
/opt/GNUstep/Local/Library/Frameworks/FSNode.framework/Versions/0/libFSNode.so.0.1.0
2015-05-06 22:31:27.090 GWorkspace[7234:1817400] setting bundle to mainBundle
2015-05-06 22:31:27.091 GWorkspace[7234:1817400] returning bundle, _path:
NSObject
2015-05-06 22:31:27.091 GWorkspace[7234:1817400] bundle resource path:
/opt/GNUstep/Local/Applications/GWorkspace.app/Resources


So first we see that the GSPrivateSymbolPath looks correct (around line 1572)
However later bundle is nil, so it is set to the main bundle. Why?

To be sure, I tried to print out the added frameworks in _addFrameworks:
2015-05-06 23:10:24.784 GWorkspace[9015:1817400] frameworks added:
("<NSBundle: 0x268088>
</opt/GNUstep/Local/Library/Frameworks/Operation.framework> (loaded)",
"<NSBundle: 0x294b40> </opt/GNUstep/Local/Library/Frameworks/FSNode.framework>
(loaded)", "<NSBundle: 0x2970a8>
</opt/GNUstep/Local/Library/Frameworks/Inspector.framework> (loaded)")

thus FSNode is there, what is not working?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45032>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]