severity 402758 wishlist
thanks

On Tue, 2006-12-12 at 14:57 +0100, Laurent Bonnaud wrote:
> Hi,
> 
> here is the problem:
> 
> $ monodevelop
> 
> Unhandled Exception: System.IO.FileNotFoundException: Could not find file 
> "/usr/lib/pkgconfig/../../lib/pkgconfig/libgcj.pc"
> File name: '/usr/lib/pkgconfig/../../lib/pkgconfig/libgcj.pc'
>   at System.IO.FileStream..ctor (System.String name, FileMode mode, 
> FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, 
> FileOptions options) [0x00000]
>   at System.IO.FileStream..ctor (System.String name, FileMode mode, 
> FileAccess access, FileShare share) [0x00000]
>   at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor 
> (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
>   at System.IO.File.OpenRead (System.String path) [0x00000]
>   at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding 
> encoding, Boolean detect_encoding_from_bytemarks, Int32 buffer_size) [0x00000]
>   at System.IO.StreamReader..ctor (System.String path) [0x00000]
>   at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor 
> (string)
>   at MonoDevelop.Core.SystemAssemblyService.ParsePCFile (System.String 
> pcfile) [0x00000]
>   at MonoDevelop.Core.SystemAssemblyService.RunInitialization () [0x00000]
>   at MonoDevelop.Core.SystemAssemblyService.BackgroundInitialize () [0x00000]
>   at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()

this is for sure not the best message to show, but it's not a problem
and not a bug.

It should be noted that monodevelop uses the console for debuging
messages, as often seen using logger calls.

MonoDevelop loads all .pc files at startup for hinting the compiler and
available packages.

This message appears because monodevelop wanted to
load /usr/lib/pkgconfig/../../lib/pkgconfig/libgcj.pc which is the same
as just /usr/lib/pkgconfig/libgcj.pc. But thats a dangling symlink which
is not a problem either, symlinks are allowed to point to non-existing
files.

Thus I am downgrading this report to wishlist and will forward this to
upstream, to better handle this case and probably just supress the
exception.

Thanks for your report.

-- 
Regards,

Mirco 'meebey' Bauer

PGP-Key:
http://keyserver.noreply.org/pks/lookup?op=get&search=0xEEF946C8

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d s-:+ a-- C++ UL++++$ P L++$>+++$ E- W+++$ N o? K- w++>! O---- M-
V? PS
PE+ Y- PGP++ t 5+ X++ R tv+ b+ DI? D+ G>++ e h! r->++ y?
------END GEEK CODE BLOCK------

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to