View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005142ParaView(No Category)public2007-06-07 11:532007-08-29 12:50
ReporterBerk Geveci 
Assigned ToClinton Stimpson 
PriorityhighSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005142: Better location(s) for default_servers.pvsc
DescriptionThere should be a better location(s) default_servers.pvsc. These may be:
/usr/lib/paraview-3.x
/usr/share/paraview-3.x
somewhere in home....
There should be system specific and user specific versions of the default servers file.
TagsNo tags attached.
Project
Topic Name
Type
Attached Files

 Relationships
related to 0005487closedClinton Stimpson Save previous entries for server connections 

  Notes
(0007828)
Clinton Stimpson (developer)
2007-06-07 12:17


Do we load all of those files that are found?

Somewhere in home is $HOME/default_servers.pvsc or $HOME/.paraview/default_servers.pvsc ? Or some environment variable?
(0008417)
Clinton Stimpson (developer)
2007-08-13 12:17

/cvsroot/ParaView3/ParaView3/Qt/Core/pqApplicationCore.cxx,v <-- pqApplicationCore.cxx
new revision: 1.72; previous revision: 1.71
(0008418)
Clinton Stimpson (developer)
2007-08-13 12:21

Also update Wiki page.
(0008449)
Ken Moreland (manager)
2007-08-14 09:25

Is there a reason to have the default_servers.pvsc in a different location than all the other configuration files ($HOME/.config/Kitware)? Let's talk about this at the Tuesday meeting.
(0008459)
Clinton Stimpson (developer)
2007-08-14 14:25

I agree something needs to change.

Currently, user's servers are read and saved with QSettings, found in $HOME/.config/Kitware/, but not in XML format. I suggest not using QSettings, but have plain XML files.
(0008466)
Ken Moreland (manager)
2007-08-14 19:43

I agree. I would also suggest that the XML either go in a subdirectory of $HOME/.config/Kitware, or be called something other than simply default_servers.pvsc. The path should indicate that the configuration file is specific to ParaView.

Is there a way to get the location where QSettings reads and writes files?
(0008493)
Clinton Stimpson (developer)
2007-08-16 18:51

Now reads user settings from
Windows: %APPDATA%\Kitware\servers.pvsc
Unix: $HOME/.config/Kitware/servers.pvsc

Also made changes that will help in fixing bug 0005487.

Still need to read from /usr/share/... or something.

/cvsroot/ParaView3/ParaView3/Qt/Components/pqEditServerStartupDialog.cxx,v <-- pqEditServerStartupDialog.cxx
new revision: 1.8; previous revision: 1.7
/cvsroot/ParaView3/ParaView3/Qt/Components/pqServerBrowser.cxx,v <-- pqServerBrowser.cxx
new revision: 1.15; previous revision: 1.14
/cvsroot/ParaView3/ParaView3/Qt/Components/pqSimpleServerStartup.cxx,v <-- pqSimpleServerStartup.cxx
new revision: 1.23; previous revision: 1.22
/cvsroot/ParaView3/ParaView3/Qt/Core/CMakeLists.txt,v <-- CMakeLists.txt
new revision: 1.85; previous revision: 1.84
/cvsroot/ParaView3/ParaView3/Qt/Core/pqApplicationCore.cxx,v <-- pqApplicationCore.cxx
new revision: 1.74; previous revision: 1.73
/cvsroot/ParaView3/ParaView3/Qt/Core/pqCommandServerStartup.cxx,v <-- pqCommandServerStartup.cxx
new revision: 1.12; previous revision: 1.11
/cvsroot/ParaView3/ParaView3/Qt/Core/pqCommandServerStartup.h,v <-- pqCommandServerStartup.h
new revision: 1.8; previous revision: 1.7
/cvsroot/ParaView3/ParaView3/Qt/Core/pqManualServerStartup.cxx,v <-- pqManualServerStartup.cxx
new revision: 1.7; previous revision: 1.6
/cvsroot/ParaView3/ParaView3/Qt/Core/pqManualServerStartup.h,v <-- pqManualServerStartup.h
new revision: 1.7; previous revision: 1.6
/cvsroot/ParaView3/ParaView3/Qt/Core/pqServerStartup.h,v <-- pqServerStartup.h
new revision: 1.7; previous revision: 1.6
/cvsroot/ParaView3/ParaView3/Qt/Core/pqServerStartups.cxx,v <-- pqServerStartups.cxx
new revision: 1.11; previous revision: 1.10
/cvsroot/ParaView3/ParaView3/Qt/Core/pqServerStartups.h,v <-- pqServerStartups.h
new revision: 1.6; previous revision: 1.5
(0008664)
Clinton Stimpson (developer)
2007-08-24 19:15

