[drats_users] Application Failure ...

Chip G.
Wed Sep 21 18:24:28 PDT 2011


I have gotten it to run once or twice before (before I got my radio working). Now it doesn't seem to work. I've tried on another machine (Lion, previous was Snow Leopard). I tried reinstalling. On the second machine I looked at the console and see this message:

> 9/21/11 9:09:21.051 PM [0x0-0x52f52f].d-rats-0.3.1b3: usage: dirname path
> 9/21/11 9:09:21.051 PM [0x0-0x52f52f].d-rats-0.3.1b3: /Applications/Amateur Radio/d-rats-0.3.2.app/Contents/MacOS/d-rats: line 6: cd: /../Resources: No such file or directory
> 9/21/11 9:09:21.248 PM [0x0-0x52f52f].d-rats-0.3.1b3: /opt/kk7ds/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file 'd-rats': [Errno 2] No such file or directory
> 9/21/11 9:09:21.249 PM com.apple.launchd.peruser.501: ([0x0-0x52f52f].d-rats-0.3.1b3[52407]) Exited with code: 2

I'm not sure why it's not working. When I drop into terminal and go to the d-rats application folder I can see a Resources folder with some good looking items in it. So this line seems to be "broken" for some reason: cd ${BASE}/Resources

So I tried to run it from the command line and this was the outcome:

> $ ./d-rats 
> simplejson was not found. Geocoders relying on JSON parsing will not work.
> FeedParser not available
> Error opening icon map /Applications/Amateur Radio/d-rats-0.3.2.app/Contents/Resources/images/aprs_pri.png: Couldn't recognize the image file format for file '/Applications/Amateur Radio/d-rats-0.3.2.app/Contents/Resources/images/aprs_pri.png'
> Error opening icon map /Applications/Amateur Radio/d-rats-0.3.2.app/Contents/Resources/images/aprs_sec.png: Couldn't recognize the image file format for file '/Applications/Amateur Radio/d-rats-0.3.2.app/Contents/Resources/images/aprs_sec.png'
> FILE: /Users/chip/.d-rats/d-rats.config
> Creating downlaod directory: /Users/chip/D-RATS Shared
> Loading locale `en'
> Locale dir is: /Applications/Amateur Radio/d-rats-0.3.2.app/Contents/Resources/locale
> ---------------------------------------------------------------------------
> D-RATS v0.3.2 starting at Wed Sep 21 21:21:29 2011
> Platform MacOSXPlatform:
>   base:       /Users/chip/.d-rats
>   source_dir: /Applications/Amateur Radio/d-rats-0.3.2.app/Contents/Resources
>   OS version: MacOS X
> ---------------------------------------------------------------------------
> /Applications/Amateur Radio/d-rats-0.3.2.app/Contents/Resources/d_rats/mainapp.py:883: PangoWarning: error opening config file '../Resources/etc/pango/pangorc': No such file or directory
> 
>   d.run()
> Sep 21 21:21:31 aluminum.local Python[53063] <Error>: CGContextSetFont: invalid context 0x0
> Sep 21 21:21:31 aluminum.local Python[53063] <Error>: CGContextSetFontSize: invalid context 0x0
> Sep 21 21:21:31 aluminum.local Python[53063] <Error>: CGContextSetTextMatrix: invalid context 0x0
> Sep 21 21:21:31 aluminum.local Python[53063] <Error>: CGContextSaveGState: invalid context 0x0
> Sep 21 21:21:31 aluminum.local Python[53063] <Error>: CGContextSetCompositeOperation: invalid context 0x0
> Sep 21 21:21:31 aluminum.local Python[53063] <Error>: CGContextFillRects: invalid context 0x0
> Sep 21 21:21:31 aluminum.local Python[53063] <Error>: CGContextRestoreGState: invalid context 0x0
> Sep 21 21:21:31 aluminum.local Python[53063] <Error>: CGContextSetRGBFillColor: invalid context 0x0
> Sep 21 21:21:31 aluminum.local Python[53063] <Error>: CGContextShowGlyphsAtPoint: invalid context 0x0
> Setting LatLon value: 41.6970
> LatLon text: 41.6970
> Setting LatLon value: -72.7312
> LatLon text: -72.7312
> Demand-opening aspell...
> Spelling test failed: [Errno 2] No such file or directory
> Setting ports_0: True,net:ref.d-rats.com:9000,,False,False,RAT
> Static position: 41.697000,-72.731200
> /Applications/Amateur Radio/d-rats-0.3.2.app/Contents/Resources/d_rats/mainwindow.py:253: GtkWarning: gtk_notebook_set_tab_label: assertion `GTK_IS_WIDGET (child)' failed
>   "mainwindow", "D-RATS")
> Sep 21 21:22:26 aluminum.local Python[53063] <Error>: CGContextSetFont: invalid context 0x0
> Sep 21 21:22:26 aluminum.local Python[53063] <Error>: CGContextSetFontSize: invalid context 0x0
> Sep 21 21:22:26 aluminum.local Python[53063] <Error>: CGContextSetTextMatrix: invalid context 0x0
> Sep 21 21:22:26 aluminum.local Python[53063] <Error>: CGContextSaveGState: invalid context 0x0
> Sep 21 21:22:26 aluminum.local Python[53063] <Error>: CGContextSetCompositeOperation: invalid context 0x0
> Sep 21 21:22:26 aluminum.local Python[53063] <Error>: CGContextFillRects: invalid context 0x0
> Sep 21 21:22:26 aluminum.local Python[53063] <Error>: CGContextRestoreGState: invalid context 0x0
> Sep 21 21:22:26 aluminum.local Python[53063] <Error>: CGContextSetRGBFillColor: invalid context 0x0
> Sep 21 21:22:26 aluminum.local Python[53063] <Error>: CGContextShowGlyphsAtPoint: invalid context 0x0
> Sep 21 21:22:26 aluminum.local Python[53063] <Error>: CGContextSetFont: invalid context 0x0
> Sep 21 21:22:26 aluminum.local Python[53063] <Error>: CGContextSetFontSize: invalid context 0x0
> Sep 21 21:22:26 aluminum.local Python[53063] <Error>: CGContextSetTextMatrix: invalid context 0x0
> Sep 21 21:22:26 aluminum.local Python[53063] <Error>: CGContextSaveGState: invalid context 0x0
> Sep 21 21:22:26 aluminum.local Python[53063] <Error>: CGContextSetCompositeOperation: invalid context 0x0
> Sep 21 21:22:26 aluminum.local Python[53063] <Error>: CGContextFillRects: invalid context 0x0
> Sep 21 21:22:26 aluminum.local Python[53063] <Error>: CGContextRestoreGState: invalid context 0x0
> Sep 21 21:22:26 aluminum.local Python[53063] <Error>: CGContextSetRGBFillColor: invalid context 0x0
> Sep 21 21:22:26 aluminum.local Python[53063] <Error>: CGContextShowGlyphsAtPoint: invalid context 0x0

Again more ugliness. At least it ran, that was a start.

Has any Mac user tried to manually compile the newer version?

--
    Chip




More information about the drats_users mailing list