[OGo-Developer] problems with Invoice application

Sebastian Reitenbach developer@opengroupware.org
Thu, 23 Nov 2006 06:52:03 -0000


Hi,

I fiddled around with the Invoice application in Misc/Invoice, created a patch 
to remove the old dependencies, and to actually let it compile again.

http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1810

I copied the LSInvoice.cmd directory 
to /usr/local/lib/opengroupware.org/commands

copied the SkyInvoice.lso
to /usr/local/lib/opengroupware.org/webui

and the SkyInvoiceDS.ds directory to 
/usr/local/lib/opengroupware.org/datasources

and the three files:
./SkyInvoiceLib/shared_debug_obj/libSkyInvoice_d.so.0.0.1
./SkyInvoiceLib/shared_debug_obj/libSkyInvoice_d.so.0
./SkyInvoiceLib/shared_debug_obj/libSkyInvoice_d.so

to the Libraries path, where I have libNGObjWeb_d* and all the rest of the ogo 
libraries.

when I restart ogo, I have the Faktura available, in the preferences, and I 
can enable it, too. but it is not working as it should. 

While starting up ogo, I see the following warnings showing up:

Nov 23 07:33:21 ogo-webui-1.1 [32271]: [WARN] <0x0x8ba1f3a4
[LSInvoiceCommands]> did not find class as registered in 
bundle: 'LSGetInvoiceAccountCommand.m'
  <NGBundle 0x7da2d864 
fullPath: /usr/local/lib/opengroupware.org-1.1/commands/LSInvoice.cmd 
infoDictionary: 0x863a9c04 loaded=yes>
Nov 23 07:33:21 ogo-webui-1.1 [32271]: [WARN] <0x0x8ba1f3a4
[LSInvoiceCommands]> did not find class as registered in 
bundle: 'LSNewInvoiceAccountCommand.m'
  <NGBundle 0x7da2d864 
fullPath: /usr/local/lib/opengroupware.org-1.1/commands/LSInvoice.cmd 
infoDictionary: 0x863a9c04 loaded=yes>
Nov 23 07:33:21 ogo-webui-1.1 [32271]: [WARN] <0x0x8ba1f3a4
[LSInvoiceCommands]> did not find class as registered in 
bundle: 'LSSetInvoiceAccountCommand.m'
  <NGBundle 0x7da2d864 
fullPath: /usr/local/lib/opengroupware.org-1.1/commands/LSInvoice.cmd 
infoDictionary: 0x863a9c04 loaded=yes>
Nov 23 07:33:21 ogo-webui-1.1 [32271]: [WARN] <0x0x8ba1f3a4
[LSInvoiceCommands]> did not find class as registered in 
bundle: 'LSGetInvoiceActionCommand.m'
  <NGBundle 0x7da2d864 
fullPath: /usr/local/lib/opengroupware.org-1.1/commands/LSInvoice.cmd 
infoDictionary: 0x863a9c04 loaded=yes>
Nov 23 07:33:21 ogo-webui-1.1 [32271]: [WARN] <0x0x8ba1f3a4
[LSInvoiceCommands]> did not find class as registered in 
bundle: 'LSNewInvoiceActionCommand.m'


how do I know which class is meant here, that it cannot find?
for what do I have to look for in LSNewInvoiceActionCommand.m?

and a bit later I see the following warnings:

Nov 23 07:34:05 ogo-webui-1.1 [18549]: Note: found doc-viewers 
attributes,contents,versions,access,logs
Nov 23 07:34:05 ogo-webui-1.1 [18549]: Note: using default doc-viewer rules.
Nov 23 07:34:05 ogo-webui-1.1 [18549]: Note: folder-view did not find Epoz.
Nov 23 07:34:06 ogo-webui-1.1 [18549]: SkyPersonViewer: form letter types: 
excel, framemaker, winword
/usr/local/sbin/ogo-webui-1.1:/usr/local/lib/opengroupware.org-1.1/webui/SkyInvo
ice.lso/SkyInvoice: 
undefined symbol '__objc_class_name_SkyInvoiceDataSource'
dynamic load (dlopen) error:
Cannot load specified object
Nov 23 07:34:06 ogo-webui-1.1 [18549]: [ERROR] <0x0x807db124
[OGoWebBundleLoader]> could not load bundle: <NGBundle 0x87a9d864 
fullPath: /usr/local/lib/opengroupware.org-1.1/webui/SkyInvoice.lso 
infoDictionary: 0x87a9dae4 loaded=yes>
Nov 23 07:34:06 ogo-webui-1.1 [18549]: ERROR: did not find handler class 
SkyInvoiceModule of 
bundle /usr/local/lib/opengroupware.org-1.1/webui/SkyInvoice.lso.
Nov 23 07:34:06 ogo-webui-1.1 [18549]: ERROR: could not instantiate handler 
class SkyInvoiceModule of 
bundle /usr/local/lib/opengroupware.org-1.1/webui/SkyInvoice.lso.
Nov 23 07:34:06 ogo-webui-1.1 [18549]: [ERROR] <0x0x807db124
[OGoWebBundleLoader]> could not load bundle: <NGBundle 0x87a9d864 
fullPath: /usr/local/lib/opengroupware.org-1.1/webui/SkyInvoice.lso 
infoDictionary: 0x87a9dae4 loaded=yes>
Nov 23 07:34:06 ogo-webui-1.1 [18549]: <0x0x26295a40[LSCommandContext]> 
+[LSCommandContext(LDAPSupport) isLDAPLoginAuthorized:password:]: LDAP 
server '127.0.0.1:389' did not authenticate user 'root'


I think when I can get rid of the undefined symbol, then it will load the 
SkyInvoice.lso bundle.



any suggestion where I shall take look to make it work? I fiddle around with 
that for the last two evenings to get rid of these errors/warnings, but no 
luck yet. any hint appreciated.

kind regards
Sebastian