Comments (6)
sh: 1: dot: not found
This message means that you don't have the dot
executable installed on your system. You need to install graphviz if you want to see generate the graph from the .dot
file. On ubuntu that should be a matter of apt-get install graphviz
.
I'll try to improve the error message.
from irmin.
Good and thanks for your help. Yet notice that I did not want to generate anything or fiddle with graphics--I only wanted to dump the state of my storage!
from irmin.
Well, irmin dump thestate
dump the low-level state of your storage as a graph (it's hard to display something more meaningful). You can use irmin list
or irmin tree
if you want to see high-level view of your store.
from irmin.
Did you have anything else in mind for what "irmin dump" should output, Carlos? The Dot format is the graph representation of the database, so a pure terminal dump aside from that is tough.
Could just dump the dot to stdout instead of invoking the shell command, I guess.
On 23 Apr 2014, at 13:56, Thomas Gazagnaire [email protected] wrote:
Well, irmin dump thestate dump the low-level state of your storage as a graph (it's hard to display something more meaningful). You can use irmin list or irmin tree if you want to see high-level view of your store.
—
Reply to this email directly or view it on GitHub.
from irmin.
You're right Thomas, the installation of 'graphviz' solves the problem. I only have three minor observations:
- The user needs to execute apt-get under sudo privileges. Like this:
% sudo apt-get install graphviz
and then he or she needs to provide an admin password.
My concern here is that the installation process that I have been following involves the execution of several commands under 'sudo'.
This rules out potential users of Irminsule that do not have access to administration passwords of their Linux machines. I guess that we are ruling out most of the student population.
I you think that this is good idea, we can, at some point, explore and develop an alternative installation procedure that does not involves 'sudo'.
-
$ open thestate.png` does not work in Linux. You need to use 'display' instead of 'open'.
-
In response to Anil comments: Did you have anything else in mind for what "irmin dump" should output, Carlos? ...
All depends on who (people or programmes) will use the dump. If it is for people to see (naked eye) the graph on the screen, then we need software to trim the tree so that I can select to display only specific branches, such as my current version of my DB.
I can see that my example of DB has only three leaves and I have altered only one of them. Yet the png graph is already large (nearly an A4 page), hard to look at and even harder to reason about.
from irmin.
Fixed now.
from irmin.
Related Issues (20)
- irmin-pack: handle LRU purge in read-only instances after a GC
- Invalid conduit source address specified HOT 2
- irmin-pack: improve control file's atomic write properties HOT 1
- irmin-pack: extend GC to unlimited history stores HOT 1
- irmin-pack: integrity check doesn't use ppf for results handling
- index: readonly index creates a folder
- irmin-pack: Unlink can be slow HOT 1
- irmin-pack: change the default indexing strategy
- irmin-pack: clean up OS-specific output for integrity check logging
- irmin-cli: change `--store irf` to `--store fs`
- irmin-cli creates broken git repository HOT 10
- irmin-pack: implement `fresh` for lower layer
- Performance issue in Tree.length HOT 1
- Pack_error: "Invalid_argument" when calling `integrity-check-index` command
- invalid checksum when using irmin-pack HOT 1
- irmin-pack: error `unknown inode key`
- Tutorial - CLI- GraphQL snippet HOT 1
- libirmin fails to build with OCaml 5.2 HOT 1
- calling `Tree.fold` raises strange error "exception Invalid_argument("error expected JSON text (JSON value)")" HOT 2
- GraphQL / Irmin OCaml / Javascript
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from irmin.