Difference between revisions of "Known issues"
(Added a table detailing the status of the command-line arguments.) |
|||
Line 22: | Line 22: | ||
<tr> | <tr> | ||
<td>-V ''num''</td><td>--verbose=''num''</td><td>Set verboseness level (0–2, default=0, | <td>-V ''num''</td><td>--verbose=''num''</td><td>Set verboseness level (0–2, default=0, | ||
higher means more verbose).<br> <font color="RED">''' | higher means more verbose).<br> <font color="RED">'''MORE TESTING NEEDED.''' I haven't yet found a use case where this makes a difference.</font></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 28: | Line 28: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>-n</td><td>--nosplash</td><td>Do not display splash screen on startup. <br><font color="RED">'''NOT WORKING'''. | <td>-n</td><td>--nosplash</td><td>Do not display splash screen on startup. <br><font color="RED">'''NOT WORKING'''. May possibly be related to Ticket #211. Otherwise, there is a simple one-line code fix to workaround this issue.</font></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>-c ''num''</td><td>--cache=''num''</td><td>Enable/disable caching (0 to disable, | <td>-c ''num''</td><td>--cache=''num''</td><td>Enable/disable caching (0 to disable, | ||
nonzero to enable. Default is enabled). | nonzero to enable. Default is enabled).</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>-m ''num''</td><td>--movies=''num''</td><td>Set automatic movie creation on spreadsheet | <td>-m ''num''</td><td>--movies=''num''</td><td>Set automatic movie creation on spreadsheet | ||
(0 or 1, default=1). Set this to zero to work around VTK bug with offscreen renderer and OpenGL texture3D mappers. <br><font color="RED"> | (0 or 1, default=1). Set this to zero to work around VTK bug with offscreen renderer and OpenGL texture3D mappers. <br><font color="RED">This switch is more for the Spreadsheet than for VisTrails proper, but we'll keep it for now.</font></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 46: | Line 46: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>-l</td><td>--nologger</td><td>Disable logging. <br><font color="RED">'''NOT WORKING.''' | <td>-l</td><td>--nologger</td><td>Disable logging. <br><font color="RED">'''NOT WORKING.''' Known issues.</font></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>-d</td><td>--debugsignals</td><td>Debug Qt signals. <br><font color="RED">'''NOT | <td>-d</td><td>--debugsignals</td><td>Debug Qt signals. <br><font color="RED">'''NOT USED.''' To be removed.</font></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>-a ''params''</td><td>--parameters=''params''</td><td>Set workflow parameters (non-interactive mode only). <br><font color="RED">'''WORKING, BUT''' this option | <td>-a ''params''</td><td>--parameters=''params''</td><td>Set workflow parameters (non-interactive mode only). <br><font color="RED">'''WORKING, BUT''' this option will eventually be superseded by the Medley functionality.</font></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 68: | Line 68: | ||
</tr> | </tr> | ||
</table> | </table> | ||
==Rev 674== | ==Rev 674== |
Revision as of 18:16, 27 June 2008
Check this page for known issues with VisTrails Releases and how to work around them.
Command-Line Switches
The VisTrails development team is refactoring the implementation of many of the command-line switches supported by VisTrails. Please refer to the table below for a summary of which switches work and which ones don't, and their status.
Short form | Long form | Description |
---|---|---|
-h | --help | Print a help message and exit. |
-S /path | --startup=/path | Set user configuration directory (default is ~/.vistrails). NOT WORKING. See ticket #213. |
-? | Print a help message and exit. | |
-v | --version | Print version information and exit. |
-V num | --verbose=num | Set verboseness level (0–2, default=0,
higher means more verbose). MORE TESTING NEEDED. I haven't yet found a use case where this makes a difference. |
-b | --noninteractive | Run in non-interactive (batch) mode. |
-n | --nosplash | Do not display splash screen on startup. NOT WORKING. May possibly be related to Ticket #211. Otherwise, there is a simple one-line code fix to workaround this issue. |
-c num | --cache=num | Enable/disable caching (0 to disable, nonzero to enable. Default is enabled). |
-m num | --movies=num | Set automatic movie creation on spreadsheet
(0 or 1, default=1). Set this to zero to work around VTK bug with offscreen renderer and OpenGL texture3D mappers. This switch is more for the Spreadsheet than for VisTrails proper, but we'll keep it for now. |
-s | --multiheads | Display the Builder and Spreadsheet on
different screens (if available). NOT WORKING. See Ticket #211. |
-x | --maximized | Maximize Builder and Spreadsheet windows at startup. NOT WORKING. See Ticket #211. |
-l | --nologger | Disable logging. NOT WORKING. Known issues. |
-d | --debugsignals | Debug Qt signals. NOT USED. To be removed. |
-a params | --parameters=params | Set workflow parameters (non-interactive mode only). WORKING, BUT this option will eventually be superseded by the Medley functionality. |
-t host | --host=host | Set hostname or IP address of database server. |
-r port | --port=port | Set database port. |
-f dbName | --db=dbName | Set database name. |
-u userName | --user=userName | Set database username. NOT SURE if this works as advertised. Sometimes the username is not automatically populated in the Open Database Connection dialog, while the other fields are. |
Rev 674
On Linux machines using PyQt4.2, there is a bug that causes vtk pipelines not to show on the spreadsheet.
Solution: edit the file path_to_vistrails_src/vistrails/packages/vtk/vtkcell.py
in the import section (around line 27), add
import sip
replace line 244:
vp = '_%s_void_p' % (hex(int(QtGui.QX11Info.display()))[2:])
by
try:
vp = '_%s_void_p' % (hex(int(QtGui.QX11Info.display()))[2:])
except TypeError:
#This was changed for PyQT4.2
if isinstance(QtGui.QX11Info.display(),QtGui.Display):
display = sip.unwrapinstance(QtGui.QX11Info.display())
vp = '_%s_void_p' % (hex(display)[2:])
Rev 559
There are two issues with the binary version of this release.
1. When the current directory is not on the PATH. This causes VisTrails to raise a Requirements not fulfilled exception.
Solution: Adding '.' or path_to_vistrails_install/vistrails
to the PATH solves this problem.
2. When installing on a non-english system or on a custom directory, VisTrails won't start. This is due to absolute paths inside the bookmarks file.
Solution: Remove file bookmarks.xml
inside ~/.vistrails
folder. On Windows XP it's located on C:\Documents and Settings\your_username\.vistrails
. On Windows Vista, it's located at C:\Users\your_username\.vistrails
.