Skip to content

Conversation

@mdboom
Copy link
Contributor

@mdboom mdboom commented Sep 20, 2013

After fixing #935, this other bug was revealed beneath. It's probably "upstream fix required" but I'm adding it here so we can track our compatibility with Sphinx 1.2.

WARNING: dot code 'digraph inheritancee1541eba43 {\nrankdir=LR;\nsize="8.0, 12.0";\n  "astropy.time.core.ScaleValueError" [style="setlinewidth(0.5)",URL="../_generated/astropy.time.core.ScaleValueErr
or.html#astropy.time.core.ScaleValueError",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",height=0.25,shape=box,fontsize=10];\n  "astropy.time.core.TimeUnix" [style="setli
newidth(0.5)",URL="../_generated/astropy.time.core.TimeUnix.html#astropy.time.core.TimeUnix",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Unix time: seconds fro
m 1970-01-01 00:00:00 UTC.",height=0.25,shape=box,fontsize=10];\n  "astropy.time.core.TimeFromEpoch" -> "astropy.time.core.TimeUnix" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.time.core.T
imeISO" [style="setlinewidth(0.5)",URL="../_generated/astropy.time.core.TimeISO.html#astropy.time.core.TimeISO",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="ISO
 8601 compliant date-time format "YYYY-MM-DD HH:MM:SS.sss...".",height=0.25,shape=box,fontsize=10];\n  "astropy.time.core.TimeString" -> "astropy.time.core.TimeISO" [arrowsize=0.5,style="setlinewidth
