| View previous topic :: View next topic |
| Author |
Message |
andrewwalker27 l33t


Joined: 27 Jun 2005 Posts: 660
|
Posted: Wed Jul 29, 2009 1:45 pm Post subject: Error upon starting Cenon |
|
|
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 |
|
 |
andrewwalker27 l33t


Joined: 27 Jun 2005 Posts: 660
|
Posted: Thu Jul 30, 2009 4:22 pm Post subject: |
|
|
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 |
|
 |
Hypnos Advocate


Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Fri Jul 31, 2009 12:38 am Post subject: |
|
|
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 |
|
 |
andrewwalker27 l33t


Joined: 27 Jun 2005 Posts: 660
|
Posted: Fri Jul 31, 2009 3:01 pm Post subject: |
|
|
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 |
|
 |
Hypnos Advocate


Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Sat Aug 01, 2009 11:24 am Post subject: |
|
|
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 |
|
 |
andrewwalker27 l33t


Joined: 27 Jun 2005 Posts: 660
|
Posted: Wed Aug 05, 2009 3:40 pm Post subject: |
|
|
| 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 |
|
 |
Hypnos Advocate


Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Wed Aug 05, 2009 4:03 pm Post subject: |
|
|
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 |
|
 |
|