bugGNUstep - Bugs: bug #30683, NSInvalidArgumentException:...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #30683: NSInvalidArgumentException: NSBundle(class) does not recognize loadGSMarkupNamed:owner:

Submitted by:  Pál Csányi <cspaul>
Submitted on:  Sun 08 Aug 2010 12:27:58 PM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sat 09 Oct 2010 10:25:04 AM UTC, comment #4:

Thanks for reporting back :-)

Thanks

Nicola Pero <nico>
Project Member
Fri 08 Oct 2010 01:58:21 PM UTC, comment #3:

This problem was on Gentoo Linux system.
I remove Gentoo from my PC Box and now I have installed Debian GNU/Linux Squeeze system.
Here on Debian system this problem isn't present so I suggest to close this bugreport.

--
Regards,
Paul Chany

Pál Csányi <cspaul>
Mon 09 Aug 2010 03:54:49 PM UTC, comment #2:

Hi Paul

it's hard to know without more information. Here are a couple of experiments that you could do to gather a bit more information.

First of all, try using 'ldd' to get the list of libraries linked into your program: type

ldd ./LPT_Interface.app/LPT_Interface

in your shell. You should get a list of all the libraries (including libRenaissance.so.0) with the exact path of where it is found. Can you post that list ? Anything that sounds suspicious there ?

Another experiment you can do is to try opening up your gsmarkup files using GSMarkupBrowser. Type in your shell:

GSMarkupBrowser ./LPT_Interface.gsmarkup

if Renaissance is installed correctly, this should popup a window with the contents of LPT_Interface.gsmarkup (it works on my installation). If not, what error are you getting ?

Thanks

Nicola Pero <nico>
Project Member
Mon 09 Aug 2010 09:05:19 AM UTC, comment #1:

The error suggests that Renaissance was not installed or not linked correctly.

Do you have any more details on how Renaissance was installed ? That may help :-)

Any unusual messages when you compiled and installed Renaissance ?

Thanks

Nicola Pero <nico>
Project Member
Sun 08 Aug 2010 12:27:58 PM UTC, original submission:

Hi,

I'm developing a small application LPT_Interface.app with gnustep installed on Gentoo Linux operating system. The installed gnustep packages are:

gnustep-base/gnustep-back-cairo Latest version installed: 0.18.0
gnustep-base/gnustep-base Latest version installed: 1.20.1
gnustep-base/gnustep-gui Latest version installed: 0.18.0
gnustep-base/gnustep-make Latest version installed: 2.4.0

When I try to run my app, I get error message:
NSInvalidArgumentException: NSBundle(class) does not recognize
loadGSMarkupNamed:owner:

I try to get some backtrace with commands as follows:

~/Programozas/Obj_C_ben/Emacs-szal/LPT_Interface/LPT_Interface.app $ gdb
./LPT_Interface

warning: Can not parse XML syscalls information; XML support was\
disabled at compile time.
GNU gdb (Gentoo 7.0.1 p1) 7.0.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later \
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. \
Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from
/debian-adatok-1/Programozas/Obj_C_ben/Emacs-szal/LPT_Interface/\
LPT_Interface.app/LPT_Interface...done.
(gdb) set logging file backtrace.log
(gdb) set logging on
Copying output to backtrace.log.
(gdb) break -[NSException raise]
Function "-[NSException raise]" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (-[NSException raise]) pending.
(gdb) r --GNU-Debug=dflt
Starting program: /debian-adatok-1/Programozas/Obj_C_ben/Emacs-szal/\
LPT_Interface/LPT_Interface.app/LPT_Interface --GNU-Debug=dflt
[Thread debugging using libthread_db enabled]
2010-08-01 19:36:22.767 LPT_Interface[18746] Loading Backend from \
/usr/GNUstep/System/Library/Bundles/libgnustep-back-018.bundle
2010-08-01 19:36:22.818 LPT_Interface[18746] Initializing \
GNUstep x11 backend.
2010-08-01 19:36:22.818 LPT_Interface[18746] Opened display\
:0.0, display 0 screen 0
2010-08-01 19:36:22.828 LPT_Interface[18746] Found font family\
Lomonosov V
2010-08-01 19:36:22.828 LPT_Interface[18746] fc enumerator:\
adding font: Lomonosov V
...

2010-08-01 19:36:22.943 LPT_Interface[18746] File GSFFIInvocation.m:\
614. In GSFFIInvocationCallback Changed type signature\
'v36@0:8{_NSPoint=dd}16i32' to 'v40@0:8{_NSPoint=dd}16i32' for\
'compositeToPoint:operation:'
2010-08-01 19:36:25.668 LPT_Interface[18746] File GSFFIInvocation.m:\
614. In GSFFIInvocationCallback Changed type signature\
'Vv52@0:8@16@24@32C40@44' to 'Vv56@0:8@16@24@32C40@48' for\
'postNotificationName:object:userInfo:deliverImmediately:for:'
/debian-adatok-1/Programozas/Obj_C_ben/Emacs-szal/LPT_Interface/\
LPT_Interface.app/LPT_Interface:\
Uncaught exception NSInvalidArgumentException, reason: NSBundle(class)\
does not recognize loadGSMarkupNamed:owner:

Program exited with code 01.
(gdb) bt
No stack.
(gdb) set logging off
Done logging to backtrace.log.
(gdb) quit

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

I didn't know whether the following warning cause this error?
warning: Can not parse XML syscalls information; XML support was\
disabled at compile time.

I compiled gnustep-base with xml support, using USE="xml" flag.

Is this a bug, or not?
Any advices will be appreciated!

Pál Csányi <cspaul>

 

Attached Files
file #21167:  LPT_Interface.tar.bz2 added by cspaul (14KiB - application/x-bzip2)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by nico (Posted a comment)
  • -unavailable- added by cspaul (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 09 Oct 2010 10:25:03 AM UTCnicoOpen/ClosedOpen=>Closed
    Mon 09 Aug 2010 09:05:31 AM UTCnicoCategoryBackend=>Libraries
    Sun 08 Aug 2010 12:27:58 PM UTCcspaulAttached File-=>Added LPT_Interface.tar.bz2, #21167

    Back to the top


    Powered by Savane 3.1-cleanup1