On 22 Jan 2011, at 22:43, Aparajita Fishman wrote: > > On Jan 21, 2011, at 4:03 PM, Lisa Pollard wrote: > >> >> On 18 Jan 2011, at 18:19, Aparajita Fishman wrote: >> >>>> I noticed that there is an error in the Active4D Log when I start the >>>> server: >>>> Active4D: [error] Invalid identifier: >>>> /Users/aparajita/Development/Projects/4D >>>> Plugins/v11/Active4D-v11/src/my_plugin.cpp, line 1518, importActive4DLib >>> >>> Your On Application Start method is croaking with a bad identifier. Try >>> turning debug logging on and try again, you might get more detail as to >>> where the error is within On Application Start. >> >> Turned on the debug logging but had no new [debug] logs in the console. > > Then you'll have to use 'write to console' to figure out where the error is > occurring.
The problem occurs during A4D Init on Server Startup, and as it doesn't load the library, there is no where to put a write to console. On a closer look at the binary Active4D it appears that there are quite a few places where the /Users/aparajita/Development/Projects/4D Plugins/v11/Active4D-v11 has been hard-coded. We replaced our Active4D.a4l with the one from the demo and it loaded it fine. On further inspection there was an error in our Active4D.a4l document. Would it be at all possible to have a more helpful error message when the library fails to load because of an error? If we knew what the problem was then we could have solved it a lot quicker! cheers Lisa -- Lisa Pollard Software Developer Another Dimension Ltd Needham Hall Barns, Needham Street Gazeley, Newmarket, Suffolk. CB8 8RR [email protected] Tel: +44 1638 554450 URL: http://www.anotherdimension.co.uk _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
