unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24361: guix graph backtrace on graphviz help message
@ 2016-09-03 22:03 Efraim Flashner
  2016-11-01 21:05 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Efraim Flashner @ 2016-09-03 22:03 UTC (permalink / raw)
  To: 24361

[-- Attachment #1: Type: text/plain, Size: 2363 bytes --]

efraim@macbook42:~$ time guix graph -t bag pbzip2 | dot -tpdf > pbzip2.pdf
Error: dot: option -t unrecognized

Usage: dot [-Vv?] [-(GNE)name=val] [-(KTlso)<val>] <dot files>
(additional options for neato)    [-x] [-n<v>]
(additional options for fdp)      [-L(gO)] [-L(nUCT)<val>]
(additional options for memtest)  [-m<v>]
(additional options for config)  [-cv]

 -V          - Print version and exit
 -v          - Enable verbose mode
 -Gname=val  - Set graph attribute 'name' to 'val'
 -Nname=val  - Set node attribute 'name' to 'val'
 -Ename=val  - Set edge attribute 'name' to 'val'
 -Tv         - Set output format to 'v'
 -Kv         - Set layout engine to 'v' (overrides default based on command name)
 -lv         - Use external library 'v'
 -ofile      - Write output to 'file'
 -O          - Automatically generate an output filename based on the input filename with a .'format' appended. (Causes all -ofile options to be ignored.)
 -P          - Internally generate a graph of the current plugins.
 -q[l]       - Set level of message suppression (=1)
 -s[v]       - Scale input by 'v' (=72)
 -y          - Invert y coordinate in output

 -n[v]       - No layout mode 'v' (=1)
 -x          - Reduce graph

 -Lg         - Don't use grid
 -LO         - Use old attractive force
 -Ln<i>      - Set number of iterations to i
 -LU<i>      - Set unscaled factor to i
 -LC<v>      - Set overlap expansion factor to v
 -LT[*]<v>   - Set temperature (temperature factor) to v

 -m          - Memory test (Observe no growth with top. Kill when done.)
 -m[v]       - Memory test - v iterations.

 -c          - Configure plugins (Writes $prefix/lib/graphviz/config with available plugin information.  Needs write privilege.)
 -?          - Print usage and exit
guix graph: error: scm_flush: Broken pipe
Backtrace:
In unknown file:
    ?: 2 [apply-smob/1 #<catch-closure b11180> quit 1]
In ice-9/boot-9.scm:
    157: 1 [catch #t #<catch-closure 52254c0> ...]
In unknown file:
    ?: 0 [apply-smob/1 #<catch-closure 52254c0>]

ERROR: In procedure apply-smob/1:
ERROR: In procedure scm_flush: Broken pipe

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#24361: guix graph backtrace on graphviz help message
  2016-09-03 22:03 bug#24361: guix graph backtrace on graphviz help message Efraim Flashner
@ 2016-11-01 21:05 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2016-11-01 21:05 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 24361-done

Efraim Flashner <efraim@flashner.co.il> skribis:

> efraim@macbook42:~$ time guix graph -t bag pbzip2 | dot -tpdf > pbzip2.pdf

[...]

> guix graph: error: scm_flush: Broken pipe

Hi Efraim!  It’s a feature, not a bug: ‘guix graph’ wasn’t able to write
everything to standard output, so it errors out.

There are other cases where it’s best to silently ignore that (‘guix
package -A’ does that for instance), but this is not one of them IMO.

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-01 21:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-03 22:03 bug#24361: guix graph backtrace on graphviz help message Efraim Flashner
2016-11-01 21:05 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).