Issue 649 in moose-technology: PNG, BMP, GIF exports do not work anymore in Mondrian

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 649 in moose-technology: PNG, BMP, GIF exports do not work anymore in Mondrian

moose-technology
Status: New
Owner: [hidden email]
Labels: Type-Defect Priority-Medium Component-Mondrian Milestone-4.5

New issue 649 by [hidden email]: 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.

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 649 in moose-technology: PNG, BMP, GIF exports do not work anymore in Mondrian

moose-technology
Updates:
        Status: Fixed

Comment #1 on issue 649 by [hidden email]: 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


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 649 in moose-technology: PNG, BMP, GIF exports do not work anymore in Mondrian

moose-technology
Updates:
        Status: Started

Comment #2 on issue 649 by [hidden email]: 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?

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 649 in moose-technology: PNG, BMP, GIF exports do not work anymore in Mondrian

moose-technology

Comment #3 on issue 649 by [hidden email]: 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)

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 649 in moose-technology: PNG, BMP, GIF exports do not work anymore in Mondrian

moose-technology

Comment #4 on issue 649 by [hidden email]: 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.

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 649 in moose-technology: PNG, BMP, GIF exports do not work anymore in Mondrian

moose-technology

Comment #5 on issue 649 by [hidden email]: 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.

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 649 in moose-technology: PNG, BMP, GIF exports do not work anymore in Mondrian

moose-technology

Comment #6 on issue 649 by [hidden email]: 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

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 649 in moose-technology: PNG, BMP, GIF exports do not work anymore in Mondrian

moose-technology
Updates:
        Labels: -Milestone-4.5 Milestone-4.6

Comment #7 on issue 649 by [hidden email]: 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.)

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 649 in moose-technology: PNG, BMP, GIF exports do not work anymore in Mondrian

moose-technology
Updates:
        Status: Fixed

Comment #8 on issue 649 by [hidden email]: 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

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev