[Grub-dev] bugreport: cr/lf missing on non-ok resultlines in c# grubng client

ab spam at abittner.de
Fri Feb 1 16:55:14 UTC 2008


Bartek Jasicki wrote:
> I think this is better place (or directly my mail ;) ) for bugreports -
> dev.grub.org - looks on unused by long time ;)

yeah, i just looked over there, there are barely any tickets and 
activity there. :(

> With this error - can you tell me which version of gtk# you use? This
> from Mono installer?

well i am having pretty big problems with running grubng.exe on windows. 
the go-mono installer doesnt work, i mean it works, but grubng.exe 
doesnt start. it gives an error message that it cant find gtk-sharp dll 
or something.

i have tried to debug grubng.exe with the help of sysinternals filemon 
and grubng.exe doesnt seem to find the gtk-sharp.dll file when only 
using the go-mono installer/install.

see here:

> 16:51:44	Grubng.exe:3192	OPEN	C:\WINDOWS\assembly\GAC_32\gtk-sharp\2.10.0.0__35e10195dab3c99f	PATH NOT FOUND	Options: Open  Access: Read-Attributes	
> 16:51:44	Grubng.exe:3192	OPEN	C:\WINDOWS\assembly\GAC_MSIL\gtk-sharp\2.10.0.0__35e10195dab3c99f	PATH NOT FOUND	Options: Open  Access: Read-Attributes	
> 16:51:44	Grubng.exe:3192	OPEN	C:\WINDOWS\assembly\GAC\gtk-sharp\2.10.0.0__35e10195dab3c99f	PATH NOT FOUND	Options: Open  Access: Read-Attributes	
> 16:51:44	Grubng.exe:3192	OPEN	C:\Program Files\Grubng\gtk-sharp.dll	NOT FOUND	Options: Open  Access: Read-Attributes	
> 16:51:44	Grubng.exe:3192	OPEN	C:\Program Files\Grubng\gtk-sharp\gtk-sharp.dll	PATH NOT FOUND	Options: Open  Access: Read-Attributes	
> 16:51:44	Grubng.exe:3192	OPEN	C:\Program Files\Grubng\gtk-sharp.exe	NOT FOUND	Options: Open  Access: Read-Attributes	
> 16:51:44	Grubng.exe:3192	OPEN	C:\Program Files\Grubng\gtk-sharp\gtk-sharp.exe	PATH NOT FOUND	Options: Open  Access: Read-Attributes	

the go-mono installer doesnt seem to set the path variable at all on a 
windows xp system i have found out, because the gtk-sharp files are there:

>  Directory of C:\Program Files\Mono-1.2.6\lib
> 01.02.2008  16:11    <DIR>          gtk-sharp-2.0
>                0 File(s)              0 bytes
>  Directory of C:\Program Files\Mono-1.2.6\lib\mono
> 01.02.2008  16:11    <DIR>          gtk-sharp
> 01.02.2008  16:11    <DIR>          gtk-sharp-2.0
>                0 File(s)              0 bytes
>  Directory of C:\Program Files\Mono-1.2.6\lib\mono\gac
> 01.02.2008  16:11    <DIR>          gtk-sharp
>                0 File(s)              0 bytes
>  Directory of C:\Program Files\Mono-1.2.6\lib\mono\gac\gtk-sharp\1.0.0.0__35e101
> 95dab3c99f
> 15.11.2006  16:03           823.296 gtk-sharp.dll
>                1 File(s)        823.296 bytes
>  Directory of C:\Program Files\Mono-1.2.6\lib\mono\gac\gtk-sharp\2.10.0.0__35e10
> 195dab3c99f
> 02.08.2007  16:45         1.351.680 gtk-sharp.dll
>                1 File(s)      1.351.680 bytes
>  Directory of C:\Program Files\Mono-1.2.6\lib\mono\gtk-sharp
> 15.11.2006  16:03           823.296 gtk-sharp.dll
>                1 File(s)        823.296 bytes
>  Directory of C:\Program Files\Mono-1.2.6\lib\mono\gtk-sharp-2.0
> 02.08.2007  16:45         1.351.680 gtk-sharp.dll
>                1 File(s)      1.351.680 bytes
>  Directory of C:\Program Files\Mono-1.2.6\lib\monodoc\sources
> 02.08.2007  16:45               119 gtk-sharp-docs.source
> 02.08.2007  16:45           338.633 gtk-sharp-docs.tree
> 02.08.2007  16:45         2.084.479 gtk-sharp-docs.zip
>                3 File(s)      2.423.231 bytes
>  Directory of C:\Program Files\Mono-1.2.6\lib\pkgconfig
> 01.02.2008  16:12               510 gtk-sharp-2.0.pc
> 01.02.2008  16:12               365 gtk-sharp.pc
>                2 File(s)            875 bytes
>  Directory of C:\Program Files\Mono-1.2.6\samples
> 01.02.2008  16:11    <DIR>          gtk-sharp-2.0
>                0 File(s)              0 bytes
>  Directory of C:\Program Files\Mono-1.2.6\samples\gtk-sharp-2.0\pixmaps
> 02.08.2007  16:45             4.868 gtk-sharp-logo.png
>                1 File(s)          4.868 bytes


i finally found some additional project named openvista or something, 
and they have a gtk-sharp runtime downloader too, and that 
installer/packet sets the path variable correctly:
<http://sourceforge.net/project/showfiles.php?group_id=74626&package_id=223067>
<http://downloads.sourceforge.net/openvista/gtksharp-runtime-2.10.1-1.exe?modtime=1182190610&big_mirror=0>

the path variable on windows xp gets added with the follwoing:
Path => C:\Program Files\Medsphere\GtkRun\bin

and there are the gtk-sharp files in there too....

>  Directory of C:\Program Files\Medsphere\GtkRun\bin
> 01.02.2008  17:09             2.751 gtk-sharp_msgac_install.bat
> 01.02.2008  17:09             3.739 gtk-sharp_msgac_uninstall.bat
>                2 File(s)          6.490 bytes
>  Directory of C:\Program Files\Medsphere\GtkRun\lib
> 01.02.2008  17:09    <DIR>          gtk-sharp-2.0
>                0 File(s)              0 bytes
>  Directory of C:\Program Files\Medsphere\GtkRun\lib\gtk-sharp-2.0\gtk
> 18.06.2007  16:18         1.351.680 gtk-sharp.dll
>                1 File(s)      1.351.680 bytes

so the path variable is kinda big problem with the go-mono windows 
installer. i wonder why anybody hasnt complained so far. maybe somebody 
gonna tell/bugreport this to the go-mono/mono people?

or how are mono/.net project supposed to look for their library files? 
are there some registry keys on windows (but that wouldnt be platform 
independant) developers need to look at, or do all the libary files need 
to be in the path somewhere?

i am not a .net/mono developer at all, but whoever is in charge of the 
c# gtk-sharp grubng client should take a look into this bug and maybe 
talk to the mono people or follow some official mono documentation about 
the library path locations and so on....


> All this things looks very strange for me. This start with newest
> version of client?

i am currently running Grubng 0.1.2952.38810 on windows xp.

both the go-mono windows xp installer and the openvista gtk-sharp 
packets installed. also .net 1.1, 2.0, 3.0 and 3.5 installed


cheers.


More information about the Grub-dev mailing list