Skip Menu |

This queue is for tickets about the SQL-Translator CPAN distribution.

Report information
The Basics
Id: 29265
Status: resolved
Worked: 1 min
Priority: 0/
Queue: SQL-Translator

People
Owner: kclark [...] cpan.org
Requestors: yanick+cpan [...] babyl.dyndns.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.08
Fixed in: (no value)



Subject: sqlt-diagram: --natural-join needs Graph::Directed
I ran the following instance of 'sqlt-diagram' and got that error: sqlt-diagram -f=SQLite --natural-join -o digikam.png --color digikam.schema Error: translate: Error with producer 'SQL::Translator::Producer::Diagram': Can't locate object method "new" via package "Graph::Directed" (perhaps you forgot to load "Graph::Directed"?) at /usr/lib/perl5/site_perl/5.8.6/SQL/Translator/Schema.pm line 95. And, indeed, the function SQL::Translator::Schema::as_graph_pm uses Graph::Directed without ever importing that module. Inserting a 'use Graph::Directed' in S::T::S took care of the problem. (btw, SQL::Translator if the niftiest module I've seen in a little while. Congrats and keep the good work!)
Well, it looks like things have really changed since I first wrote this using Graph::Directed. It looks like all that has been completely replaced with some custom code, so I'll assume this is not longer applicable.