Unable to view images- Mac OS 10.6.8

189 views
Skip to first unread message

Steve

unread,
Aug 13, 2012, 7:46:25 PM8/13/12
to mnemosyne-...@googlegroups.com
Hi Peter,

I loaded 2.0.1 on a MacBook Pro running OS 10.6.8.  I can't view the images that I inserted into my cards (in both preview and review modes).  All images have been saved to the default mnemosyne directory, and I've tried images as small as 3kb  Any help would be appreciated!

Thanks
Steve

Henrik in Oslo

unread,
Aug 14, 2012, 2:08:18 AM8/14/12
to mnemosyne-...@googlegroups.com
I yesterday wanted to see if I could convert my Mnemosyne DB from Win/ to Mac.Download an install to iMac went fine but I experienced similar problems as Steven. Also tried to add new image to new card but they are not displayed . (I must admit I struggle to fin out where in fact Mnemosyne stores images and other data.)

Henrik

Peter Bienstman

unread,
Aug 14, 2012, 2:50:15 AM8/14/12
to mnemosyne-...@googlegroups.com, ptmk...@gmail.com
OK, this seems to be a Mac-only problem them, so Patrick is the only one
who can help.

Patrick, for Windows I needed to include certain plugins for certain
image formats, so perhaps this is where it's going wrong with the mac
build too?

Peter
> --
> You received this message because you are subscribed to the Google
> Groups "mnemosyne-proj-users" group.
> To post to this group, send email to mnemosyne-...@googlegroups.com.
> To unsubscribe from this group, send email to
> mnemosyne-proj-u...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mnemosyne-proj-users/-/_B1QbDVD6Y4J.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

--
Peter Bienstman
Ghent University, Dept. of Information Technology
Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium
tel: +32 9 264 34 46, fax: +32 9 264 35 93
WWW: http://photonics.intec.UGent.be
email: Peter.B...@UGent.be

Patrick Kenny

unread,
Aug 14, 2012, 4:23:01 AM8/14/12
to Peter Bienstman, mnemosyne-...@googlegroups.com
What kind of images are you trying to load?  A quick test on my machine showed that PNG works, but JPG doesn't.  I'll look into why when I have a bit more time.

Peter, could you give me a little more information?  Which file types is Mnemosyne supposed to support, and what plugins did you need to add?


Cheers,
Patrick

On Tue, Aug 14, 2012 at 3:50 PM, Peter Bienstman <Peter.B...@ugent.be> wrote:
OK, this seems to be a Mac-only problem them, so Patrick is the only one who can help.

Patrick, for Windows I needed to include certain plugins for certain image formats, so perhaps this is where it's going wrong with the mac build too?

Peter

On 08/14/2012 08:08 AM, Henrik in Oslo wrote:
I yesterday wanted to see if I could convert my Mnemosyne DB from Win/
to Mac.Download an install to iMac went fine but I experienced similar
problems as Steven. Also tried to add new image to new card but they are
not displayed . (I must admit I struggle to fin out where in fact
Mnemosyne stores images and other data.)

Henrik

On Tuesday, 14 August 2012 01:46:25 UTC+2, Steve wrote:

    Hi Peter,

    I loaded 2.0.1 on a MacBook Pro running OS 10.6.8.  I can't view the
    images that I inserted into my cards (in both preview and review
    modes).  All images have been saved to the default mnemosyne
    directory, and I've tried images as small as 3kb  Any help would be
    appreciated!

    Thanks
    Steve


--
You received this message because you are subscribed to the Google
Groups "mnemosyne-proj-users" group.
To post to this group, send email to mnemosyne-proj-users@googlegroups.com.

To unsubscribe from this group, send email to

Peter Bienstman

unread,
Aug 14, 2012, 4:25:46 AM8/14/12
to mnemosyne-...@googlegroups.com
On 08/14/2012 10:23 AM, Patrick Kenny wrote:

> Peter, could you give me a little more information? Which file types is
> Mnemosyne supposed to support, and what plugins did you need to add?

Both PNG and JPG should be supported, but for the latter, I need to
bundle the following files on Windows:

("imageformats",
glob.glob(r"C:\Python27\Lib\site-packages\PyQt4\plugins\imageformats\*.dll")),

