Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error upon starting Cenon
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
andrewwalker27
l33t
l33t


Joined: 27 Jun 2005
Posts: 660

PostPosted: Wed Jul 29, 2009 1:45 pm    Post subject: Error upon starting Cenon Reply with quote

I'm running ~x86_64 and I've installed cenon-3.82 and cenonlibrary-3.82 and get the following error when trying to start cenon.

fred@Gentoo ~ $ Cenon
Cenon: Uncaught exception NSInvalidArgumentException, reason: Tried to add nil value for key 'NSCurrencySymbol' to dictionary

It looks like an error with something to do with GNUstep libraries, the ones I have installed are

gnustep-base/gnustep-back-art-0.16.0
gnustep-base/gnustep-base-1.18.0-r4
gnustep-base/gnustep-gui-0.16.0
gnustep-base/gnustep-make-2.2.0
virtual/gnustep-back-0.16.0

I've tried re-building the gnustep packages but gnustep-back-art-0.16.0 fails with a similar error. The rest compile ok. Here's a example of the emerge error.

005799 fi
005800 plmerge: Uncaught exception NSInvalidArgumentException, reason: Tried to add nil value for key 'NSCurrencySymbol' to dictionary
005801 make[2]: *** [libgnustep-back-016.bundle/Resources/Info-gnustep.plist] Error 1
005802 make[2]: *** Deleting file `libgnustep-back-016.bundle/Resources/Info-gnustep.plist'
005803 make[1]: *** [libgnustep-back-016.all.bundle.variables] Error 2
005804 make[1]: Leaving directory `/var/tmp/portage/gnustep-base/gnustep-back-art-0.16.0/work/gnustep-back-0.16.0/Source'
005805 make: *** [internal-all] Error 2
005806 *
005807 * ERROR: gnustep-base/gnustep-back-art-0.16.0 failed.
005808 * Call stack:
005809 * ebuild.sh, line 49: Called src_compile
005810 * environment, line 2740: Called egnustep_make
005811 * environment, line 942: Called die
005812 * The specific snippet of code:
005813 * emake ${*} "${GS_ENV[@]}" all || die "package make failed";
005814 * The die message:
005815 * package make failed
005816 *

I assume this line is the problem
005800 plmerge: Uncaught exception NSInvalidArgumentException, reason: Tried to add nil value for key 'NSCurrencySymbol' to dictionary
is it something to do with my locale settings?
I also get this error spewed out when I log in at a console window as root
/usr/GNUstep/System/Tools/make_services: Uncaught exception NSInvalidArgumentException, reason: Tried to add nil value for key 'NSCurrencySymbol' to dictionary
Anyone got any ideas?
Back to top
View user's profile Send private message
andrewwalker27
l33t
l33t


Joined: 27 Jun 2005
Posts: 660

PostPosted: Thu Jul 30, 2009 4:22 pm    Post subject: Reply with quote

Ok, it looks like a locale issue. I'm not sure what I've done but it's installed correctly now!
I followed a guide for unicode support in Gentoo and that seemed to cure the problem if anyone else is suffering the same problem.

I've now got the problem that it only runs correctly as root. As root it works correctly but when I run with my user account I get the same error as before.

./Cenon: Uncaught exception NSInvalidArgumentException, reason: Tried to add nil value for key 'NSCurrencySymbol' to dictionary

Do I need to do something to my user locales?
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Fri Jul 31, 2009 12:38 am    Post subject: Reply with quote

Try temporarily removing ~/GNUstep/Defaults/.GNustepDefaults and see if it helps.

GNUstep does require unicode, though I don't see it anywhere in the dependencies. I wonder if this is a bug ...
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
andrewwalker27
l33t
l33t


Joined: 27 Jun 2005
Posts: 660

PostPosted: Fri Jul 31, 2009 3:01 pm    Post subject: Reply with quote

Well it's working correctly after a reboot so I don't know what the problem was!
Thanks for the help, I don't suppose you have the same problem I have with cenon crashing as soon as you try to zoom in or out on a gerber file?
It doesn't crash when I use gnustep-back-xlib but the image dissappears. If I use gnustep-back-art or gnustep-back-cairo I get a seg fault. Which package of the three is the recommended one to use? I assume cairo is the better option but do I need x11-libs/libsvg-cairo installed as well?
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Sat Aug 01, 2009 11:24 am    Post subject: Reply with quote

I am able to reproduce this bug.

The recommended action is to file a bug on the Gentoo Bugzilla for the GNUstep maintainers to work out, but it may be more efficient to contact the Cenon developers directly.

Before you do, try out version 3.83 to make sure the bug still exists.
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
andrewwalker27
l33t
l33t


Joined: 27 Jun 2005
Posts: 660

PostPosted: Wed Aug 05, 2009 3:40 pm    Post subject: Reply with quote

Thanks for the reply, sadly 3.83 isn't in portage and the ebuild for 3.82 didn't work with 3.83. Unfortunately I don't have the brain to be able to work out why the ebuild doesn't emerge 3.83 so I couldn't test to see if the bug was fixed. The 3.82 ebuild patches something but I don't know what.
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Wed Aug 05, 2009 4:03 pm    Post subject: Reply with quote

In addition to copying the ebuild you also have to copy the patch, then it works.

Version 3.83 behaves a bit better, but still crashes if you zoom too much.
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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