Installation FAQ

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
Line 5: Line 5:
 
|}
 
|}
 
==Frequently Asked Questions About Installation and Running Davinci==
 
==Frequently Asked Questions About Installation and Running Davinci==
===Where do I get Davinci and how do I install it?===
+
===Generic Issues===
 +
====Where do I get Davinci and how do I install it?====
 
Davinci is available for multiple platforms. See these pages for more details:
 
Davinci is available for multiple platforms. See these pages for more details:
 
[[Download For Mac|Download Davinci for Mac]]
 
[[Download For Mac|Download Davinci for Mac]]
Line 14: Line 15:
  
  
===I don't like the current image viewer, how do I change it?===
+
====I don't like the current image viewer, how do I change it?====
 
You can always change the default viewer by setting the environment variable $DV_VIEWER. You can either set that in you system or in davinci using command.
 
You can always change the default viewer by setting the environment variable $DV_VIEWER. You can either set that in you system or in davinci using command.
 
  dv> putenv("DV_VIEWER","/path/to/your/favorite/imageviewer")
 
  dv> putenv("DV_VIEWER","/path/to/your/favorite/imageviewer")
  
  
===I am getting "/usr/bin/display: No such file or directory", when trying to display an image. What should I do?===
+
====I am getting "/usr/bin/display: No such file or directory", when trying to display an image. What should I do?====
  
 
Linux version of Davinci uses  ImageMagick "display" command by default. Most likely ImageMagick is not installed.  
 
Linux version of Davinci uses  ImageMagick "display" command by default. Most likely ImageMagick is not installed.  
Line 26: Line 27:
  
  
===Plotting command "xplot" doesn't work. It dies silently. What should I do?===
+
====Plotting command "plot" doesn't work. It dies silently. What should I do?====
 
Most likely gnuplot is not installed on your system.  Try installing the gnuplot. If it is installed, make sure that it is installed under /usr/bin/gnuplot. You can override the path by setting the environment variable GPLOT_CMD
 
Most likely gnuplot is not installed on your system.  Try installing the gnuplot. If it is installed, make sure that it is installed under /usr/bin/gnuplot. You can override the path by setting the environment variable GPLOT_CMD
 
  dv> putenv("GPLOT_CMD","/path/to/your/gnuplot")
 
  dv> putenv("GPLOT_CMD","/path/to/your/gnuplot")
Line 33: Line 34:
  
  
===What is Davinci Scripts Library and how do I load it?===
+
====What is Davinci Scripts Library and how do I load it?====
 
The Davinci Library is a set of files containing all of the specified [[:Category:User Defined Functions|User Defined Functions]]  that are shown in the DavinciWiki. Depending on the platform that you have installed your Davinci, you need to "source" an appropriate dvrc file. For example in Linux you would "source" the library as follows:
 
The Davinci Library is a set of files containing all of the specified [[:Category:User Defined Functions|User Defined Functions]]  that are shown in the DavinciWiki. Depending on the platform that you have installed your Davinci, you need to "source" an appropriate dvrc file. For example in Linux you would "source" the library as follows:
  
Line 39: Line 40:
  
 
This will automatically source other necessary dvrc files and initialize relevant variables.
 
This will automatically source other necessary dvrc files and initialize relevant variables.
 +
 +
=== Windows Platform ===
 +
==== Plotting command "plot" work's only the first time====
 +
When you use Davinci plotting functions, an underlying plotting software - gnuplot, gets invoked. Usually a plotting window is invoked as well as gnuplot shell. You can close the plotting window but '''do not close the gnuplot shell''', otherwise davinci needs to be restarted if another plotting command is invoked.

Revision as of 00:49, 29 November 2008


Contents

Frequently Asked Questions About Installation and Running Davinci

Generic Issues

Where do I get Davinci and how do I install it?

Davinci is available for multiple platforms. See these pages for more details: Download Davinci for Mac

Download Davinci for Windows

Download Davinci for Linux


I don't like the current image viewer, how do I change it?

You can always change the default viewer by setting the environment variable $DV_VIEWER. You can either set that in you system or in davinci using command.

dv> putenv("DV_VIEWER","/path/to/your/favorite/imageviewer")


I am getting "/usr/bin/display: No such file or directory", when trying to display an image. What should I do?

Linux version of Davinci uses ImageMagick "display" command by default. Most likely ImageMagick is not installed. The solution is to either install ImageMagick or to change the $DV_VIEWER environment variable to your favorite Image Viewer. To set the variable you can either set it on your system shell, or better in the Davinci shell by

dv> putenv("DV_VIEWER","/path/to/your/favorite/imageviewer")


Plotting command "plot" doesn't work. It dies silently. What should I do?

Most likely gnuplot is not installed on your system. Try installing the gnuplot. If it is installed, make sure that it is installed under /usr/bin/gnuplot. You can override the path by setting the environment variable GPLOT_CMD

dv> putenv("GPLOT_CMD","/path/to/your/gnuplot")

Make sure you set this variable before any gnuplot command is invoked.


What is Davinci Scripts Library and how do I load it?

The Davinci Library is a set of files containing all of the specified User Defined Functions that are shown in the DavinciWiki. Depending on the platform that you have installed your Davinci, you need to "source" an appropriate dvrc file. For example in Linux you would "source" the library as follows:

dv> source("/usr/src/share/davinci/library/library_linux.dvrc")

This will automatically source other necessary dvrc files and initialize relevant variables.

Windows Platform

Plotting command "plot" work's only the first time

When you use Davinci plotting functions, an underlying plotting software - gnuplot, gets invoked. Usually a plotting window is invoked as well as gnuplot shell. You can close the plotting window but do not close the gnuplot shell, otherwise davinci needs to be restarted if another plotting command is invoked.

Personal tools