bugGnome Chemistry Utils - Bugs: bug #18696, gcrystal file open dialog

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #18696: gcrystal file open dialog

Submitted by:  julien cubizolles <vorkowilk>
Submitted on:  Fri 05 Jan 2007 02:16:15 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: Closed

(Jump to the original submission Jump to the original submission)

Sat 17 Mar 2007 04:22:37 PM UTC, comment #9:

OK, so I close this one

Jean Bréfort <jean_brefort>
Project Administrator
Sat 17 Mar 2007 02:49:23 PM UTC, comment #8:

There is (and never was I think) no problem with it. It was only my
mistake by not setting the XDG* variables correctly.

julien cubizolles <vorkowilk>
Thu 22 Feb 2007 09:34:04 AM UTC, comment #7:

Julien, what's the status of this bug? May I close it or do you still have the issue?

Jean Bréfort <jean_brefort>
Project Administrator
Fri 05 Jan 2007 04:52:03 PM UTC, comment #6:

It did, but I rebuilt everything in /usr/local/share. I think that's the cleanest way to have everythin running out of the box.

julien cubizolles <vorkowilk>
Fri 05 Jan 2007 04:46:29 PM UTC, comment #5:

It should work with XDG_DATA_HOME=/opt/share:/usr/local/share:/usr/share

Jean Bréfort <jean_brefort>
Project Administrator
Fri 05 Jan 2007 03:34:21 PM UTC, comment #4:

OK, I begin to understand...

I installed everything in /opt and there are indeed
/opt/share/mime/packages/gchemutils.xml (not chemutils.xml like you said)
/opt/share/mime/application/x-gcrystal.xml

The problem is that /opt/share/mime isn't in the search path. Adding it to XDG_DATA_HOME and XDG_DATA_DIRS, something changes : I get a new

(gcrystal-unstable:1775): Gtk-WARNING **: Could not find the icon 'gnome-mime-application-x-gcrystal'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
http://icon-theme.freedesktop.org/releases

which seems to indicate that the mime-type is now known but the file chooser still doesn't show my .gcrystal files. I think I'll retry with an installation in /usr/local.

julien cubizolles <vorkowilk>
Fri 05 Jan 2007 03:13:22 PM UTC, comment #3:

the files are in $(datadir)/mime. If you installed without any option for configure, this should be /usr/local/share/mime and you'll have in there (at least):
/usr/local/share/mime/packages/chemutils.xml
/usr/local/share/mime/aliases
/usr/local/share/mime/magic
/usr/local/share/mime/XMLnamespaces
/usr/local/share/mime/application/x-gcrystal.xml
/usr/local/share/mime/globs
/usr/local/share/mime/mime.cache
/usr/local/share/mime/subclasses

When the XDG variables are not set, the system searchs for data in $HOME/.local/share/mime, /usr/share/mime and /usr/local/share/mime unless ubuntu patched gnome-vfs.

Jean Bréfort <jean_brefort>
Project Administrator
Fri 05 Jan 2007 02:59:26 PM UTC, comment #2:

> There is no file extension widget since gcrystal only supports > one mime type at the moment. That said, there is clearly a >problem. Do your file manager recognize these files as gcrystal > files?


They are application/xml files for nautilus.

> Other possibilities might be that the mime definitions are not
> installed in XDG_DATA_DIRS or XDG_DATA_HOME.


Should the installation of gnome-chemistry-utils take care of it or is it another package ?

> Please, check where things have been installed and the values of the two environment variables.


These two environments variables are unset on my system (Ubuntu edgy). Where should I look for the mime-types definitions ?

julien cubizolles <vorkowilk>
Fri 05 Jan 2007 02:37:47 PM UTC, comment #1:

There is no file extension widget since gcrystal only supports one mime type at the moment.
That said, there is clearly a problem. Do your file manager recognize these files as gcrystal files? This would be a good test.
Other possibilities might be that the mime definitions are not installed in XDG_DATA_DIRS or XDG_DATA_HOME. Please, check where things have been installed and the values of the two environment variables.
It can also been something that has been fixed since 0.7.4 release.

Jean Bréfort <jean_brefort>
Project Administrator
Fri 05 Jan 2007 02:16:15 PM UTC, original submission:

The file open dialog in gcrystal-unstable (version 0.7.4) exhibits a strange behaviour : it doesn't propose any files in a directory populated with many .gcrystal files. However those files are correctly opened from the command line.

Maybe it's an extension problem ? The file selection dialog doesn't present the usual file-extension choice widget.

Julien Cubizolles.

julien cubizolles <vorkowilk>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jean_brefort (Posted a comment)
  • -unavailable- added by vorkowilk (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 17 Mar 2007 04:22:37 PM UTCjean_brefortStatusNeed Info=>Invalid
      Open/ClosedOpen=>Closed
    Fri 05 Jan 2007 04:46:29 PM UTCjean_brefortStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1