(0.5)"];\n  "astropy.time.core.OperandTypeError" [style="setlinewidth(0.5)",URL="../_generated/astropy.time.core.OperandTypeError.html#astropy.time.core.OperandTypeError",fontname="Vera Sans, DejaVu 
Sans, Liberation Sans, Arial, Helvetica, sans",height=0.25,shape=box,fontsize=10];\n  "astropy.time.core.TimeEpochDate" [style="setlinewidth(0.5)",URL="../_generated/astropy.time.core.TimeEpochDate.h
tml#astropy.time.core.TimeEpochDate",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Base class for support floating point Besselian and Julian epoch dates",height
=0.25,shape=box,fontsize=10];\n  "astropy.time.core.TimeFormat" -> "astropy.time.core.TimeEpochDate" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.time.core.TimeEpochDateString" [style="setl
inewidth(0.5)",URL="../_generated/astropy.time.core.TimeEpochDateString.html#astropy.time.core.TimeEpochDateString",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip=
"Base class to support string Besselian and Julian epoch dates",height=0.25,shape=box,fontsize=10];\n  "astropy.time.core.TimeString" -> "astropy.time.core.TimeEpochDateString" [arrowsize=0.5,style="
setlinewidth(0.5)"];\n  "astropy.time.core.TimeFromEpoch" [style="setlinewidth(0.5)",URL="../_generated/astropy.time.core.TimeFromEpoch.html#astropy.time.core.TimeFromEpoch",fontname="Vera Sans, Deja
Vu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Base class for times that represent the interval from a particular",height=0.25,shape=box,fontsize=10];\n  "astropy.time.core.TimeFormat" ->
 "astropy.time.core.TimeFromEpoch" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.time.core.TimeBesselianEpochString" [style="setlinewidth(0.5)",URL="../_generated/astropy.time.core.TimeBesse
lianEpochString.html#astropy.time.core.TimeBesselianEpochString",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Besselian Epoch year as string value(s) like \'B19
50.0\'",height=0.25,shape=box,fontsize=10];\n  "astropy.time.core.TimeEpochDateString" -> "astropy.time.core.TimeBesselianEpochString" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.time.core
.TimeDelta" [style="setlinewidth(0.5)",URL="../_generated/astropy.time.core.TimeDelta.html#astropy.time.core.TimeDelta",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tool
tip="Represent the time difference between two times.",height=0.25,shape=box,fontsize=10];\n  "astropy.time.core.Time" -> "astropy.time.core.TimeDelta" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "
astropy.time.core.TimeFormat" [style="setlinewidth(0.5)",URL="../_generated/astropy.time.core.TimeFormat.html#astropy.time.core.TimeFormat",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, H
elvetica, sans",tooltip="Base class for time representations.",height=0.25,shape=box,fontsize=10];\n  "astropy.time.core.TimeCxcSec" [style="setlinewidth(0.5)",URL="../_generated/astropy.time.core.Ti
meCxcSec.html#astropy.time.core.TimeCxcSec",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Chandra X-ray Center seconds from 1998-01-01 00:00:00 TT",height=0.25,s
hape=box,fontsize=10];\n  "astropy.time.core.TimeFromEpoch" -> "astropy.time.core.TimeCxcSec" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.time.core.TimeJulianEpochString" [style="setlinewi
dth(0.5)",URL="../_generated/astropy.time.core.TimeJulianEpochString.html#astropy.time.core.TimeJulianEpochString",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="
Julian Epoch year as string value(s) like \'J2000.0\'",height=0.25,shape=box,fontsize=10];\n  "astropy.time.core.TimeEpochDateString" -> "astropy.time.core.TimeJulianEpochString" [arrowsize=0.5,style
="setlinewidth(0.5)"];\n  "astropy.time.core.TimeDeltaJD" [style="setlinewidth(0.5)",URL="../_generated/astropy.time.core.TimeDeltaJD.html#astropy.time.core.TimeDeltaJD",fontname="Vera Sans, DejaVu S
ans, Liberation Sans, Arial, Helvetica, sans",tooltip="Time delta in Julian days (86400 SI seconds)",height=0.25,shape=box,fontsize=10];\n  "astropy.time.core.TimeDeltaFormat" -> "astropy.time.core.T
imeDeltaJD" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.time.core.TimeDatetime" [style="setlinewidth(0.5)",URL="../_generated/astropy.time.core.TimeDatetime.html#astropy.time.core.TimeDate
time",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Represent date as Python standard library `~datetime.datetime` object",height=0.25,shape=box,fontsize=10];\n 
 "astropy.time.core.TimeUnique" -> "astropy.time.core.TimeDatetime" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.time.core.TimeString" [style="setlinewidth(0.5)",URL="../_generated/astropy.
time.core.TimeString.html#astropy.time.core.TimeString",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Base class for string-like time represetations.",height=0.2
5,shape=box,fontsize=10];\n  "astropy.time.core.TimeUnique" -> "astropy.time.core.TimeString" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.time.core.TimeJD" [style="setlinewidth(0.5)",URL="
../_generated/astropy.time.core.TimeJD.html#astropy.time.core.TimeJD",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Julian Date time format",height=0.25,shape=bo
x,fontsize=10];\n  "astropy.time.core.TimeFormat" -> "astropy.time.core.TimeJD" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.time.core.TimeYearDayTime" [style="setlinewidth(0.5)",URL="../_g
enerated/astropy.time.core.TimeYearDayTime.html#astropy.time.core.TimeYearDayTime",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Year, day-of-year and time as "Y
YYY:DOY:HH:MM:SS.sss...".  The",height=0.25,shape=box,fontsize=10];\n  "astropy.time.core.TimeString" -> "astropy.time.core.TimeYearDayTime" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.tim
e.core.TimeJulianEpoch" [style="setlinewidth(0.5)",URL="../_generated/astropy.time.core.TimeJulianEpoch.html#astropy.time.core.TimeJulianEpoch",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Aria
l, Helvetica, sans",tooltip="Julian Epoch year as floating point value(s) like 2000.0",height=0.25,shape=box,fontsize=10];\n  "astropy.time.core.TimeEpochDate" -> "astropy.time.core.TimeJulianEpoch" 
[arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.time.core.TimePlotDate" [style="setlinewidth(0.5)",URL="../_generated/astropy.time.core.TimePlotDate.html#astropy.time.core.TimePlotDate",fontna
me="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Matplotlib `~matplotlib.pyplot.plot_date` input: 1 + number of days from 0001-01-01 00:00:00 UTC",height=0.25,shape=box,f
ontsize=10];\n  "astropy.time.core.TimeFromEpoch" -> "astropy.time.core.TimePlotDate" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.time.core.TimeUnique" [style="setlinewidth(0.5)",fontname=
"Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Base class for time formats that can uniquely create a time object",height=0.25,shape=box,fontsize=10];\n  "astropy.time.cor
e.TimeFormat" -> "astropy.time.core.TimeUnique" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.time.core.TimeDeltaSec" [style="setlinewidth(0.5)",URL="../_generated/astropy.time.core.TimeDelt
aSec.html#astropy.time.core.TimeDeltaSec",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Time delta in SI seconds",height=0.25,shape=box,fontsize=10];\n  "astropy
.time.core.TimeDeltaFormat" -> "astropy.time.core.TimeDeltaSec" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.time.core.TimeISOT" [style="setlinewidth(0.5)",URL="../_generated/astropy.time.c
ore.TimeISOT.html#astropy.time.core.TimeISOT",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="ISO 8601 compliant date-time format "YYYY-MM-DDTHH:MM:SS.sss...".",he
ight=0.25,shape=box,fontsize=10];\n  "astropy.time.core.TimeString" -> "astropy.time.core.TimeISOT" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.time.core.Time" [style="setlinewidth(0.5)",U
RL="../_generated/astropy.time.core.Time.html#astropy.time.core.Time",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Represent and manipulate times and dates for 
astronomy.",height=0.25,shape=box,fontsize=10];\n  "astropy.time.core.TimeBesselianEpoch" [style="setlinewidth(0.5)",URL="../_generated/astropy.time.core.TimeBesselianEpoch.html#astropy.time.core.Tim
eBesselianEpoch",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Besselian Epoch year as floating point value(s) like 1950.0",height=0.25,shape=box,fontsize=10];\n
  "astropy.time.core.TimeEpochDate" -> "astropy.time.core.TimeBesselianEpoch" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.time.core.TimeMJD" [style="setlinewidth(0.5)",URL="../_generated/a
