[Zim-wiki] Can not import 'xdg.Mime' - falling back to 'mimetypes'

2011-09-14 Thread Ramiro Magno
I'm not sure if this is really a problem/bug. 

I used to have this warning just after launching zim from the command line:
WARNING: Can not import 'xdg.Mime' - falling back to 'mimetypes'

googling lead me to this:
https://bugs.archlinux.org/task/20707

and my linux distro happens to be arch. This bug has been closed though as it 
was reported to have been fixed in zim-0.48-2.
I have zim 0.52 and this warning was still printed out though, until I 
installed the pyxdg package (0.19-2). Now  the warning is gone.

just felt like sharing in case someone find this info useful.

Ramiro

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Can not import 'xdg.Mime' - falling back to 'mimetypes'

2011-09-14 Thread Brendan Kidwell
On Wed, Sep 14, 2011 at 11:18 AM, Ramiro Magno ramiro.ma...@gmail.comwrote:

 I'm not sure if this is really a problem/bug.

 I used to have this warning just after launching zim from the command line:
 WARNING: Can not import 'xdg.Mime' - falling back to 'mimetypes'

 googling lead me to this:
 https://bugs.archlinux.org/task/20707

 and my linux distro happens to be arch. This bug has been closed though as
 it was reported to have been fixed in zim-0.48-2.
 I have zim 0.52 and this warning was still printed out though, until I
 installed the pyxdg package (0.19-2). Now  the warning is gone.


I don't understand what's going on, but for anyone who might look into it,
here's a comparison from Linux Mint:

$ zim --debug 2log

--- begin debug output
INFO: This is zim 0.52
DEBUG: Python version is sys.version_info(major=2, minor=7, micro=1,
releaselevel='final', serial=0)
DEBUG: Platform is posix
DEBUG: No bzr version-info found
DEBUG: Not running from a source dir
DEBUG: Set XDG_DATA_HOME to /home/brendan/.local/share
DEBUG: Set XDG_DATA_DIRS to [Dir: /usr/share/gnome, Dir:
/usr/local/share, Dir: /usr/share]
DEBUG: Set XDG_CONFIG_HOME to /home/brendan/.config
DEBUG: Set XDG_CONFIG_DIRS to [Dir: /etc/xdg/xdg-gnome, Dir: /etc/xdg]
DEBUG: Set XDG_CACHE_HOME to /home/brendan/.cache
DEBUG: Running command: gui
--- end debug output (truncated!)

I didn't see any warnings or errors regarding MIME.
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Can not import 'xdg.Mime' - falling back to 'mimetypes'

2011-09-14 Thread Jaap Karssenberg
On Wed, Sep 14, 2011 at 9:57 PM, Brendan Kidwell sn...@glump.net wrote:

 I didn't see any warnings or errors regarding MIME.


The message Ramiro reported is not an error. It is just a warning that an
optional dependency in not installed (you should see this warning by default
on windows..).

Regards,

Jaap
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp