Closed lnetwalker closed 4 years ago
that means that filenames/pathes are not valid. Check all files a pathes to get valid filenames/pathes
check these locations first:
find . -name "*.pas" -exec grep assign( {} \; -print assign(f,'/sys/class/gpio/export'); assign(f,'/sys/class/gpio/gpio' + gpiodevicenumber + '/direction'); assign(f,'/sys/class/gpio/gpio' + gpiodevicenumber + '/value'); ./DeviceServer/test/armgpiotest.pas assign(LOG,logfile); assign(ERR,'/tmp/deviceserver_TelnetErr.log'); assign(DBG,'/tmp/deviceserver_TelnetDbg.log'); ./DeviceServer/telnetserver.pas assign(F,'/proc/cpuinfo'); ./DeviceServer/DeviceServer.pas assign(f,filename); ./datalogger/datalogger.pas assign(DBG,'/tmp/popmenu_dbg.log'); ./sps/popmenu.pas assign(f,fqfn); ./sps/browse.pas assign(DBG,'/tmp/popmenu_dbg.log'); ./sps/fileserv.pas assign(F,URL); ./webserver/test/webserver/pswebserver.pas assign(ACC,logfile); assign(G,URL); assign(ERR,'/tmp/deviceserver_err.log'); assign(DBG,'/tmp/deviceserver_dbg.log'); ./webserver/webserver.pas assign(f, filename); assign(f, filename); ./divLibs/gtk/qgtk2.pas-0.9/tutorial/qgtk2.pas assign(f, filename); assign(f, filename); ./divLibs/gtk/qgtk2.pas-0.9/qgtk2.pas assign(fo, foutput); assign(fi, finput); ./divLibs/gtk/qgtk2.pas-0.9/xpm2pas.pas assign(numpad,'/dev/input/by-id/usb-04d9_USB_Keyboard-event-kbd'); ./PhysMach/test/numpadtest.pas assign(F,IOFile); assign(F,IOFile); ./PhysMach/lp_io_access.pas assign(f,Joystick[dev]); assign(f,Joystick[dev]); ./PhysMach/joy_io_access.pas assign(F,IOFile); ./PhysMach/funk_io_access.pas assign(LOG,'/tmp/debug.log'); ./HelperLibs/CommonHelper.pas
should work now, see build 197 of OpenMSR-Pipeline
after this changes and creating the directory c:\temp sps starts, but crashes at Fileservice when pressing load another crash occurs in the editor when trying to format the input if that fails must be executed with admin rights!
after adding file io checking around all file accesses I get an runttime error 102 file not assign error line 271 of telnetserver.pas , when starting DeviceServer.exe see commit ec7355781778a3e72c31c75fb74da8466a882233 see also build 207 of pipeline
sps.exe crashes with: Runtime error 3 at $0041ad58 $xxxxxxx POPMENU_init, line 706 of popmenu.pas