stropy.time.core.TimeMJD.html#astropy.time.core.TimeMJD",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Modified Julian Date time format",height=0.25,shape=box,fo
ntsize=10];\n  "astropy.time.core.TimeFormat" -> "astropy.time.core.TimeMJD" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.time.core.TimeDeltaFormat" [style="setlinewidth(0.5)",URL="../_gene
rated/astropy.time.core.TimeDeltaFormat.html#astropy.time.core.TimeDeltaFormat",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Base class for time delta represent
ations",height=0.25,shape=box,fontsize=10];\n  "astropy.time.core.TimeFormat" -> "astropy.time.core.TimeDeltaFormat" [arrowsize=0.5,style="setlinewidth(0.5)"];\n}\n': dot exited with error:
[stderr]
Error: <stdin>:7: syntax error near line 7
context:   "astropy.time.core.TimeISO" [style="setlinewidth(0.5)",URL="../_generated/astropy.time.core.TimeISO.html#astropy.time.core.TimeISO",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial
, Helvetica, sans",tooltip="ISO 8601 compliant date-time format >>>  "YYYY- <<< MM-DD HH:MM:SS.sss...".",height=0.25,shape=box,fontsize=10];

[stdout]

@mdboom
Copy link
Contributor Author

mdboom commented Apr 3, 2013

It appears to be putting unescaped quotes within strings.

@mdboom
Copy link
Contributor Author

mdboom commented Apr 3, 2013

@eteq
Copy link
Member

eteq commented Apr 5, 2013

@mdboom - did you get it to build sucessfully with the fix you posted? I get the error I've included below when I use the latest sphinx tip with your addition:

WARNING: dot code u'digraph inheritance1ca1ab0966 {\nrankdir=LR;\nsize="8.0, 12.0";\n  "astropy.coordinates.builtin_systems.GalacticCoordinates" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.builtin_systems.GalacticCoordinates.html#astropy.coordinates.builtin_systems.GalacticCoordinates",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="A coordinate in Galactic Coordinates.",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.coordsystems.SphericalCoordinatesBase" -> "astropy.coordinates.builtin_systems.GalacticCoordinates" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.coordinates.errors.IllegalSecondError" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.errors.IllegalSecondError.html#astropy.coordinates.errors.IllegalSecondError",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Raised when an second value (time) is not in the range [0,60).",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.errors.RangeError" -> "astropy.coordinates.errors.IllegalSecondError" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.coordinates.transformations.CoordinateTransform" [style="setlinewidth(0.5)",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="An object that transforms a coordinate from one system to another.",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.errors.RangeError" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.errors.RangeError.html#astropy.coordinates.errors.RangeError",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Raised when some part of an angle is out of its valid range.",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.transformations.CompositeStaticMatrixTransform" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.transformations.CompositeStaticMatrixTransform.html#astropy.coordinates.transformations.CompositeStaticMatrixTransform",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="A `MatrixTransform` constructed by combining a sequence of matricies",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.transformations.StaticMatrixTransform" -> "astropy.coordinates.transformations.CompositeStaticMatrixTransform" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.coordinates.errors.BoundsError" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.errors.BoundsError.html#astropy.coordinates.errors.BoundsError",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Raised when an angle is outside of its user-specified bounds.",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.errors.RangeError" -> "astropy.coordinates.errors.BoundsError" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.coordinates.transformations.DynamicMatrixTransform" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.transformations.DynamicMatrixTransform.html#astropy.coordinates.transformations.DynamicMatrixTransform",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="A coordinate transformation specified as a function that yields a",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.transformations.CoordinateTransform" -> "astropy.coordinates.transformations.DynamicMatrixTransform" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.coordinates.transformations.FunctionTransform" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.transformations.FunctionTransform.html#astropy.coordinates.transformations.FunctionTransform",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="A coordinate transformation defined by a function that simply",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.transformations.CoordinateTransform" -> "astropy.coordinates.transformations.FunctionTransform" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.coordinates.builtin_systems.HorizontalCoordinates" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.builtin_systems.HorizontalCoordinates.html#astropy.coordinates.builtin_systems.HorizontalCoordinates",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="A coordinate in the Horizontal or "az/el" system.",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.coordsystems.SphericalCoordinatesBase" -> "astropy.coordinates.builtin_systems.HorizontalCoordinates" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.coordinates.angles.RA" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.angles.RA.html#astropy.coordinates.angles.RA",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="An object that represents a right ascension angle.",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.angles.Angle" -> "astropy.coordinates.angles.RA" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.coordinates.angles.AngularSeparation" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.angles.AngularSeparation.html#astropy.coordinates.angles.AngularSeparation",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="An on-sky separation between two directions.",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.angles.Angle" -> "astropy.coordinates.angles.AngularSeparation" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.coordinates.errors.IllegalMinuteError" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.errors.IllegalMinuteError.html#astropy.coordinates.errors.IllegalMinuteError",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Raised when an minute value is not in the range [0,60).",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.errors.RangeError" -> "astropy.coordinates.errors.IllegalMinuteError" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.coordinates.distances.Distance" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.distances.Distance.html#astropy.coordinates.distances.Distance",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="A one-dimensional distance.",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.builtin_systems.FK5Coordinates" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.builtin_systems.FK5Coordinates.html#astropy.coordinates.builtin_systems.FK5Coordinates",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="A coordinate in the FK5 system.",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.coordsystems.SphericalCoordinatesBase" -> "astropy.coordinates.builtin_systems.FK5Coordinates" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.coordinates.errors.UnitsError" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.errors.UnitsError.html#astropy.coordinates.errors.UnitsError",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Raised if units are missing or invalid.",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.builtin_systems.ICRSCoordinates" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.builtin_systems.ICRSCoordinates.html#astropy.coordinates.builtin_systems.ICRSCoordinates",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="A coordinate in the ICRS.",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.coordsystems.SphericalCoordinatesBase" -> "astropy.coordinates.builtin_systems.ICRSCoordinates" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.coordinates.coordsystems.SphericalCoordinatesBase" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.coordsystems.SphericalCoordinatesBase.html#astropy.coordinates.coordsystems.SphericalCoordinatesBase",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Abstract superclass for all coordinate classes representing points",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.errors.IllegalHourError" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.errors.IllegalHourError.html#astropy.coordinates.errors.IllegalHourError",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Raised when an hour value is not in the range [0,24).",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.errors.RangeError" -> "astropy.coordinates.errors.IllegalHourError" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.coordinates.builtin_systems.FK4NoETermCoordinates" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.builtin_systems.FK4NoETermCoordinates.html#astropy.coordinates.builtin_systems.FK4NoETermCoordinates",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="A coordinate in the FK4 system.",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.coordsystems.SphericalCoordinatesBase" -> "astropy.coordinates.builtin_systems.FK4NoETermCoordinates" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.coordinates.distances.CartesianPoints" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.distances.CartesianPoints.html#astropy.coordinates.distances.CartesianPoints",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="A cartesian representation of a point in three-dimensional space.",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.transformations.StaticMatrixTransform" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.transformations.StaticMatrixTransform.html#astropy.coordinates.transformations.StaticMatrixTransform",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="A coordinate transformation defined as a 3 x 3 cartesian",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.transformations.CoordinateTransform" -> "astropy.coordinates.transformations.StaticMatrixTransform" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.coordinates.angles.Dec" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.angles.Dec.html#astropy.coordinates.angles.Dec",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Represents a declination value.",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.angles.Angle" -> "astropy.coordinates.angles.Dec" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.coordinates.angles.Angle" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.angles.Angle.html#astropy.coordinates.angles.Angle",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="An angle.",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.builtin_systems.FK4Coordinates" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.builtin_systems.FK4Coordinates.html#astropy.coordinates.builtin_systems.FK4Coordinates",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="A coordinate in the FK4 system.",height=0.25,shape=box,fontsize=10];\n  "astropy.coordinates.coordsystems.SphericalCoordinatesBase" -> "astropy.coordinates.builtin_systems.FK4Coordinates" [arrowsize=0.5,style="setlinewidth(0.5)"];\n  "astropy.coordinates.errors.ConvertError" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.errors.ConvertError.html#astropy.coordinates.errors.ConvertError",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Raised if a coordinate system cannot be converted to another",height=0.25,shape=box,fontsize=10];\n}\n': dot exited with error:
[stderr]
Error: <stdin>:18: syntax error near line 18
context:   "astropy.coordinates.builtin_systems.HorizontalCoordinates" [style="setlinewidth(0.5)",URL="../_generated/astropy.coordinates.builtin_systems.HorizontalCoordinates.html#astropy.coordinates.builtin_systems.HorizontalCoordinates",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="A coordinate in the Horizontal or >>>  "az/ <<< el" system.",height=0.25,shape=box,fontsize=10];

@mdboom
Copy link
Contributor Author

mdboom commented Apr 8, 2013

@eteq: With the patch here, it completes for me. What you've posted seems to be an instance of the same error, so I'm not sure why it's not working for you. Is your patched Sphinx the same one being used by the sphinx-build commandline tool? (It isn't always the one in the default python on your path).