Cheers,

Peter

Henrik in Oslo

unread,
Aug 14, 2012, 5:35:12 AM8/14/12
to mnemosyne-...@googlegroups.com
All my images are jpg, 
Tested png now. Png works

/ Henrik

Steve

unread,
Aug 14, 2012, 12:52:39 PM8/14/12
to mnemosyne-...@googlegroups.com
I was trying to insert gif and jpeg, neither worked.  I just checked .png, it works fine.

Thanks,
Steve 

Patrick Kenny

unread,
Aug 17, 2012, 5:00:20 AM8/17/12
to mnemosyne-...@googlegroups.com
Ok, I have confirmed this.  Unfortunately, adding JPG support to a QT app is apparently much easier on Windows than on the Mac.  (http://www.thetoryparty.com/2009/08/27/pyqt-and-py2app-seriously-i-dont-know-what-to-do-with-you-when-youre-like-this/)

I will try to fix this in a couple weeks when I have some more time but I spent about an hour looking into it today and came up with nothing.

Patrick

Henrik in Oslo

unread,
Aug 17, 2012, 7:20:30 AM8/17/12
to mnemosyne-...@googlegroups.com
That's great. It will liberate me from MS-Windows... :-) 
Out of curiosity: 
1) Is png more "standard" than jpg?
2) Should I consider coverting jpg to png to stay more "open" for future development (small devices, many devices, IPhone, IPad etc)? 

/ Henrik 

George Wade

unread,
Aug 18, 2012, 10:42:37 AM8/18/12
to mnemosyne-...@googlegroups.com
It would be worth while, from my point of view:  to have a list of graphic formats that can be readily supported, long term, in Mnemosyne 2.x Mac.  Together with properties that would be available:  Eg.  B&W;   8, 16, 64, 256 up to millions of colours;  range of compression available...

A similar list of video formats available would help  OR  how to script a live link from a card field.

George

On 17 Aug 2012, at 04:20, Henrik in Oslo wrote:

That's great. It will liberate me from MS-Windows... :-) 
Out of curiosity: 
1) Is png more "standard" than jpg?
2) Should I consider converting jpg to png to stay more "open" for future development (small devices, many devices, IPhone, IPad etc)? 

/ Henrik 

On Friday, 17 August 2012 11:00:20 UTC+2, Patrick Kenny wrote:
Ok, I have confirmed this.  Unfortunately, adding JPG support to a QT app is apparently much easier on Windows than on the Mac.  (http://www.thetoryparty.com/2009/08/27/pyqt-and-py2app-seriously-i-dont-know-what-to-do-with-you-when-youre-like-this/)

I will try to fix this in a couple weeks when I have some more time but I spent about an hour looking into it today and came up with nothing.

Patrick

.....

Henrik in Oslo

unread,
Sep 12, 2012, 4:39:33 PM9/12/12
to mnemosyne-...@googlegroups.com
Hi
My Win7 PC has a broken power-input problem and has been sent to the PC hospital. I therefore  downloaded Mnem 2.1 to my IMac. looks beautiful, except for this good old jpg-on- Mac problem.  (Browsing etc seem to be quicker than on the Win-PC). 

Any way I could manually teach Mnem on Mac to read jpg? (quoting Peters mail in this chain:  
("imageformats", 
glob.glob(r"C:\Python27\Lib\site-packages\PyQt4\plugins\imageformats\*.dll")), 

(Surely more people than myself must be affected by this?) 


Thanks in advance,

/Henrik

Patrick Kenny

unread,
Sep 22, 2012, 7:17:41 AM9/22/12
to mnemosyne-...@googlegroups.com
Greetings,

I was finally able to fix this.  I have uploaded a new version of Mnemosyne to the website that supports JPG and GIF in addition to PNG.  Please let me know if you have any more problems with the Mac version.


Cheers,
Patrick

Henrik in Oslo

unread,
Sep 22, 2012, 8:50:38 AM9/22/12
to mnemosyne-...@googlegroups.com
Hi Parick
Just did a brief test and it seems to work. 

Splendid! I am very grateful, this really takes computer-use to a new level for me (I am finally free form MS). Feels great :-)


/ Henrik
Reply all
Reply to author
Forward
0 new messages