Status: New Owner: alexandr...@gmail.com Labels: Type-Defect Priority-Medium Component-Mondrian Milestone-4.5
New issue 649 by tu...@tudorgirba.com: PNG, BMP, GIF exports do not work anymore in Mondrian http://code.google.com/p/moose-technology/issues/detail?id=649
The dialog appear, but the files are not created.
Updates: Status: Fixed
Comment #1 on issue 649 by alexandr...@gmail.com: PNG, BMP, GIF exports do not work anymore in Mondrian http://code.google.com/p/moose-technology/issues/detail?id=649
This is a serious issue. I found the problem: http://code.google.com/p/pharo/issues/detail?id=4383 , but it is pharo related.
For now, the export will be stored next to the image.
New version of Mondrian: 2.102 : Exporting does not ask for the directory anymore. This is broken in Pharo. The original behavior will be reverted once this is fixed
Updates: Status: Started
Comment #2 on issue 649 by alexandr...@gmail.com: PNG, BMP, GIF exports do not work anymore in Mondrian http://code.google.com/p/moose-technology/issues/detail?id=649
Doru, apparently the problem comes from the fact that a old version of Pharo 1.3 is used in the build. Can you update the image used by jenkins?
Comment #3 on issue 649 by tu...@tudorgirba.com: PNG, BMP, GIF exports do not work anymore in Mondrian http://code.google.com/p/moose-technology/issues/detail?id=649
The latest Moose build uses now the latest Pharo 1.3 (216)
Comment #4 on issue 649 by alexandr...@gmail.com: PNG, BMP, GIF exports do not work anymore in Mondrian http://code.google.com/p/moose-technology/issues/detail?id=649
Ok, I will check with the new build if the problem is still present. I will then close this issue.
Comment #5 on issue 649 by tu...@tudorgirba.com: PNG, BMP, GIF exports do not work anymore in Mondrian http://code.google.com/p/moose-technology/issues/detail?id=649
Before you do that, there should be only one dialog, not two. Right now, first you ask for the file name and then for the folder. But, you can use one dialog to get the file and folder:
UITheme builder fileSave: 'Your title here' extensions: #('png') path: nil.
Comment #6 on issue 649 by alexandr...@gmail.com: PNG, BMP, GIF exports do not work anymore in Mondrian http://code.google.com/p/moose-technology/issues/detail?id=649
in 2.107. Thanks Doru for the tip. But something strange, is that it returns a stream and not a filename. Really strange. I have to do something like: interactiveExportWith: imageWriterClass extension: fileExtension "Ask for a file name and a directory"
| fileStream | fileStream := UITheme builder fileSave: 'Your title here' extensions: #('png') path: nil. "Very strange that I obtain a stream". fileStream ifNil: [ self inform: 'saving aborded'. ^ self ]. fileStream close. FileDirectory deleteFilePath: fileStream name. self exportWith: imageWriterClass fullname: fileStream name.
Which is really ugly
Updates: Labels: -Milestone-4.5 Milestone-4.6
Comment #7 on issue 649 by jannik.l...@gmail.com: PNG, BMP, GIF exports do not work anymore in Mondrian http://code.google.com/p/moose-technology/issues/detail?id=649
(No comment was entered for this change.)
Updates: Status: Fixed
Comment #8 on issue 649 by alexandr...@gmail.com: PNG, BMP, GIF exports do not work anymore in Mondrian http://code.google.com/p/moose-technology/issues/detail?id=649
I forgot to close this. This is part of Moose 4.5