Changeset 939 for trunk/zoo-project/zoo-kernel/service_internal_python.c
- Timestamp:
- Jun 14, 2019, 10:08:22 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service_internal_python.c
r928 r939 355 355 #endif 356 356 char *pStrErrorMessage = PyString_AsString(pvalue); 357 c har *tmp0=_("Python module %s cannot be loaded. Message: %s\n");357 const char *tmp0=_("Python module %s cannot be loaded. Message: %s\n"); 358 358 359 359 PyObject *trace=PyObject_Str(pvalue); … … 393 393 if(pbt!=NULL) 394 394 free(pbt); 395 c har* format=_("%s\nUnable to run your python process properly. Please check the following messages : %s");395 const char* format=_("%s\nUnable to run your python process properly. Please check the following messages : %s"); 396 396 pbt=(char*)malloc((strlen(format)+strlen(tpbt)+strlen(PyString_AsString(trace))+1)*sizeof(char)); 397 397 sprintf(pbt,format,tpbt,PyString_AsString(trace)); … … 400 400 if(pbt!=NULL) 401 401 free(pbt); 402 c har* format=_("%s \n Unable to run your python process properly. Unable to provide any further information.");402 const char* format=_("%s \n Unable to run your python process properly. Unable to provide any further information."); 403 403 pbt=(char*)malloc((strlen(format)+strlen(tpbt)+strlen(PyString_AsString(trace))+1)*sizeof(char)); 404 404 sprintf(pbt,format,tpbt);
Note: See TracChangeset
for help on using the changeset viewer.