pipeline_printout_graph not working

14 views
Skip to first unread message

Chris Rands

unread,
Jun 16, 2016, 7:43:42 AM6/16/16
to ruffus_discuss
Hello,

I'm a big fan of ruffus but since I've started working on a different server I can't get pipeline_printout_graph to work, I always get this error:

$ python3 script.py
Traceback (most recent call last):
 
File "script.py", line 100, in <module>
    pipeline_printout_graph
("graph.svg", "svg", target_tasks, user_colour_scheme = {"colour_scheme_index":6})
 
File "/software/lib/python3.4/site-packages/ruffus/task.py", line 2975, in pipeline_printout_graph
    extra_data_for_signal
= [t_verbose_logger(0, 0, None, runtime_data), job_history])
 
File "/software/lib/python3.4/site-packages/ruffus/graph.py", line 1086, in graph_printout
    result_str
= result_str.replace("0.12", "0.0px")
TypeError: expected bytes, bytearray or buffer compatible object

Any help would be much appreciated. Note that I have no problems with pipeline_run or pipeline_printout.

Many thanks,
Chris

Leo Goodstadt

unread,
Jun 16, 2016, 8:53:56 AM6/16/16
to ruffus_...@googlegroups.com

I think there must be a latent python3 bug hiding there. Let me have a look
Leo

--
You received this message because you are subscribed to the Google Groups "ruffus_discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruffus_discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Chris Rands

unread,
Jun 17, 2016, 3:35:47 AM6/17/16
to ruffus_discuss
Thank you Leo. That would be very helpful.
Chris
Reply all
Reply to author
Forward
0 new messages