Jordi Gutiérrez Hermoso | 1 Feb 2012 06:15
Picon

[bug #35416] Print command not working

Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only
notification stream.  Info posted to this mailing list address won't appear in the tracker database where
it is most useful.

Follow-up Comment #1, bug #35416 (project octave):

How did you install Octave?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35416>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/

Daniel Clark | 1 Feb 2012 17:31
Picon

[bug #35416] Print command not working

Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only
notification stream.  Info posted to this mailing list address won't appear in the tracker database where
it is most useful.

Follow-up Comment #2, bug #35416 (project octave):

Used the .dmg installer from http://octave.sourceforge.net/ and dragged and
dropped Octave.app into my applications folder (standard method for mac osx
application install)

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35416>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/

Jordi Gutiérrez Hermoso | 1 Feb 2012 17:37
Picon

[bug #35416] Print command not working on Macintosh OS .dmg

Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only
notification stream.  Info posted to this mailing list address won't appear in the tracker database where
it is most useful.

Update of bug #35416 (project octave):

                 Summary: Print command not working => Print command not
working on Macintosh OS .dmg

    _______________________________________________________

Follow-up Comment #3:

So that's 3.4.0, right? I don't think anyone has made a 3.4.3 .dmg yet.

And I imagine it's with gnuplot, right? If you use fltk (enable with
"graphics_toolkit fltk"), does the problem persist?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35416>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/

Jordi Gutiérrez Hermoso | 1 Feb 2012 17:42
Picon

[bug #35416] Print command not working on Macintosh OS .dmg

Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only
notification stream.  Info posted to this mailing list address won't appear in the tracker database where
it is most useful.

Follow-up Comment #4, bug #35416 (project octave):

Oh, a few more ideas.

Could you try without the tilde expansion? ("foo.jpg", not "~/foo.jpg")

If you're using gnuplot, could you please produce debug output? Do 

drawnow ("x11", "/dev/null", false, "debug.gp") 

Also try without giving an explicit figure handle, just 

print foo.jpg

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35416>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/

Daniel Clark | 1 Feb 2012 18:24
Picon

[bug #35416] Print command not working on Macintosh OS .dmg

Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only
notification stream.  Info posted to this mailing list address won't appear in the tracker database where
it is most useful.

Follow-up Comment #5, bug #35416 (project octave):

Yeah I tried changing the graphics toolkit to FLTK with no luck, with gnu plot
or fltk i get the same result when using something simple like "print
foo.jpg":

sh: -dQUIET: command not found
warning: broken pipe -- some output may be lost

Also, draw now requires the filename string at the end to be an FID, as
opposed to a string'd name. Not sure how to do that to test your other theory.
But either way, no luck.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35416>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/

Jordi Gutiérrez Hermoso | 1 Feb 2012 18:33
Picon

[bug #35416] Print command not working on Macintosh OS .dmg

Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only
notification stream.  Info posted to this mailing list address won't appear in the tracker database where
it is most useful.

Update of bug #35416 (project octave):

                 Release:                   3.4.3 => 3.4.0                  

    _______________________________________________________

Follow-up Comment #6:

> Also, draw now requires the filename string at the end to be 
> an FID, as opposed to a string'd name.

What? 

No it doesn't:

http://hg.savannah.gnu.org/hgweb/octave/file/2848dd7c4dd7/src/graphics.cc#l7506

That's from the 3.4.0 release you're using. So what gave you the idea that it
needed an FID?

Can you try using a different build for Macintosh OS? The Macports package is
receiving a lot more maintenance nowadays than that .dmg (sorry). We haven't
had a lot of people step up to maintain that .dmg; do you want to do it
yourself?

    _______________________________________________________
(Continue reading)

Daniel Clark | 1 Feb 2012 19:20
Picon

[bug #35416] Print command not working on Macintosh OS .dmg

Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only
notification stream.  Info posted to this mailing list address won't appear in the tracker database where
it is most useful.

Follow-up Comment #7, bug #35416 (project octave):

Sorry, maybe its the fltk kit or something; heres the response i got when I
used it:

octave-3.4.0:13> drawnow("x11","/dev/null",false,"debug.gp")
error: fltk_graphics_toolkit: filename should be fid

Either way, the 3.2.3 release works for me great . No thanks on maintaining
the dmg distribution - thanks though.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35416>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/

Ben Abbott | 1 Feb 2012 20:11
Picon

[bug #35430] fltk figure units = "normalized" shrinks plot to 1 pixel

Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only
notification stream.  Info posted to this mailing list address won't appear in the tracker database where
it is most useful.

URL:
  <http://savannah.gnu.org/bugs/?35430>

                 Summary: fltk figure units = "normalized" shrinks plot to 1
pixel
                 Project: GNU Octave
            Submitted by: bpabbott
            Submitted on: Wed 01 Feb 2012 02:11:19 PM EST
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Ben Abbott
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

These commands display an empty figure as expected.
(Continue reading)

Ben Abbott | 2 Feb 2012 02:44
Picon

[bug #35430] fltk figure units = "normalized" shrinks plot to 1 pixel

Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only
notification stream.  Info posted to this mailing list address won't appear in the tracker database where
it is most useful.

Follow-up Comment #1, bug #35430 (project octave):

More info. First with gnuplot

graphics_toolkit gnuplot
figure
pixels = get (gcf, "position")
pixels =

   300   200   560   420

set (gcf, "units", "normalized")
normalized = get (gcf, "position")
normalized =

   0.17798   0.19358   0.33333   0.40856

Now with fltk

graphics_toolkit fltk
figure
pixels = get (gcf, "position")
pixels =

   1014     44    560    420

(Continue reading)

Ben Abbott | 2 Feb 2012 03:06
Picon

[bug #35416] Print command not working on Macintosh OS .dmg

Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only
notification stream.  Info posted to this mailing list address won't appear in the tracker database where
it is most useful.

Follow-up Comment #8, bug #35416 (project octave):

The error below indicates a problem with ghostscript.

sh: -dQUIET: command not found 
-verbatom-

My guess is that ghostscript isn't installed on Daniel's Mac.

I checked the DMG built on April 20, 2011, ghostscript isn't included.

Looks to me like epstool, pstoedit, and fig2dev are also missing.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35416>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


Gmane