-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot find erd.pdf file #196
Comments
Hmmm... assuming it ran successfully, it should be saving the file into the same spot where you ran the |
Here is the output of running the command
|
Hmmm... I don't know! Do you have graphviz installed properly? Also, try running Thanks for reporting this.. if we can solve this, we can add a bit more polish and "customer friendly" warnings if we detect something going wrong. ❤️ |
|
The same thing is happening for me (exactly). I am using GraphViz version |
@manish310794 @phikes well dang. I'm on GraphViz |
I am on brew as well and reinstalled already :/. I am on version |
I checked with version |
I tried the second one and it did not work unfortunately. |
Having this problem also. |
Running into it as well on El Capitan
|
I'm also seeing this problem (El Capitan here, too). I ran
I'm not sure this actually provides any more useful information beyond the fact that it segfaulted -- I don't really know how to interpret any of these messages. Also wanted to note that I had no problems generating diagrams with RailRoady, which also uses graphviz in a similar way. |
Same thing happened with me. Here is the verbose output if it is helpful:
|
I'm also getting this same segfault on version 1.5.0 with GraphViz 2.38.0 |
I'm getting this as well on 1.5.0 with GraphViz 2.38.0 I think this is due to the large number of models as it works when I limit it to just a handful of models in my app. Ex:
|
@mcfadden that's an interesting possibility, a timeout or error of some kind from the size.. out of curiosity, how many models in your app? |
I'm not so sure about a Timeout, only because I get the error instantly when running The app I ran this against has ~125 models. |
Hmmm yeah, its probably not size then; I've run this against apps with multiple 💯 s of models. |
Is there any update on this? |
Got around this issue by generating the .dot file first and that seemed to remedy it |
Not getting pdf. Just installed it today so have latest versions. Can get dot file generated, but not pdf (even after creating the dot). Not able to find it anywhere on the system (looked everywhere just in case). On MacOS Sierra (10.12.5) and .rvm/gems/ruby-1.9.3-p545/gems/rails-erd-1.5.2 Converting the dot file generates a segmentation fault:
|
Oh. Derp. Do you have "Arial BoldMT" installed? We might not be handling a fallback case correctly here.. |
I have "Arial Rounded MT Bold" installed. Can't find "Arial BoldMT" on the web. |
I am also unable to generate a PDF from the dot and I do not have Arial BoldMT installed. |
Also having this issue where there is no |
Having the same problem here, lots of models in my case too. Would love an update to this! |
I think the missing font is a red herring; something about our dot output is triggering a segfault. Anyone able to share a DOT that is causing this? |
Hi, sharing my DOT file. Note that it's made out of 150 models. Here's the code: slovensko-digital/harvester.ecosystem#23 |
I had the same problems reported above:
If I didn't comment out Alternatively, I can generate require 'rails_erd/domain/relationship'
module RailsERD
class Domain
class Relationship
class << self
private
def association_identity(association)
Set[association_owner(association), association_target(association)]
end
end
end
end
end Version info:
|
Having the same problem here, Ive tried all the different approaches mentioned here, but with same results. |
Actually this |
I'm getting the same error. I can generate the dotfile, but if I try to generate a PDF it just silently fails, telling me the PDF was generated.
Also, if I run
That also works |
Had same issue. Verified that
Modifying the dot file to remove the duplicate edges allowed the |
I installed graphviz and the gem as per the instructions. I then cd into my project.
proj$ bundle exec erd
It says
But I cannot find any such file inside my project directory.
The text was updated successfully, but these errors were encountered: