sirakoto / freemedforms

Automatically exported from code.google.com/p/freemedforms
Other
0 stars 1 forks source link

Problems running config.ini on Mac #95

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Trying from the command line as per below, the process simply stops at the end, 
with no launch 
of FreeDiams

MacBook:Applications djb$ FreeDiams.app/Contents/MacOs/FreeDiams --
config=../../../../global_resources/config.ini "--patientname=Gloubi boul gah" 
--weight=91 --
size=123 --dateofbirth=07/11/1940 --gender=M
"Main" "Command line : FreeDiams.app/Contents/MacOs/FreeDiams --
config=../../../../global_resources/config.ini --patientname=Gloubi boul gah 
--weight=91 --
size=123 --dateofbirth=07/11/1940 --gender=M" 
"Main" "looking for plugins in path : 
/Applications/FreeDiams.app/Contents/plugins" 
"Main" "Running release version" 
"Settings" "Passing command line ini file : 
../../../../global_resources/config.ini" 
"Settings" "WARNING : Ini file /global_resources/config.ini can not be used." 
"Settings" "Trying ini file /Users/djb/.FreeDiams/config.ini" 
"Settings" "Using ini file /Users/djb/.FreeDiams/config.ini" 
"ThemePrivate" "Setting theme path to : 
/Applications/FreeDiams.app/Contents/Resources" 
"Translators" "Setting Translators path to 
/Applications/FreeDiams.app/Contents/MacOs" 
"Translators" "Setting Translators path to 
/Applications/FreeDiams.app/Contents/Resources/translations" 
"Translators" "WARNING : Can not be loaded /Applications/qt_en or already 
loaded." 
"Translators" "WARNING : Can not be loaded /Applications/translationutils_en or 
already loaded." 
"Translators" "WARNING : Can not be loaded /Applications/utils_en or already 
loaded." 
"Translators" "WARNING : Can not be loaded /Applications/medicalutils_en or 
already loaded." 
"Translators" "WARNING : Can not be loaded /Applications/medintuxtoolkit_en or 
already 
loaded." 
"Translators" "WARNING : Can not be loaded /Applications/fdcoreplugin_en or 
already loaded." 
"Core" "Starting application at Mon Mar 1 08:08:43 2010" 
"Core" "Using library : /Applications/FreeDiams.app/Contents/plugins" 
"Core" "Using library : /Applications/FreeDiams.app/Contents/plugins/qt" 
"Core" "Core intialization finished..." 
creating TextEditorPlugin 
creating PrinterPlugin 
creating TemplatesPlugin 
creating FREEDIAMS::DrugsBasePlugin 
creating FREEDIAMS::DrugsPlugin 
creating MainWinPlugin 
CorePlugin::initialize 
TextEditorPlugin::initialize 
PrinterPlugin::initialize 
TemplatesPlugin::initialize 
DrugsBasePlugin::initialize 
DrugsPlugin::initialize 
"DrugsPlugin" "Running as FreeDiams" 
"DrugsBase" "Searching databases into dir 
/Applications/FreeDiams.app/Contents/Resources/databases/drugs" 
"Database" "INFO : database drugs connection = 1" 
"Database" "INFO : database drugs installed. Path : 
/Applications/FreeDiams.app/Contents/Resources/databases/drugs" 
"Database" "INFO : database dosages connection = 1" 
"Database" "INFO : database dosages installed. Path : 
/Users/djb/.FreeDiams/databases/drugs" 
MainWinPlugin::initialize 
MainWinPlugin::extensionsInitialized 
"Translators" "WARNING : Can not be loaded /Applications/fdmainwindowplugin_en 
or already 
loaded." 
"DrugsActionHandler" "Instance created" 
*** addAction(): Unknown group:  "grFile.New" 
"DrugsWidgetManager" "Instance created" 
"InteractionsManager1" "Instance created" 
"DrugsModel_1" "Instance created" 
"MainWindow" "Raising Application..." 
"UpdateChecker" "Checking for updates from 
http://www.ericmaeker.fr/FreeMedForms/update-
di.txt" 
"UpdateChecker" "getFile" 
"TemplatesModel" "Getting Templates Categories" 
"TemplatesModel" "Getting Templates" 
DrugsPlugin::extensionsInitialized 
"Translators" "WARNING : Can not be loaded /Applications/mfDrugsWidget_en or 
already loaded." 
"Translators" "WARNING : Can not be loaded /Applications/drugsbaseplugin_en or 
already 
loaded." 
DrugsBasePlugin::extensionsInitialized 
TemplatesPlugin::extensionsInitialized 
"Translators" "WARNING : Can not be loaded /Applications/templatesplugin_en or 
already 
loaded." 
PrinterPlugin::extensionsInitialized 
"Translators" "WARNING : Can not be loaded /Applications/printerplugin_en or 
already loaded." 
TextEditorPlugin::extensionsInitialized 
"Translators" "WARNING : Can not be loaded /Applications/texteditorplugin_en or 
already 
loaded." 
CorePlugin::extensionsInitialized 
"UpdateChecker" "Version up to date" 

Original issue reported on code.google.com by james.bu...@ubc.ca on 1 Mar 2010 at 4:12

GoogleCodeExporter commented 8 years ago
This has been answered by Eric at
http://groups.google.com/group/freemedforms/msg/31b4aefdd4570b93

short answer: use the following form, noting some arguments are future (v0.4)
/Applications/FreeDiams.app/Contents/MacOs/FreeDiams --patientname="Gloubi boul 
gah"   
--weight=91 --size=123 --dateofbirth=07/11/1940 --gender=M 

Original comment by james.bu...@ubc.ca on 1 Mar 2010 at 5:32