@eteq
Copy link
Member

eteq commented Apr 8, 2013

@mdboom: I think I figured it out - the fix you have in the sphinx issue does is doc.replace('"', '\"'), which still gave me the error. But if I do doc.replace('"', '\\"') (note the extra backslash) it works. I wonder why it worked for you and not me? Very strange (I also left on note in the sphinx issue about this)

@embray
Copy link
Member

embray commented May 17, 2013

Oh! I just discovered this myself. Didn't realize this was something we were already aware of but this was the first hit on Google when I finally went to search for the issue. I'm having this problem on Windows myself.

@embray
Copy link
Member

embray commented May 17, 2013

Except that I'm getting this on Windows even with Sphinx 1.1.3. It seems to be a slightly different syntax error--it doesn't like the '/' in URLs for some reason.

@eteq
Copy link
Member

eteq commented May 18, 2013

@iguananaut - that's weird... I wonder if it's a different problem, then? And do you think it's a sphinx problem, then, or our problem?

@embray
Copy link
Member

embray commented May 19, 2013

Oh I'm almost certain it's a Sphinx problem, and probably Windows specific. Like most open source projects I doubt it gets much Windows testing ;)

@taldcroft
Copy link
Member

@mdboom - can this be closed now that Sphinx includes the bug fix from your PR?

