[Paraview-developers] New Settings/Custom plugin bug

Felipe Bordeu felipe.bordeu at ec-nantes.fr
Fri Jun 13 04:45:00 EDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Working for me also.

Thanks

Le 12/06/2014 18:53, Mathieu Westphal a écrit :
> Hello
> It's working well here !
> 
> Thx
> 
> Mathieu
> 
> On Wed, Jun 11, 2014 at 10:44:39AM -0400, Cory Quammen wrote:
>> Mathieu and Felipe,
>>
>> The fix for saving settings in custom application-specific
>> directories/files is now in master.
>>
>> Best,
>> Cory
>>
>>
>> On Sat, May 31, 2014 at 10:03 PM, Cory Quammen <cory.quammen at kitware.com>
>> wrote:
>>
>>> Mathieu,
>>>
>>> I have a proposed fix for this under review at
>>> http://review.source.kitware.com/#/t/4253/
>>>
>>> Feel free to try it out with git command
>>>
>>> git fetch http://review.source.kitware.com/p/ParaView
>>> refs/changes/96/15596/1 && git checkout FETCH_HEAD -b
>>> 14760_fix_settings_saving
>>>
>>> This fix changes where the user settings file is saved. The new pattern
>>> for the user settings JSON file is
>>>
>>> ~/.config/ORGANIZATION/APPLICATION-UserSettings.json
>>>
>>> It's not 100% certain that this is how it will be, but I think it makes
>>> sense to have the organization and application name in the case that one
>>> organization has more than one branded ParaView application.
>>>
>>> Best,
>>> Cory
>>>
>>>
>>> On Wed, May 28, 2014 at 4:06 PM, Cory Quammen <cory.quammen at kitware.com>
>>> wrote:
>>>
>>>> Mathieu,
>>>>
>>>> Thank you for the report. I've should have this fixed tonight or tomorrow.
>>>>
>>>> Cory
>>>>
>>>> On Wed, May 28, 2014 at 3:56 PM, Mathieu Westphal
>>>> <mathieu.westphal at gmail.com> wrote:
>>>>> Hello
>>>>>
>>>>> With my custom application, it is not working.
>>>>>
>>>>> Each time i close my application i have :
>>>>> Saving settings file failed
>>>>>
>>>>> Of course there is no UserSettings.json
>>>>> the .ini file is written without problem however.
>>>>>
>>>>>
>>>>> I've debugged it and the ini file is written into :
>>>>> ~/.config/ORGANIZATION/cnsGUI0.3.6869.ini
>>>>>
>>>>> and the json file try to be written into:
>>>>> ~/.config/ApplicationName/UserSettings.json
>>>>>
>>>>> while ~/.config/ApplicationName does not exist.
>>>>>
>>>>> So it seems the "ORGANIZATION" cmake variable is not taken into account
>>>>> when creating the user config file path.
>>>>>
>>>>> Mathieu
>>>>>
>>>>> On Wed, May 28, 2014 at 03:11:04PM +0200, Felipe Bordeu wrote:
> Hi Cory,
> 
> Everything work as expected. Thanks.
> 
> 
> Felipe
> 
> Le 25/05/2014 20:49, Cory Quammen a écrit :
>>>>>>>> Felipe,
>>>>>>>>
>>>>>>>> I have pushed a fix to the git next branch, commit
>>>>>>>> b154c1c4f31cb9d518965fd742a4603602036744. It will be in master after
>>>>>>>> the next gatekeeper review (assuming it is approved).
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Cory
>>>>>>>>
>>>>>>>> On Fri, May 23, 2014 at 11:31 AM, Felipe Bordeu
>>>>>>>> <felipe.bordeu at ec-nantes.fr> wrote:
>>>>>>>> Bug reported
>>>>>>>>
>>>>>>>> http://www.paraview.org/Bug/view.php?id=14753
>>>>>>>>
>>>>>>>>
>>>>>>>> Felipe
>>>>>>>>> _______________________________________________
>>>>>>>>> Paraview-developers mailing list
>>>>>>>>> Paraview-developers at paraview.org
>>>>>>>>> http://public.kitware.com/mailman/listinfo/paraview-developers
> 
>>>>>> _______________________________________________
>>>>>> Paraview-developers mailing list
>>>>>> Paraview-developers at paraview.org
>>>>>> http://public.kitware.com/mailman/listinfo/paraview-developers
>>>>> _______________________________________________
>>>>> Paraview-developers mailing list
>>>>> Paraview-developers at paraview.org
>>>>> http://public.kitware.com/mailman/listinfo/paraview-developers
>>>>
>>>
>>>
> _______________________________________________
> Paraview-developers mailing list
> Paraview-developers at paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers
> 

- -- 
Felipe Bordeu Weldt
Ingénieur de Recherche
- -------------------------------------
Tél. : 33 (0)2 40 37 16 57
Fax. : 33 (0)2 40 74 74 06
Felipe.Bordeu at ec-nantes.fr
Institut GeM - UMR CNRS 6183
École Centrale Nantes
1 Rue de La Noë, 44321 Nantes, FRANCE
- -------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTmroGAAoJEE/fMfNgU9/DtT8H+gNTTBjrWOG1UuOGAzbLmc6A
LFNcHaEhQbafik9iCE8FS2jnihjedgnl7yAN/m2B1jSHsZPaVtfNxBwJIBuPxX6d
CLADhpoQB6xAPZ3iBL/XDKTEImI58Ly9TW2XHx28Bc/wyL3dwGtFVTCj2BmGeFRg
gvzmjWq7qoHK3S+f2ojfRHiRHS0ExufCAAqZ1ozBYCfZsW5MYjprNv9t0HcZJCAc
dTu3RLNCxk8fSmIHHFf0vKiBMtl/Jbrw+0ZpR68TgJKpyb0b/zE1P+Kti3mZOzWx
xSfWcDfAqZ0OaRAs54Cavt4Xjs6JPRgd5NuepA4GDqlfxy9EtAnAwxrbSL0UvC8=
=iGPk
-----END PGP SIGNATURE-----


More information about the Paraview-developers mailing list