|
From: Carlos P. <cpa...@ce...> - 2015-12-02 08:01:48
|
Oops, sorry for not replying.
I had a look at it but since I cannot reproduce it straight away I
delayed the reply till I had time for a further look.
It is nice that you fixed it.
Carlos
On Tue 1 December 2015 14:59:56 Teresa Nunez wrote:
> Hello,
> it was a problem in our installation, now it is solved,
> so this mail can be ignored.
>
> Regards,
> Teresa
>
> On 11/30/15 11:08, Teresa Nunez wrote:
> > Hello,
> >
> > I have a problem with the taurusimage widget, when I want
> > to
> >
> > give
> > a file name for saving or exporting the image (using 'Save as ...'
> > or
> > 'Export data ...'
> >
> > from the menu opened when clicking on the image). The name that I
> >
> > give to
> >
> > the QFileDialog window that is opened is seen as an unicode list,
> >
> > instead of
> >
> > as an string, I mean, it becomes, ex.
> >
> > [u'/', u'h', u'o', u'm', u'e', u'/', u't', u'n', u'u', u'n', u'e',
> >
> > u'z', u'/', u't', u'a', u'u', u'r', u'u', u's', u'_', u'g', u'u',
> > u'i', u's', u'/', u'I', u'm', u'a', u'g', u'e', u'V', u'i', u'e',
> > u'w', u'e', u'r', u'/', u't', u'e', u's', u't', u'.', u'p', u'n',
> > u'g']>
> > instead of:
> > /home/tnunez/taurus_guis/ImageViewer/test.png
> >
> > And with this I get the error:
> > File "/usr/lib/python2.7/dist-packages/guiqwt/qthelpers.py", line
> > 66,
> > in exec_image_save_dialog
> >
> > io.imwrite(filename, data)
> >
> > File "/usr/lib/python2.7/dist-packages/guiqwt/io.py", line 395, in
> >
> > imwrite
> >
> > iohandler.get_writefunc(ext)(fname, arr, **kwargs)
> >
> > File "/usr/lib/python2.7/dist-packages/guiqwt/io.py", line 155, in
> >
> > get_writefunc
> >
> > ftype = self._get_filetype(ext)
> >
> > File "/usr/lib/python2.7/dist-packages/guiqwt/io.py", line 143, in
> >
> > _get_filetype
> >
> > raise RuntimeError("Unsupported file type: '%s'" % ext)
> >
> > RuntimeError: Unsupported file type: ''
> >
> >
> > I have this problem since the operating system of my computer was
> > changed from
> >
> > debian7 to debian8, with the following changes in pyqt and guiqwt
> >
> > versions:
> >
> > debian7:
> > python-guiqwt_2.1.6-4_amd64.deb
> > pyqt4-dev-tools_4.9.3-4_amd64.deb
> >
> > debian8:
> > python-guiqwt_2.3.1-1_amd64.deb
> > pyqt4-dev-tools_4.11.2+dfsg-1_amd64.deb
> >
> > In both cases the python version was 2.7 and taurus 3.6.
> > Do you have any idea why the problem happens, and how could be
> > solved?. Thanks a lot.
> >
> > Regards,
> >
> > Teresa
>
> ----------------------------------------------------------------------
> -------- Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for
> multiple OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
> _______________________________________________
> Tauruslib-devel mailing list
> Tau...@li...
> https://lists.sourceforge.net/lists/listinfo/tauruslib-devel
--
+----------------------------------------------------+
Carlos Pascual Izarra
Scientific Software Coordinator
Computing Division
ALBA Synchrotron [http://www.albasynchrotron.es]
Carrer de la Llum 2-26
E-08290 Cerdanyola del Valles (Barcelona), Spain
E-mail: cpa...@ce...
Phone: +34 93 592 4428
+----------------------------------------------------+
|