Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

CodeSnippets can't delete default.conf.cbTemp when exit

(1/3) > >>

Loaden:
exec codesnippets.exe,it's can't delete default.conf.cbTemp file when exit.

Pecan:
Could you be more specific. Give an example. What are the steps to reproduce the problem?

MortenMacFly:

--- Quote from: Pecan on April 28, 2009, 05:55:54 pm ---Could you be more specific. Give an example. What are the steps to reproduce the problem?

--- End quote ---
...just do something in with the stand-alone CodeSnippets that will save it's settings in the default.conf file (e.g. go through the options dialog). Then exit the application. You will have default.conf (new) and default.conf.cbTemp (old) in the same folder.
I realised this , too but I wonder why the stand-alone executable modifies C::B's config file at all?!

Pecan:

--- Quote from: MortenMacFly on April 28, 2009, 07:59:24 pm ---...
...but I wonder why the stand-alone executable modifies C::B's config file at all?!

--- End quote ---

Thanks, I'll try to fix it.

It modifies its own *copy* of the config if the user makes any changes, not the config itself.

I suspect that attempting to save a copy by the same name as the conf is causing the problem. I'll check it out.


Pecan:

--- Quote from: MortenMacFly on April 28, 2009, 07:59:24 pm ---...
...just do something in with the stand-alone CodeSnippets that will save it's settings in the default.conf file (e.g. go through the options dialog). Then exit the application. You will have default.conf (new) and default.conf.cbTemp (old) in the same folder.
I realised this , too but I wonder why the stand-alone executable modifies C::B's config file at all?!

--- End quote ---

I've tried 40 minutes to get the error. It won't occur for me.

Are we talking Linux or Windows?

Are you running CodeSnippets.exe with or with out CB running?
Is CodeSnippets activated or disabled in CB?

What option is being changed?
Is this caused by the first run or every run?

What folder has the default.conf and .cbtemp in it?

Can you give me a step by step?

Navigation

[0] Message Index

[#] Next page

Go to full version