Also read from
/usr/share/ParaView3.1/servers.pvsc
%COMMON_APPDATA%\ParaView3.1\servers.pvsc


/cvsroot/ParaView3/ParaView3/Qt/Core/pqServerStartups.cxx,v <-- pqServerStartups.cxx
new revision: 1.12; previous revision: 1.11
(0008682)
Ken Moreland (manager)
2007-08-27 17:38

This is bit of a nitpick, but should the file located in $HOME/.config/Kitware or %APPDATA%\Kitware be called servers.pvsc. The file itself is specific to ParaView, but there is nothing in the path to suggest that. Should the file be put in a ParaView subdirectory? Should it be called paraview_servers.pvsc in that directory? Should I just shut up?
(0008717)
Clinton Stimpson (developer)
2007-08-28 14:01

On Linux, it is now $HOME/.config/ParaView3.1/...


/cvsroot/ParaView3/ParaView3/Qt/Core/pqApplicationCore.cxx,v <-- pqApplicationCore.cxx
new revision: 1.75; previous revision: 1.74
/cvsroot/ParaView3/ParaView3/Qt/Core/pqServerStartups.cxx,v <-- pqServerStartups.cxx
new revision: 1.13; previous revision: 1.12
/cvsroot/ParaView3/ParaView3/Qt/Core/pqServerStartups.h,v <-- pqServerStartups.h
new revision: 1.7; previous revision: 1.6
(0008718)
Clinton Stimpson (developer)
2007-08-28 14:10

I don't the version number being in the directory name.
(0008719)
Clinton Stimpson (developer)
2007-08-28 14:11

Now its
$HOME/.config/ParaView/...


/cvsroot/ParaView3/ParaView3/Applications/Client/ProcessModuleGUIHelper.cxx,v <-- ProcessModuleGUIHelper.cxx
new revision: 1.11; previous revision: 1.10
/cvsroot/ParaView3/ParaView3/Qt/Core/pqApplicationCore.cxx,v <-- pqApplicationCore.cxx
new revision: 1.76; previous revision: 1.75
/cvsroot/ParaView3/ParaView3/Qt/Core/pqServerStartups.cxx,v <-- pqServerStartups.cxx
new revision: 1.14; previous revision: 1.13

 Issue History
Date Modified Username Field Change
2007-08-13 12:17 Clinton Stimpson Note Added: 0008417
2007-08-13 12:21 Clinton Stimpson Status tabled => @80@
2007-08-13 12:21 Clinton Stimpson Resolution open => fixed
2007-08-13 12:21 Clinton Stimpson Note Added: 0008418
2007-08-14 09:25 Ken Moreland Status @80@ => @20@
2007-08-14 09:25 Ken Moreland Resolution fixed => reopened
2007-08-14 09:25 Ken Moreland Note Added: 0008449
2007-08-14 14:25 Clinton Stimpson Note Added: 0008459
2007-08-14 14:26 Clinton Stimpson Relationship added related to 0005487
2007-08-14 19:43 Ken Moreland Note Added: 0008466
2007-08-16 18:51 Clinton Stimpson Note Added: 0008493
2007-08-23 10:32 Berk Geveci Priority normal => high
2007-08-23 17:10 Berk Geveci Category => 3.2
2007-08-24 19:15 Clinton Stimpson Status @20@ => @80@
2007-08-24 19:15 Clinton Stimpson Resolution reopened => fixed
2007-08-24 19:15 Clinton Stimpson Note Added: 0008664
2007-08-27 17:38 Ken Moreland Note Added: 0008682
2007-08-28 13:09 Ken Moreland Status @80@ => @20@
2007-08-28 13:09 Ken Moreland Resolution fixed => reopened
2007-08-28 14:01 Clinton Stimpson Status @20@ => @80@
2007-08-28 14:01 Clinton Stimpson Resolution reopened => fixed
2007-08-28 14:01 Clinton Stimpson Note Added: 0008717
2007-08-28 14:10 Clinton Stimpson Note Added: 0008718
2007-08-28 14:10 Clinton Stimpson Status @80@ => tabled
2007-08-28 14:11 Clinton Stimpson Status tabled => @80@
2007-08-28 14:11 Clinton Stimpson Note Added: 0008719
2007-08-29 12:50 Ken Moreland Status @80@ => closed
2011-06-16 13:10 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team