.servoy folder not created on all clients

Hello,

we have the problem that the .servoy folder in the user profile folder is not created on all clients. Therefore, user names are not remembered. What can go wrong, here?

Thanks
Patrick

The .servoy folder is only created when the client is closed for the first-time!! After that, folder is present.

I wouldn’t be writing this if the folder was present. The folder is NOT present even after starting/closing the client 55 times.

Maybe a permissions issue ? Although you would expect an error when it can’t write a file to the disk.

What OS is this on?

patrick:
I wouldn’t be writing this if the folder was present. The folder is NOT present even after starting/closing the client 55 times.

Strange, so the solution is loaded everytime completly again?
because that’s where the solution is cached too.

The solution loads fine, but I see an error in the client’s trace that the properties file cannot be loaded. If you copy a .servoy folder manually, user names are saved and everything is fine.

Maybe a permissions issue ? Although you would expect an error when it can’t write a file to the disk.

What OS is this on?

Permission issue I can’t imagine. We are talking about the users home directory… And copying manually works.

It happens here on Windows XP Pro.

It seems, we have two cases:

  • on some machines, the .servoy folder is not created at all
  • on others, the folder is created but not the servoy.properties

Any ideas anyone?

Check the default user’s file c:\documents and settings\username

What do you mean by check the user’s file? I am looking for this folder: C:\Documents and settings\LoginName.servoy and it’s not there.

I still have this problem and it seems that it gets worse. My client just told me that newly installed client machines don’t show i18n messages. This seems to be related to the problem, that the user folder is not created as it should be.

Could anyone from Servoy point me to a way to determine what goes wrong here?

Thanks
Patrick

I just saw a screenshot of the .Servoy of a client where the messages don’t show. The expected

servoy_messages_server_8080_solution_de.properties

is not a file but a folder?!

Hello,

could someone please comment on this? This issue is getting annoying. Some clients don’t see proper labels, on others the user name is not remembered, appointments are shown in the wrong time zone etc.

I’d be thankful if someone could point me to a way to trace/fix this issue. We have a very ordinary environment, all Win XP, Java 1.5.

Thanks
Patrick

Maybe it helps if I add that the Server is a linux box…

hi Patrick, I do not know what exactly happens, because I have never seen it.

You could (maybe temp.) fix this by a workaround!
I use this workaround to create ./servoy because this folder is only created, AFTER the first time the client is log-out.

here is the code:

var test = plugins.file.getHomeDirectory() + "/.servoy"
if(plugins.file.convertStringToJSFile(test).exists() != true)
{
	var q = plugins.file.convertStringToJSFile(test).mkdir()
}

this was a problem with released < rc7

should be fixed with RC8 and greater.

So you think this is not fixed in RC7 (that’s what we are using now), but RC8? And it did happen only “sometimes”?

yes there was a bug when the dir was not already there. And at what place the dir was made. These things should all be fixed in RC8