@mdboom
Copy link
Contributor Author

mdboom commented Sep 20, 2013

I think we should update our minimum required Sphinx version, though.

@mdboom
Copy link
Contributor Author

mdboom commented Sep 20, 2013

Attached a commit that updates the minimum Sphinx version. Since docs building is primarily a problem for developers, I don't see this as introducing a significant burden.

@astrofrog
Copy link
Member

@mdboom - sounds good, feel free to merge!

mdboom added a commit that referenced this pull request Sep 20, 2013
graphviz syntax error generated by Sphinx 1.2b1
@mdboom mdboom merged commit 513b002 into astropy:master Sep 20, 2013
@eteq
Copy link
Member

eteq commented Sep 23, 2013

@mdboom @astrofrog - I don't think we actually wanted to do this. The latest version is not yet released, and this is causing all kinds of travis-related build problems you may or may not have noticed. I also don't think we want to update the minimum version, anyway, as that's the minimum version required to build the docs (e.g., we have features that require 1.1, but none that require 1.2). Also, remember that this conf.py propogates to affiliated packages, so now all their docs might have the same problems until sphinx 1.2 is released.

So I think we should revert back to 1.1 for now. It works fine if you use sphinx 1.1.3 and an appropriate graphviz.

@eteq eteq mentioned this pull request Sep 23, 2013
@eteq
Copy link
Member

eteq commented Sep 23, 2013

Oh, wait, ignore this - I just saw #1478

@mdboom
Copy link
Contributor Author

mdboom commented Sep 23, 2013

We can go two ways -- we can require dev sphinx or require users to downgrade their graphviz. I think the former is much easier to do.

@mdboom mdboom deleted the docs/minimum-sphinx-version branch May 21, 2014 23:55
astrofrog pushed a commit to astropy/sphinx-astropy that referenced this pull request Jan 29, 2018
…x-version

graphviz syntax error generated by Sphinx 1.2b1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Docs Upstream Action Required Was: Upstream Fix Required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants