Bug#424923: Debian bug followup (Re: bug 424923)

A. Costa agcosta at gis.net
Fri Aug 24 19:18:12 UTC 2007


On Thu, 23 Aug 2007 18:36:27 +0200
Sven Arvidsson <sa at whiz.se> wrote:

> Okay, it looks like xdg-mime is just a wrapper for gnomevfs-info, from
> the libgnomevfs2-bin package. Can you try again with that?

	% dlocate -s libgnomevfs2-bin  ; echo $?
	Package "libgnomevfs2-bin" not installed.
	1

Odd, if 'xdg-mime' is just a wrapper, shouldn't it depend on that
package? At the very least 'xdg-mime', (if it works as you say), should
have a better error message, since last time it didn't complain about
any missing files.  Anyway, I've just installed 'libgnomevfs2-bin'
v1:2.18.1-3+b1, so:

	% gnomevfs-info Desktop/SpaceMonger.exe 
	Name              : SpaceMonger.exe
	Type              : Regular
	Symlink to        : /mnt/c/Program Files/spacemonger/SpaceMonger.exe
	MIME type         : application/x-executable
	Default app       : abiword-usercustom.desktop
	Size              : 217088
	Blocks            : 424
	I/O block size    : 4096
	Local             : YES
	SUID              : NO
	SGID              : NO
	Sticky            : NO
	Permissions       : 600755
	Link count        : 1
	UID               : 1000
	GID               : 1000
	Access time       : Thu Aug 23 00:00:00 2007
	Modification time : Mon Oct 16 13:30:56 2000
	Change time       : Sun Feb 11 23:31:44 2001
	Device #          : 769
	Inode #           : 789
	Readable          : YES
	Writable          : YES
	Executable        : NO

...and after another "update-mime-database /usr/share/mime" as root, I
try 'xdg-mime' again:

	% xdg-mime  query filetype Desktop/SpaceMonger.exe ; echo $?
	xdg-mime: no method available for quering MIME type of 'Desktop/SpaceMonger.exe'
	3

Odd, though it may not be directly related to bug #424923.

> > ...What happened was that 'abiword' started, and attempted to open
> > 'Desktop/SpaceMonger.exe', which makes 'abiword' hang, or at least
> > pause longer than I was willing to wait -- hence, 'xkill': result
> > Zombie processes, argh.
> 
> That's weird. Wine is set to open .exe files, right? (Double check by
> right clicking the .exe and selecting "Open With" in Nautilus)

Yes; attached is a screenshot of the properties window. 

> > > * Temporary add a new user to your system and see if you can
> > > reproduce this with a fresh setup.
> > 
> > My Debian system (and X session) is too busy today...
> > unfortunately my current window manager/GUI desktop environment,
> > xfce4, doesn't (so far as I know) allow me to start another session
> > as another user.  Under KDE it would be easy.  Unless you know of a
> > way around that, I'll take a raincheck, and tell you how it goes
> > when this system is less busy...
> 
> You could use something like Xephyr or Xnest to launch another session
> in a window.

For some reason I couldn't get 'wine' to run under Xephyr.  Since
then I've restarted X, logged in as another user, made the symlink, and
found that 'wine' _did_ correctly launch a Desktop symlink to
'Spacemonger.exe'.

> I did find a matching bug in shared-mime-info Bugzilla;
> https://bugs.freedesktop.org/show_bug.cgi?id=6320 
> 
> I will probably add a short summary of your problem there and ask the
> upstream developers if they have any ideas. There's also a workaround
> described there, renaming the .exe to .com, maybe you can try that
> too?

Interesting.  That works, after renaming:

	% ls -log Desktop/SpaceMonger.com 
	lrwxrwxrwx 1 48 Jan 10  2005 Desktop/SpaceMonger.com -> /mnt/c/Program Files/spacemonger/SpaceMonger.exe

Summing up:  as my default user, 'wine' can run it as a '.com' but not
as an '.exe'.  From another account, 'wine' can run it as an '.exe' as
well.  Evidently there's some significant difference between the two
setups.  The difference can't be in the 'wine' config, since it fails
before calling 'wine'.  Also we may have run into a few other bugs
along the way, which it would be profitable to file at some point or
other.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot.png
Type: image/png
Size: 24492 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20070824/23477ae7/attachment-0001.png 


More information about the pkg-gnome-maintainers mailing list