Displaying 2 results from an estimated 2 matches for "value_array".
2006 Jan 13
1
system-config-users error
...ution? I have removed and re-installed all the
system-config tools, but the error didn't change.
sudo system-config-users
** (system-config-users.py:27349): WARNING **: entry is incorrectly
formatted
(system-config-users.py:27349): GLib-GObject-CRITICAL **: file
gvaluearray.c: line 42 (g_value_array_get_nth): assertion `value_array
!= NULL' failed
** ERROR **: file lib/user.c: line 662 (merge_ent_array_duplicates):
should not be reached
aborting...
/usr/share/system-config-users/system-config-users: line 4: 27349
Aborted /usr/bin/python2
/usr/share/system-config-users/system...
2008 May 28
1
Search&replace string?
...create a lot of different version of Config_file from my Base file so with this method it takes a long time and i'm sure i can improve it. (For example for 85 differents files I have to wait 10min...)
My dream would be a function like this one :
Function <- function(Base_file, Param_array, Value_array)
{
file.copy(Base_file, Config_file)
...
for (i in length(Param_array)
{
Search&Replace(Config_file, "Param_array[i] = something", "Param_array[i] = Vallue_array[i]")
}
...
}
I hope I have been clear enough. If not, don't hesitate to ask...