Re: [dev] program message: general input/output error

2010-12-08 Thread Terrence Enger
On Wed, 2010-12-08 at 09:24 +0100, Stephan Bergmann wrote:
 
 This might be broken in DEV300_m94 and fixed in DEV300_m95.  (At least, 
 an unxlngi6.pro DEV300_m95 build I inspected contained 
 openoffice.org/basis3.4/program/libmswordli.so.) 
 http://hg.services.openoffice.org/DEV300/rev/6d3ed77020da appears to 
 be relevant, but its commit message contains neither CWS name nor issue 
 number.

Hmm.  That patch is from 2010-09-07, and my file in m94 has the
intended replacement line (although 47 lines earlier, at line number
1349).  Looking at that line in a few recent and future^W^W (Hey,
somebody uploaded m95 even while I was writing this message!)
milestones, I see ...

m92:  STD_LIB_FILE( gid_File_Lib_Msword, msword ) 
m93:  STD_UNO_LIB_FILE( gid_File_Lib_Msword, msword )
m94:  STD_UNO_LIB_FILE( gid_File_Lib_Msword, msword )
m95:  STD_LIB_FILE( gid_File_Lib_Msword, msword )

Trying DEV300_m92, I can open my document without trouble.  The
document attached to issue 100030 provokes the reported message with
both m92 and m94.  When I have built m95, I'll see if there is any
interesting change.


Thanks,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] program message: general input/output error

2010-12-07 Thread Terrence Enger
Greetings,


When I try to open a MSWord document that I have received, my
non-product build of m94 presents a dialog box saying

General Error.
General input/output error.

and it does not open the document.  Hacking around with gdb, I see the
program trying to open


file:///home/terry/OOo_hacking/localbuild/OpenOffice/installed/install/en-US/openoffice.org/basis3.4/program/libraries/libmswordli.so

which the program resolves as 


/home/terry/OOo_hacking/localbuild/OpenOffice/installed/install/en-US/openoffice.org/basis3.4/program/libraries/libmswordli.so

which I lack.  Indeed, I lack a file with that basename anywhere
within localbuild/.  Is there anything obvious that I could have done
wrong in my configuration, build, or installation to cause this error?
My build script issues

export LOCALINSTALLDIR=/home/terry/OOo_hacking/localbuild
export PKGFORMAT=installed

before calling dmake, and I shall append a copy of my call to
configure.


Among the 244 hits (sheesh!) returned from a bug search for general
input/output error, I see issue 110030
http://www.openoffice.org/issues/show_bug.cgi?id=110030.  This
differs from my situation in that its attached document is a .docx
while my document is a .doc.  However, I get very similar backtraces
from trying to open the two files.  Some questions arise.  (Yes, I
*do* have too much time on my hands. grin /)

(*) If the message points to a program problem rather than my own
error, is issue 110030 the right place for me add a comment about
the missing file?

(*) The message general input/output error is unhelpfully, well,
general.  Would it be a good idea (and feasible?) to extend the
error message in some way?

(*) Would it be a good idea to make some calling functions raise
assertions upon failure?  What macros would be appropriate?  The
end result after the error message often seems to be the
non-performance of what the user intended to do.  This is more
serious than the situations in which I have seen many assertions
raised.

(*) What can I do to identify the problematic files--mine and the one
attached to issue 100030--more helpfully than merely .docx and
.doc?


Thanks,
Terry.


= start configuration parameters ==
./configure --disable-mozilla \
--with-system-stdlibs \
--with-system-zlib \
--with-system-openssl \
--with-system-jpeg \
--with-system-libwpd \
--with-system-python \
--with-system-db \
--with-system-libxslt \
--with-system-sane-header \
--with-system-xrender-headers \
--with-system-vigra \
--with-system-neon \
--without-fonts \
--disable-odk \
--without-myspell-dicts \
--enable-symbols \
--disable-strip-solver \
--with-system-curl \
--with-jdk-home=/usr/lib/jvm/java-6-sun \
--with-use-shell=bash \
--enable-dbgutil \
--without-junit \
--disable-gstreamer
= end configuration parameters 



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Save as MS Word 2006, but program lacks filter

2010-12-02 Thread Terrence Enger
Greetings,

My local build of DEV300_m94 offer Save As MS Word 2006, but the
program displays message Filter not found.

My configure options do not say --disable-binfilter.  Is there
anything else I could have done to provoke this behaviour?  Is
it a bug?  My configure command follows.

Thanks,
Terry.

= configure command begins ==
./configure --disable-mozilla \
--with-system-stdlibs \
--with-system-zlib \
--with-system-openssl \
--with-system-jpeg \
--with-system-libwpd \
--with-system-python \
--with-system-db \
--with-system-libxslt \
--with-system-sane-header \
--with-system-xrender-headers \
--with-system-vigra \
--with-system-neon \
--without-fonts \
--disable-odk \
--without-myspell-dicts \
--enable-symbols \
--disable-strip-solver \
--with-system-curl \
--with-jdk-home=/usr/lib/jvm/java-6-sun \
--with-use-shell=bash \
--enable-dbgutil \
--without-junit \
--disable-gstreamer
= configure command ends 



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: Save as MS Word 2006, but program lacks filter

2010-12-02 Thread Terrence Enger
Thank you, Michael.

On Thu, 2010-12-02 at 18:53 +0100, Michael Stahl wrote:
 On 02/12/2010 18:32, Terrence Enger wrote:
  Greetings,
  
  My local build of DEV300_m94 offer Save As MS Word 2006, but the
  program displays message Filter not found.
 
 the writer DOC/RTF filters broke due to some kind of merge error when
 integrating the new RTF export in DEV300m93.
 
 it is fixed in os144 (currently nominated).
 
 (btw, the RTF import crashes due to an entirely different problem since
 DEV300m92 which is also fixed in os144)
 


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Crash on PDF export with m92

2010-11-19 Thread Terrence Enger
On Fri, 2010-11-19 at 13:10 +0100, Pavel Laštovička wrote:
 Hello,
 
 I am experiencing crashes or malloc memory corruption when I do export to 
 PDF. 
 The logs I am attaching were created in daemon mode with jodconverter library 
 as 
 a client. I tried to export the same .ods document to .xls without problem.
 
 What do you think? Should I update to m91 and try it with that version?

Issue 114606 differs from your situation in that I did print directly 
rather than exporting to PDF.  Still, the same line of code raised the 
assertion, so it may be relevant.

That issue is fixed in cws dba34a, which EIS shows integrated in m93.  
So m91 may not be new enough.

HTH,
Terry.


 
 Best Regards
 
 -- 
 Pavel Laštovička
 
 
 
 Reading symbols for shared libraries . done
 Reading symbols for shared libraries . done
 Reading symbols for shared libraries . done
 Error: FmXFormView::~FmXFormView: Window list not empty!
  From File /Users/pavel/Documents/DEV300/svx/source/form/fmvwimp.cxx at Line 
 504
 Error: FmXFormView::~FmXFormView: Window list not empty!
  From File /Users/pavel/Documents/DEV300/svx/source/form/fmvwimp.cxx at Line 
 504
 Error: FmXFormView::~FmXFormView: Window list not empty!
  From File /Users/pavel/Documents/DEV300/svx/source/form/fmvwimp.cxx at Line 
 504
 
 Program received signal EXC_BAD_ACCESS, Could not access memory.
 Reason: KERN_INVALID_ADDRESS at address: 0x2175
 [Switching to process 6142]
 0x2175 in ?? ()
 (gdb) bt
 #0  0x2175 in ?? ()
 Cannot access memory at address 0x2175
 #1  0x01da6b5c in ImplMacFontData::~ImplMacFontData (this=0x16b10350) at 
 /Users/pavel/Documents/DEV300/vcl/aqua/source/gdi/salgdi.cxx:82
 #2  0x019eff87 in ImplDevFontListData::~ImplDevFontListData (this=0x16b103a0) 
 at /Users/pavel/Documents/DEV300/vcl/source/gdi/outdev3.cxx:1062
 #3  0x019fca42 in ImplDevFontList::Clear (this=0x16b0d8a0) at 
 /Users/pavel/Documents/DEV300/vcl/source/gdi/outdev3.cxx:1299
 #4  0x019eada9 in OutputDevice::~OutputDevice (this=0x16b0d630) at 
 /Users/pavel/Documents/DEV300/vcl/source/gdi/outdev.cxx:564
 #5  0x01b23e92 in VirtualDevice::~VirtualDevice (this=0x16b0d630) at 
 /Users/pavel/Documents/DEV300/vcl/source/gdi/virdev.cxx:207
 #6  0x01a79dc7 in vcl::PDFWriterImpl::~PDFWriterImpl (this=0x50cfe00) at 
 /Users/pavel/Documents/DEV300/vcl/source/gdi/pdfwriter_impl.cxx:1805
 #7  0x01bc83fb in vcl::PDFWriter::~PDFWriter (this=0x49cecf0) at 
 /Users/pavel/Documents/DEV300/vcl/source/gdi/pdfwriter.cxx:49
 #8  0x16c2af59 in PDFExport::Export ()
 #9  0x16c22c1c in PDFFilter::implExport ()
 #10 0x16c244d7 in PDFFilter::filter ()
 #11 0x006eaab1 in SfxObjectShell::ExportTo ()
 #12 0x006ee7ff in SfxObjectShell::SaveTo_Impl ()
 #13 0x006f1e5e in SfxObjectShell::PreDoSaveAs_Impl ()
 #14 0x006f299b in SfxObjectShell::CommonSaveAs_Impl ()
 #15 0x006fe002 in SfxObjectShell::APISaveAs_Impl ()
 #16 0x0075c20c in SfxBaseModel::impl_store ()
 #17 0x0075e603 in SfxBaseModel::storeToURL ()
 #18 0x04c1dcab in (anonymous namespace)::callVirtualMethod ()
 #19 0x04c1e1e2 in (anonymous namespace)::cpp_call ()
 #20 0x04c1e95e in bridges::cpp_uno::shared::unoInterfaceProxyDispatch ()
 #21 0x074da15e in thisDispatch ()
 #22 0x074c9982 in bridges_urp::ServerMultiJob::execute ()
 #23 0x074ca1f2 in doit ()
 #24 0x005876e4 in cppu_threadpool::JobQueue::enter ()
 #25 0x00587f64 in cppu_threadpool::ORequestThread::run ()
 #26 0x005880ba in cppu_requestThreadWorker ()
 #27 0xcf1d in osl_thread_start_Impl ()
 #28 0x952fd85d in _pthread_start ()
 #29 0x952fd6e2 in thread_start ()
 
 
 
 
 And my next attempt:
 
 (gdb) cont
 Continuing.
 Error: FmXFormView::~FmXFormView: Window list not empty!
  From File /Users/pavel/Documents/DEV300/svx/source/form/fmvwimp.cxx at Line 
 504
 Error: FmXFormView::~FmXFormView: Window list not empty!
  From File /Users/pavel/Documents/DEV300/svx/source/form/fmvwimp.cxx at Line 
 504
 soffice(8078,0xb038d000) malloc: *** error for object 0xe05de84: incorrect 
 checksum for freed object - object was probably modified after being freed.
 *** set a breakpoint in malloc_error_break to debug
 
 Breakpoint 2, 0x953c6f82 in malloc_error_break ()
 (gdb) bt
 #0  0x953c6f82 in malloc_error_break ()
 #1  0x953c812c in szone_error ()
 #2  0x953c829f in free_list_checksum_botch ()
 #3  0x952d5139 in tiny_malloc_from_free_list ()
 #4  0x952d4301 in szone_malloc_should_clear ()
 #5  0x952d41a8 in malloc_zone_malloc ()
 #6  0x952d2278 in malloc ()
 #7  0x93564617 in operator new ()
 #8  0x06ec0ec4 in std::_Rb_treertl::OUString, std::pairrtl::OUString const, 
 configmgr::ChildAccess*, std::_Select1ststd::pairrtl::OUString const, 
 configmgr::ChildAccess*  , std::lessrtl::OUString, 
 std::allocatorstd::pairrtl::OUString const, configmgr::ChildAccess*
 ::_M_insert ()
 #9  0x06ec11ed in std::_Rb_treertl::OUString, std::pairrtl::OUString const, 
 configmgr::ChildAccess*, std::_Select1ststd::pairrtl::OUString const, 
 

Re: [dev] importing a .docx, assertions raised

2010-10-20 Thread Terrence Enger
On Wed, 2010-10-20 at 13:15 +0200, Stephan Bergmann wrote:
 On 10/15/10 17:08, Terrence Enger wrote:
  Now, I understand that each raised assertion should be filed as an
  issue, but nine distinct assertions (some repeated lotsa times) seems
  like a bit of a muchness.  Will someone here please tell me to go
  ahead?
 
 I would suggest you go ahead anyway (if you have the energy).
 
Thank you.  Issues 115141, 155143, 115146, 115147, 115149, 115150, 
115153, 115154, 115155, and 115156, just in case anybody cares.


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] importing a .docx, assertions raised

2010-10-15 Thread Terrence Enger
Purely as procrastination, I downloaded a .docx file and tried to open
it in my non-product build of OOo.

Now, I understand that each raised assertion should be filed as an
issue, but nine distinct assertions (some repeated lotsa times) seems
like a bit of a muchness.  Will someone here please tell me to go
ahead?

I presume that I should report the ultimate crash of OOo anyway,
presuming that it happens again.

A couple of subordinate questions ...

(*) Do you know of an on-line validator for .docx files?  I have found
only Windows-based validators.

(*) Sometimes I generate a backtrace of a raised assertion that I am
reporting.  Is this helpful?  As I have debugging symbols and am
running on a system less powerful than the documented minimum, it
can take quite a while to generate the backtrace.

Thanks,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] build problem, DEV300_m88

2010-09-23 Thread Terrence Enger
Greetings,


I am unable to build DEV300_m88.  The relevant (I think) part of the
output reads ...

=
Building module redland
=

Entering /home/terry/OOo_hacking/DEV300_m88/redland/raptor


Entering /home/terry/OOo_hacking/DEV300_m88/redland/rasqal


Entering /home/terry/OOo_hacking/DEV300_m88/redland/redland

redland deliver
deliver -- version: 275594
deliver: /home/terry/OOo_hacking/DEV300_m88/redland/prj/d.lst: ERROR: can't 
copy ../unxlngi6/inc/rdf_iterator_internal.h: No such file or directory
deliver: /home/terry/OOo_hacking/DEV300_m88/redland/prj/d.lst: ERROR: 
directory '/home/terry/OOo_hacking/DEV300_m88/solver/300/unxlngi6/inc/external' 
does not exist
deliver: /home/terry/OOo_hacking/DEV300_m88/redland/prj/d.lst: ERROR: can't 
copy ../unxlngi6/inc/rdf_node.h: No such file or directory
deliver: /home/terry/OOo_hacking/DEV300_m88/redland/prj/d.lst: ERROR: 
directory '/home/terry/OOo_hacking/DEV300_m88/solver/300/unxlngi6/inc/external' 
does not exist
deliver: /home/terry/OOo_hacking/DEV300_m88/redland/prj/d.lst: ERROR: can't 
copy ../unxlngi6/inc/rdf_iterator.h: No such file or directory
deliver: /home/terry/OOo_hacking/DEV300_m88/redland/prj/d.lst: ERROR: 
directory '/home/terry/OOo_hacking/DEV300_m88/solver/300/unxlngi6/inc/external' 
does not exist
deliver: /home/terry/OOo_hacking/DEV300_m88/redland/prj/d.lst: ERROR: can't 
copy ../unxlngi6/inc/rdf_storage.h: No such file or directory
deliver: /home/terry/OOo_hacking/DEV300_m88/redland/prj/d.lst: ERROR: 
directory '/home/terry/OOo_hacking/DEV300_m88/solver/300/unxlngi6/inc/external' 
does not exist
deliver: /home/terry/OOo_hacking/DEV300_m88/redland/prj/d.lst: ERROR: can't 
copy ../unxlngi6/inc/rdf_parser_internal.h: No such file or directory
deliver: /home/terry/OOo_hacking/DEV300_m88/redland/prj/d.lst: ERROR: 
directory '/home/terry/OOo_hacking/DEV300_m88/solver/300/unxlngi6/inc/external' 
does not exist
deliver: /home/terry/OOo_hacking/DEV300_m88/redland/prj/d.lst: ERROR: can't 
copy ../unxlngi6/inc/rdf_digest_internal.h: No such file or directory
deliver: /home/terry/OOo_hacking/DEV300_m88/redland/prj/d.lst: ERROR: 
directory '/home/terry/OOo_hacking/DEV300_m88/solver/300/unxlngi6/inc/external' 
does not exist

... and continues on in a similar vein.


For comparison, my build of DEV300_m87 was successful.  Suggestions
welcome.


Thanks,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: build problem, DEV300_m88

2010-09-23 Thread Terrence Enger
On Thu, 2010-09-23 at 12:21 +0200, Michael Stahl wrote:
 On 23/09/2010 09:30, Terrence Enger wrote:
  Greetings,
  
  
  I am unable to build DEV300_m88.  The relevant (I think) part of the
  output reads ...
 [...]
  redland deliver
  deliver -- version: 275594
  deliver: /home/terry/OOo_hacking/DEV300_m88/redland/prj/d.lst: ERROR: 
  can't copy ../unxlngi6/inc/rdf_iterator_internal.h: No such file or 
  directory
  deliver: /home/terry/OOo_hacking/DEV300_m88/redland/prj/d.lst: ERROR: 
  directory 
  '/home/terry/OOo_hacking/DEV300_m88/solver/300/unxlngi6/inc/external' does 
  not exist
 [...]
  For comparison, my build of DEV300_m87 was successful.  Suggestions
  welcome.
 
 after looking at redland/prj i think i've figured out how this can happen:
 the problem is that the solver inc/external directory does not exist, and
 is not created by redland/prj/d.lst.
 because redland depends on libxml2, libxslt, and openssl, each of which
 creates the solver inc/external directory, the build usually works.
 _except_ if you build against system libxml2, libxslt, openssl, but not
 system redland, _and_ you're unlucky enough that some other module that
 would create solver inc/external is not delivered before redland.
 
 so you can add the following as first line of redland/prj/d.lst, then it
 should work:
 
 mkdir: %_DEST%\inc%_EXT%\external

Thank you, Michael.  The build is proceding.

 
 oh, and of course nothing changed between m87 and m88.
 nothing except your luck :)
 
  Thanks,
  Terry.
 


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: FASTBOOL macro vs bool - decrease memory usage

2010-06-27 Thread Terrence Enger
On Fri, 2010-06-25 at 10:03 +0200, Michael Stahl wrote:
On 25/06/2010 08:53, Stephan Bergmann wrote:
  On 06/24/10 22:51, Terrence Enger wrote:
  This is about a sal_Bool rather than a bool, but I shall raise
  the question anyway.
 
  It just happens that I was running OO under gdb, and the
  following output had already caught my attention.
 
  Breakpoint 1, connectivity::OSkipDeletedSet::moveAbsolute
(this=0xa85faa14, _nPos=1, _bRetrieveData=244 'ô')
at 
/home/terry/OOo_hacking/DEV300_m83/connectivity/source/commontools/TSkipDeletedSet.cxx:170
  170sal_Bool OSkipDeletedSet::moveAbsolute(sal_Int32
_nPos,sal_Bool _bRetrieveData
 
  Is the funny value of _bRetrieveData sufficient grounds to create
  an issue?
  
  Technically, it should be OK; a sal_Bool value == 0 represents
false, 
  while anything != 0 represents true.  However, using anything but
0/1 is 
  error-prone and probably dubious, so looking into it would
definitely be 
  worthwhile.  (There is a slim chance that this is caused by
compiler 
  optimizations and is thus harmless, or that gdb displays garbage
instead 
  of the true function arguments, but the values for this and _nPos
look 
  reasonable enough to let you assume that the value for
_bRetrieveData is 
  correct also.)
 
 well, the last time i found something like this it was just plain
 uninitialized memory.  i guess somebody should investigate where the
value
 came from.
 
 

I looked further, and I see ...

(1) At breakpoint on first definition line of the function
(TSkipDeletedSet.cxx:170), gdb shows funny values or
_bRetrieveData, most recently 176.

(2) After I do gdb next, so that line 173 is ready for
execution, gdb shows _bRetrieveData has value 1.

(3) If I set a breakpoint by function name on
connectivity::OSkipDeletedSet::moveAboslute, gdb reports the
breakpoint set on line 173.  At the break point, gdb has
shown _bRetrieveData with value 1 several time in succession.


Just a funny in gdb, I guess.

Thank you for your help.

Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] How to run quickstarter?

2010-06-27 Thread Terrence Enger
On Tue, 2010-05-25 at 10:44 +0200, Stephan Bergmann wrote:
On 05/23/10 19:56, Ariel Constenla-Haile wrote:
  On Sunday 23 May 2010, 14:15, Terrence Enger wrote:
  Uh oh.  This time my attempt to install only for me displays a
  message box, give or take my retyping, ...
 
  loading component library failed:
 
 
file:///home/terry/OOo_hacking/localbuild/openoffice.org3/program/../.open
 
office.org/3/user/uno_packages/cache/uno_packages/giOaFu_/QuickStartFixer_L
  inux_x86.oxt/Linux_x86/QuickStartFixer.uno.so
 
  and trying to install for all users gives a superficially
  similar message.  The named file exists, permissions -rw-r--r--,
  282635 bytes.
 
  I am sorry to be a nuisance.  Any further suggestions?  I have a
  non-product build with debugging symbols, in case that suggests
  any way I can help.
  
  quite strange... it builds (with the OOo SDK build env.) fine and
also works 
  for me on Fedora and Ubuntu (32 and 64 bits). 
 
 Most probably due to libstlport_gcc.so vs. libstlport_gcc_stldebug.so 
 mismatch due to product/non-product mismatch.
 

That sounds like a plausible explanation.

I now have a non-product build of DEV300_m83 without any local
modifications.  It runs the quickstarter the first time I run
after installation.

The assertions I reported earlier are in abeyance.  I shall go
off now to resolve issue 111452.

Thank you for your help.

Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] How to run quickstarter?

2010-06-27 Thread Terrence Enger
On Sun, 2010-06-27 at 15:12 -0400, Terrence Enger wrote:
 
 The assertions I reported earlier are in abeyance.  I shall go
 off now to resolve issue 111452.

Uh oh.  I mean I am going off to resolve issue 110623 as a
duplicate of 111452, which is fixed

Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] FASTBOOL macro vs bool - decrease memory usage

2010-06-24 Thread Terrence Enger
On Thu, 2010-06-24 at 11:32 +0200, Stephan Bergmann wrote:
 On 06/24/10 11:17, Bartosz wrote:
  Maybe we should change it to (or remove this macro):
typedef bool  FASTBOOL;
 
 Yes, best would certainly be to remove the typedef and change 
 occurrences of  FASTBOOL to plain bool (watching out for potential 
 misuses that tunnel values other than true/false through a variable of 
 type FASTBOOL).

This is about a sal_Bool rather than a bool, but I shall raise
the question anyway.

It just happens that I was running OO under gdb, and the
following output had already caught my attention.

Breakpoint 1, connectivity::OSkipDeletedSet::moveAbsolute (this=0xa85faa14, 
_nPos=1, _bRetrieveData=244 'ô') at 
/home/terry/OOo_hacking/DEV300_m83/connectivity/source/commontools/TSkipDeletedSet.cxx:170
170 sal_Bool OSkipDeletedSet::moveAbsolute(sal_Int32 _nPos,sal_Bool 
_bRetrieveData

Is the funny value of _bRetrieveData sufficient grounds to create
an issue?

Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] How to run quickstarter?

2010-05-23 Thread Terrence Enger
On Sat, 2010-05-22 at 12:25 -0300, Ariel Constenla-Haile wrote:
 Hello Terrence,
 
 On Saturday 22 May 2010, 11:37, Terrence Enger wrote:
  I am running 32-bit mode.  I expect the effect is the same.
 
  `diff` reports that the download is the same.  
 
 sure it was cached in your browser. 

Right you are.  I thought about this, but FireFox download
history showed *two* dowloads, silly me presumed that meant that
it had downloaded the file a second time.  This morning I cleared
my browser cacher, and the link delivered a different file.  An
attempt to install only for me gives a message similar to the
one below.

 Try with 
 http://arielch.fedorapeople.org/devel/ooo/extensions/QuickStartFixer_Linux_x86.oxt

Uh oh.  This time my attempt to install only for me displays a
message box, give or take my retyping, ...

loading component library failed:

file:///home/terry/OOo_hacking/localbuild/openoffice.org3/program/../.openoffice.org/3/user/uno_packages/cache/uno_packages/giOaFu_/QuickStartFixer_Linux_x86.oxt/Linux_x86/QuickStartFixer.uno.so

and trying to install for all users gives a superficially
similar message.  The named file exists, permissions -rw-r--r--,
282635 bytes.

I am sorry to be a nuisance.  Any further suggestions?  I have a
non-product build with debugging symbols, in case that suggests
any way I can help.

Cheers,
Terry.

 
 Regards


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] How to run quickstarter?

2010-05-22 Thread Terrence Enger
On Fri, 2010-05-21 at 18:47 -0300, Ariel Constenla-Haile wrote:
 On Friday 21 May 2010, 18:13, Terrence Enger wrote:
I would
like
  to run the quickstarter.
 
 see if this extensions helps:

http://arielch.fedorapeople.org/devel/ooo/extensions/QuickStartFixer.oxt
 Install it and then restart OOo.

When I try to install the file, OO presents a dialog box saying The
extension 'QuickStart Fixer' does not work on this computer.  Do you
have any suggestions for me?

Thanks,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] How to run quickstarter?

2010-05-22 Thread Terrence Enger
On Sat, 2010-05-22 at 10:50 -0300, Ariel Constenla-Haile wrote:
 Hello Terrence,
 
 On Saturday 22 May 2010, 09:29, Terrence Enger wrote:
  On Fri, 2010-05-21 at 18:47 -0300, Ariel Constenla-Haile wrote:
   On Friday 21 May 2010, 18:13, Terrence Enger wrote:
  I
would
  
  like
  
to run the quickstarter.
   
   see if this extensions helps:
 
http://arielch.fedorapeople.org/devel/ooo/extensions/QuickStartFixer.oxt
  
   Install it and then restart OOo.
  
  When I try to install the file, OO presents a dialog box saying The
  extension 'QuickStart Fixer' does not work on this computer.  Do
you
  have any suggestions for me?
 
 I guess you're running on a 32 bits machine.

I am running 32-bit mode.  I expect the effect is the same.

 If so, it was my mistake (the extension description was for 64 bits
only), so 
 please try again  now:

http://arielch.fedorapeople.org/devel/ooo/extensions/QuickStartFixer.oxt

`diff` reports that the download is the same.  (I kept the original
because the attempted installation provoked two instances of what
looks like issue 103162
http://www.openoffice.org/issues/show_bug.cgi?id=103162, and I want
to try again when I have build m78.)

 
 I tested this on Ubuntu 10.4 32 bits and worked fine with Ubuntu's
OOo.
 
 Regards


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] How to run quickstarter?

2010-05-21 Thread Terrence Enger
Greetings,

I am running a somewhat hacked non-product build of DEV300_m76 without
desktop integration (i.e., built with PKGFORMAT=installed) on ubuntu
8.04 (hardy).

In aid of issue 110623 framework: AS/400 ... Error: ASSERT:
TransactionManager... Owner instance already closed.
http://qa.openoffice.org/issues/show_bug.cgi?id=110623, I would like
to run the quickstarter.

In tools  options  openoffice.org  memory  openoffice.org
quickstarter, enable systray quickstarter is checked, but this seems
not to do the job.  Meanwhile, issue 108846 point b) sfx2: gtk quick
starter is still a bit sick
http://www.openoffice.org/issues/show_bug.cgi?id=108846 suggests
that command line option -quickstart is not going to work for a while.

I presume that that my lack of Desktop integration is implicated in
the question, but my day-to-day work remains dependent on the version
of OpenOpen office delivered with the distribution.  Do you have any
suggestions for me?

Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: operator delete mismatch

2010-04-10 Thread Terrence Enger
On Fri, 2010-04-09 at 21:19 +0200, Björn Michaelsen wrote:
 Am Fri, 09 Apr 2010 15:12:00 -0400
 schrieb Terrence Enger ten...@iseries-guru.com:
 
  Is there anything that will capture a record of what I did to get into
  an interesting situation?  It has happened more than once that I
  have been trying to reproduced an assertion--but writing down the
  steps as I go along, so as to produce a good bug report--when I
  fat-finger something (but I am not sure exactly what) which sends me
  to a different assertion.
 
 This:
 
  http://wiki.services.openoffice.org/wiki/User_Experience/OpenOffice.org_User_Feedback_Program
 
 could be of some help to figure out what you fat-fingered. ;)
 However, I fear it is still a bit to high-level to be useful in
 general. But it might give you a hint on what just happened in some
 situations.
 

I have never seen the help optimize the quality ... window
presented, and my Tools  Options  OpenOffice.org lacks category
Improvement Program.  Output from configure --help does not contain
the string improve.  Is there something else I need to do to get
this?

I suspect the the testautomation project has something that would help
me.  However, I am already feeling overwhelmed by new knowledge.

Actually, I find many things that tend to spread out my attention: new
assertions, new techniques, new (to me) parts of OO.  But I think that
I will only be able to contribute usefully if I can get deeper
instead of wider, if you know what I mean.  I am in need of general
guidance.


Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] operator delete mismatch

2010-04-10 Thread Terrence Enger
On Tue, 2010-03-30 at 13:51 +0200, Frank Schoenheit, Sun Microsystems Germany 
wrote:
 Hi Terrence,
 
  A website page about building OOo says that non-product builds are
  used almost exclusively within Sun.  For a long time, I incorrectly
  took that to be a warning that they are hard to accomplish rather than
  merely a description of a regrettable state of affairs.  Perhaps we do
  not want to encourage a non-product build for a newcomer's very first
  attempt, but I could have been finding these assertions long ago.
  Would a change to the website be in order?
 
 Certainly, go ahead.

( I searched, and I couldn't find the page.  Then I was doing
something else, and I stumbled across it.  Obviously I need to improve
my google skills. )

For anybody who cares, I changed Non Product Build
http://wiki.services.openoffice.org/wiki/Non_Product_Build; the diff
is
http://wiki.services.openoffice.org/w/index.php?title=Non_Product_Buildcurid=1669diff=163692oldid=160306.

Cheers,
Terry.

 
 Ciao
 Frank


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: operator delete mismatch

2010-04-09 Thread Terrence Enger
On Tue, 2010-03-30 at 15:11 +0200, Michael Stahl wrote:
 On 30/03/2010 13:31, Terrence Enger wrote:
  ( I think, though, that I am giving up on trying to use a
non-product
  build when I actually want to get work done grin /. )
 
 before resorting to such extreme measures as not using non-product
builds,
 try the debug dialog (Control-Shift-Alt-D).
 it lets you change assertion reporting from a dialog box to output on
 stderr (the option is called shell), or to a window.
 you can also increase your level of annoyance by enabling warnings
as
 well  :)

Ah, yes that debug dialog.  I tried a non-product build with the
intention of learning about that dialog.  But before getting there, I
got caught up in the assertions, and I have yet to get out of the
trap.

Is there anything that will capture a record of what I did to get into
an interesting situation?  It has happened more than once that I
have been trying to reproduced an assertion--but writing down the
steps as I go along, so as to produce a good bug report--when I
fat-finger something (but I am not sure exactly what) which sends me
to a different assertion.

Speaking of bug reports ... I have been attaching a backtrace captured
while the Debug Output window is open.  And I do that with debugging
symbols loaded (which *really* loads down my poor little computer).
Are these helpful things to do?  Does a backtrace compensate for
skimpiness in the steps to reproduce?

Thanks,
Terry.

 
 regards,
  michael
 


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] How to use DBG_foo?

2010-04-02 Thread Terrence Enger
On Thu, 2010-04-01 at 23:29 +0200, bjoern michaelsen - Sun Microsystems - 
Hamburg Germany wrote:
 On Thu, 01 Apr 2010 16:40:11 -0400
 Terrence Enger ten...@iseries-guru.com wrote:
  What does it take to use, for example, the DBG_ASSERT function defined
  in debug.hxx?  I have poked around on the wiki without success.
 
 In general -- dont do it. As Michael Stahl pointed out on:
  http://wiki.services.openoffice.org/wiki/Writer/Code_Conventions
 DBG_* is defined in module tools, and therefore evil by definition
 Consider using OSL_ENSURE and friends from sal/inc/osl/diagnose.h
 instead.

Thank you.  I was thinking of DBG_ASSERT simply because I saw it first
as I poked around in the OOo code.  Hardly a compelling basis for
choice.

OSL_ENSURE is giving me the visibility I needed, and I had no build
problems to solve.

Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] How to use DBG_foo?

2010-04-01 Thread Terrence Enger
Greetings,

What does it take to use, for example, the DBG_ASSERT function defined
in debug.hxx?  I have poked around on the wiki without success.

I have added enough #include lines to get the file to compile, but now
the link step is failing with undefined references to DbgFunc() and
DbgOut().  I see that these functions are bound into libtlli.so, but how
do I tell the build system to--pardon the pun--make the link?

Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] operator delete mismatch

2010-03-30 Thread Terrence Enger
My thanks go to Stephan Bergmann, who also responded to my question.


On Mon, 2010-03-29 at 15:00 +0200, Eike Rathke wrote:
 Hi Terrence,
 
 On Friday, 2010-03-26 13:42:28 -0400, Terrence Enger wrote:
 
  However, I have not found what library holds the object code for
  operators_new_delete.cxx.
 
 Let's see.. operators_new_delete.cxx is in sal/cpprt/, the
 sal/cpprt/makefile.mk says TARGET=salcpprt, then for $(OS) !=
 SOLARIS we have LIB1ARCHIV containing $(TARGET), so the resulting
 archive is libsalcpprt.a, which then per solenv/inc/$INPATH.mk and
 solenv/inc/tg_app.mk is linked to applications.

I had found libsalcpprt.a using nm and grep.  Silly me, I did not look
farther than lib/.

 
  I tried changing the source in operators_new_delete.cxx, but a rebuild
  did not reflect changes.  I presume ...
  
  (a) Something in the build process does not recognize a dependency
  that it should.  Does this sound plausible?  Should something be
  fixed?  Alas, I do not know enough even to think about the
  question.
 
 Linkage dependencies are not tracked, a long outstanding deficiency..
 a (quite) safe bet is to
 rm */$INPATH/{lib,bin}/*

Where INPATH is unxlngi6 for me, right?

I dunno how I screwed up, but I ended up unable to build.  I now have
started over from the tarfiles and will carry on from there.

 and build all. Given that apparently only applications are affected
 here, a   rm */$INPATH/bin/*   might do as well.
 
  (b) A full build will incorporate my changes.  It should not be long
  until _m76.
  
  The assertion failures are so distracting that I am considering
  removing the source line altogether from _m76 when it comes out.
 
 Strong veto. This is the only safe mechanism to detect these errors,
 which are real errors as the alloc/free procedures differ between array
 and non-array allocations.
 
  After all, it seems that most people do not even try to use a
  non-production build.
 
 IIRC the assertion is thrown only in a unxlng* non-product build, most
 developers using non-product builds unfortunately do this on Windows,
 developers building their own on Linux unfortunately don't use
 non-products because it has to be explicitly enabled during configure
 (to be changed?).

A website page about building OOo says that non-product builds are
used almost exclusively within Sun.  For a long time, I incorrectly
took that to be a warning that they are hard to accomplish rather than
merely a description of a regrettable state of affairs.  Perhaps we do
not want to encourage a non-product build for a newcomer's very first
attempt, but I could have been finding these assertions long ago.
Would a change to the website be in order?

( Heh, I had a reason for trying a non-product build.  Maybe I will
eventually get around to dealing with that.  Maybe. )

 So the set of developers actually using Linux
 non-products is quite small.
 
  If I had hope of being able to track down more causes, that would
  change my attitude.
 
 Please change your attitude nevertheless ;-)

Consider it changed.  So long as I am making a positive contribution.

( I think, though, that I am giving up on trying to use a non-product
build when I actually want to get work done grin /. )

 
 It seems you have hit an area that introduced these errors quite
 recently. I usually work with non-products and didn't encounter any up
 to m73 or so, working mainly within in Calc though.

I wandered into Base.  On a hug-a-bug day over there, issue 94543
http://www.openoffice.org/issues/show_bug.cgi?id=94543 caught my
attention, and the rest follows from that.  Some of it follows at
quite some distance.

Part of that following at a distance included figuring out how to use
detached debugging symbols to get a more informative backtrace the
first time an assertion comes up.  I start to feel conspicuous about
the number of issues I have been submitting.

Thank you for the help.
Terry.

 
   Eike
 



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] How best to use {OpenGrok?

2010-03-26 Thread Terrence Enger
On Thu, 2010-03-25 at 21:27 +0100, Cédric Bosdonnat wrote:
 Hi Terry,
 
 On Thu, 2010-03-25 at 13:33 -0400, Terrence Enger wrote:
  Greetings,
  
  It seems that the {OpenGrok search hosted at
  svn.services.openoffice.org does not cover files created during the
  build process.  This has caused me some confusion: differences between
  search results there and output from gdb made me think that my eyes
  were going funny.  In particular, a search for definitions of DateTime
  did not turn up
  solver/300/unxlngi6/inc/offuh/com/sun/star/util/DateTime.hpp.
 
 Indeed, OpenGrok doesn't show the build results... but I can't imagine
 the mess it would be with all of them.

Yeah, almost 12 GB compared to 0.9 GB.

 
 The particular file you are pointing at is generated from an idl file
 located in offapi/com/sun/star/util/DateTime.idl.

A search for definitions of DateTime does not turn up that file.  And a
full search for DateTime turns up 735 files.  Ah, well, nobody said the
job has to be easy.

 
  What remains is a question of how I can use {OpenGrok for reassurance
  that I have looked at all relevant code as I consider an issue.
 
 Sometimes the best to do some full string search as you can find useful
 defines, comments, other stuffs that aren't really identifiers.
 
 I also usually disregard the results located in binfilter...

Me too.  I assume (uh-oh!) that they are part of of the binfilter
download, which I did not use, and they can therefore not be part of my
build.

Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] ID-utils and ctags (was: [dev] How best to use {OpenGrok?)

2010-03-26 Thread Terrence Enger
On Thu, 2010-03-25 at 22:19 +0100, Eike Rathke wrote:
 Hi Terrence,
 
 On Thursday, 2010-03-25 13:33:41 -0400, Terrence Enger wrote:
 
  It seems that the {OpenGrok search hosted at
  svn.services.openoffice.org does not cover files created during the
  build process.
 
 Of course not, by nature, it does only index the source repository.
 
  What remains is a question of how I can use {OpenGrok for reassurance
  that I have looked at all relevant code as I consider an issue.
 
 Take a look at http://wiki.services.openoffice.org/wiki/Little_Helpers
 ID-utils and ctags are your friends.

Thank you, I have filed that away for future reference.  Meanwhile I
think I have found a function already doing what I need; maybe my change
need not be so intrusive as I first thought.

Cheers,
Terry.

 
   Eike
 


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] operator delete mismatch

2010-03-26 Thread Terrence Enger
On Fri, 2010-03-19 at 15:15 +0100, Frank Schoenheit, Sun Microsystems
Germany wrote:
 Hi Terrence,
 
  Since I created issue 110236
  http://www.openoffice.org/issues/show_bug.cgi?id=110236 yesterday, I
  have encountered many occurrences.
  
  I have some time available.  Do you have any suggestions about what this
  means
 
 usually, it means somebody did something like
   char* foo = new char[n];
   
   delete foo;
   // correct would be: delete[] foo;
 

By dumb luck, I have found the cause of a couple of these; fixes are
in cws dba33f
http://dba.openoffice.org/servlets/ReadMsg?list=devmsgNo=4337.

However, I have not found what library holds the object code for
operators_new_delete.cxx.  So it is hard to set a breakpoint to see
what heap address is causing the assertion.  (When a system library is
calling delete or delete[], it is hard to work back to the call.  When
it is a proprietary driver doing the call, it is again hard; but now
hard has an entirely different meaning grin /.)

I tried changing the source in operators_new_delete.cxx, but a rebuild
did not reflect changes.  I presume ...

(a) Something in the build process does not recognize a dependency
that it should.  Does this sound plausible?  Should something be
fixed?  Alas, I do not know enough even to think about the
question.

(b) A full build will incorporate my changes.  It should not be long
until _m76.

The assertion failures are so distracting that I am considering
removing the source line altogether from _m76 when it comes out.
After all, it seems that most people do not even try to use a
non-production build.  If I had hope of being able to track down more
causes, that would change my attitude.

Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] How best to use {OpenGrok?

2010-03-25 Thread Terrence Enger
Greetings,

It seems that the {OpenGrok search hosted at
svn.services.openoffice.org does not cover files created during the
build process.  This has caused me some confusion: differences between
search results there and output from gdb made me think that my eyes
were going funny.  In particular, a search for definitions of DateTime
did not turn up
solver/300/unxlngi6/inc/offuh/com/sun/star/util/DateTime.hpp.

What remains is a question of how I can use {OpenGrok for reassurance
that I have looked at all relevant code as I consider an issue.

I invite your guidance.

Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Re: [dba-dev] solved: DateTime construction from a TIMESTAMP_STRUCT

2010-03-24 Thread Terrence Enger
On Tue, 2010-03-23 at 14:44 -0400, Terrence Enger wrote:

 This silly question 

Yes, it was silly.  I was confusing two different variables.  Please
accept my apology for the noise on the list.

New morning, fresh pot of coffee.  I hope for better results.

 arises because I am looking at issue 94543
 http://www.openoffice.org/issues/show_bug.cgi?id=94543.
 
 I observe in my attachement
 http://www.openoffice.org/nonav/issues/showattachment.cgi/68434/example_DEV300_m75.ods
 that the value
 1990-03-02 08:30:00.100 
 is being shown as
 1990-03-02 08:39:54
 I observe further that the fraction of a second comes from
 SQLGetData() as 10,000,000 nanoseconds, and that (1 * 1000)
 modulo 65536 is 59392, and that 59392 centiseconds is the error in the
 displayed value.

I still think that that observation is correct, and I can even point to
OResultSet.cxx line 657.  Going off now to test my google skills on the
definition of TIMESTAMP_STRUCT.fraction.

Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: [dba-dev] solved: DateTime construction from a TIMESTAMP_STRUCT

2010-03-24 Thread Terrence Enger
On Wed, 2010-03-24 at 06:10 -0400, Terrence Enger wrote:

[ lots of stuff which he has now sent to dba-dev, where he should have
sent it in the first place ]

Sorry for the noise.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] creating issues, looking for better practice

2010-03-21 Thread Terrence Enger
On Sun, 2010-03-21 at 18:06 +0100, Eike Rathke wrote:
 Hi Terrence,
 
 On Saturday, 2010-03-20 15:05:09 -0400, Terrence Enger wrote:
 
  A couple of times lately [...] I have
  chosen a component arbitrarily when creating an issue.  What should I
  do to avoid wasting people's time?
 
 You may use
 http://qa.openoffice.org/issue_handling/submission_gateway.html#code_module
 to submit issues on the level of code modules. For assertion reports
 without a patch to attach please change the type of the generated issue
 from PATCH to DEFECT.

Thank you.  That looks like it should let me just pick a directory name
out of the line giving the source of the assertion.

Thanks,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] bogus bug number 120310

2010-03-20 Thread Terrence Enger
Greetings,


Back on DEV300_m71 (hey, it's Saturday morning, and I was nostalgic
for the sight of the top of my real-world desk), I managed to provoke
an assertion--actually, macro LOG_ERROR() ...

Debug Output
Error: ASSERT:
CloseDispatcher::impl_asyncCallback
“Congratulation! You found the reason for bug # 120310#.  Please contact 
the right developer and show him a scenario, which trigger this bug.  Thx.”
From File 
/home/terry/OOo_hacking/DEV300_m71/framework/source/dispatch/closedispatcher.cxx
 at Line 457
Abort ? (Yes=abort / No=ignore / Cancel=core dump)

Of course, bug number 120310 is bogus.  It happens that I do not have
anything useful to offer to the writer, but if I did I would not know
where to offer it.  Does anybody care?  Is there anything I can do to
help out?


The result of some poking around on openoffice.org ...

(*) I notice nothing in bug 10310 OpenOffice crashed when opening or
saving a file
http://www.openoffice.org/issues/show_bug.cgi?id=10310 which
either supports or contradicts a guess that the writer meant this
bug.  Bugs 20310 and 12310 do not look like good candidates.

(*) The assertion in question was committed to revision
148756:6afa37be3998 on 2005-07-12, with the comment ...

framework/source/dispatch/closedispatcher.cxxINTEGRATION: CWS fwk16 
(1.9.140); FILE MERGED
2005/07/07 11:20:31 as 1.9.140.1: #120310# close dispatcher detects 
disposed frames now and handle it more gracefully


Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] creating issues, looking for better practice

2010-03-20 Thread Terrence Enger
Greetings,

A couple of times lately (
http://www.openoffice.org/issues/show_bug.cgi?id=110234 and
http://www.openoffice.org/issues/show_bug.cgi?id=110281 ) I have
chosen a component arbitrarily when creating an issue.  What should I
do to avoid wasting people's time?


Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] operator delete mismatch

2010-03-19 Thread Terrence Enger
Greetings,

Since I created issue 110236
http://www.openoffice.org/issues/show_bug.cgi?id=110236 yesterday, I
have encountered many occurrences.

I have some time available.  Do you have any suggestions about what this
means or where I should start looking for an explanation or a solution?

Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Should assertions abort?

2010-03-19 Thread Terrence Enger
On Fri, 2010-03-19 at 10:16 +0100, Niklas Nebel wrote:
 On 03/18/10 19:16, Terrence Enger wrote:
  Long version:  I just managed to provoke ...
  
  Error: Invalid MediaDescriptor detected:
  Found no URL.
  From
  File 
  /home/terry/OOo_hacking/DEV300_m75/comphelper/source/misc/mediadescriptor.cxx
   at Line 586
  Abort ? (Yes=abort / No=ignore / Cancel=core dump)
 
  I suppose I should create an issue for this, just because the guidelines
  say that every assertion failure should be raised as an issue.  Still, I
  shall hold off in case somebody cares to comment.
 
 The reasoning is: If we fix the harmless assertion failures, the 
 remaining ones might point us to more serious problems. So, yes, this 
 should be changed.

Thank you for the nudge.  I have created issue 110260
http://www.openoffice.org/issues/show_bug.cgi?id=110260.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Should assertions abort?

2010-03-18 Thread Terrence Enger
On Fri, 2010-02-12 at 09:11 +0100, Frank Schoenheit, Sun Microsystems
Germany wrote:
 Hi,
 
 issue 109142 (http://www.openoffice.org/issues/show_bug.cgi?id=109142)
 requests to change the behavior of assertions (OSL_ASSERT/DBG_ASSERT and
 friends) to abort if their condition is not met. The current behavior is
 that the assertion text is reported to the user, usually by a message box.
 All of the above applies to non-product builds only, in particular, the
 request, as I understand it, is *not* to extend assertions to product
 builds.
 
 Since this is a controversial topic, I think we should discuss it in a
 wider audience before actually implementing the change - so, let's get
 the party started ...

Short version:  Here is an example of an assertion which I whould not
want to see abort.  Maybe it is an argument in favour of having
assertions of different severities.


Long version:  I just managed to provoke ...

Error: Invalid MediaDescriptor detected:
Found no URL.
From
File 
/home/terry/OOo_hacking/DEV300_m75/comphelper/source/misc/mediadescriptor.cxx 
at Line 586
Abort ? (Yes=abort / No=ignore / Cancel=core dump)

The bit Found no URL sounds like an entirely fair discription of the
situation.  (In Calc, I took External Data  Link to External Data ...;
in the dialog box External Data, for the field URL of external data
source, I clicked the dropdown icon, decided I did not want to go
there, and clicked the dropdown icon again.)

Under the circumstatnces, if the assertion aborted, I would feel that OO
was punishing me severely for a trivial error.  As it is, the message is
a small nuisance (And it would have been a really small nuisance if I
had bothered to actually read the message before I rushed off to
recreate the situation, carefully writing down each step along the way
grin /.)


I suppose I should create an issue for this, just because the guidelines
say that every assertion failure should be raised as an issue.  Still, I
shall hold off in case somebody cares to comment.


Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] testing fix of issue 109146

2010-03-16 Thread Terrence Enger
Greetings,

In a comment to his change fixing issue 109146
http://www.openoffice.org/issues/show_bug.cgi?id=109146,
Stephan Bergmann commented

(but I must confess I have no idea how to trigger the code in
a running OOo, to verify that the assertion no longer wrongly
fires)


As it happens, my combination of compiler and configuration
options and I know no what else result in literal character
strings being stored at addresses according to where the string
is first encountered in the file.  Within DEV300_m71, I imported
inettype.cxx after S.B.'s subsequent change ( the relevant code
reads ...

#if defined DBG_UTIL
for (sal_Size i = 0; i  nSize - 1; ++i)
DBG_ASSERT(
rtl_str_compare(
pMap[i].m_pTypeName, pMap[i + 1].m_pTypeName)  0,
seekEntry(): Bad map);
#endif

), and the assertion did not fire.  I verified the descending
addresses of m_pTypeName with a breakpoint at inettype.cxx:810,
and saw ...

(gdb) p pMap[61]
$1 = {m_pTypeName = 0xb754d6bd tiff, m_eTypeID = CONTENT_TYPE_IMAGE_TIFF, 
  m_pExtension = 0xb754d6bc }
(gdb) p pMap[62]
$2 = {m_pTypeName = 0xb754d54f txt, m_eTypeID = CONTENT_TYPE_TEXT_PLAIN, 
  m_pExtension = 0xb754d6bc }


Just for good measure, the following code does (rightly!) make
the assertion fire.

int tje_20100316() {
  //
  // Make assertion in seekEntry fire for bad sequence in the
  // array to be searched.
  //

  MediaTypeEntry const mteBad[] =
{
{ txt, CONTENT_TYPE_TEXT_PLAIN,  },
{ tiff, CONTENT_TYPE_IMAGE_TIFF,  },
};
  UniStringextn = UniString::CreateFromAscii( txt );
  MediaTypeEntry const *pEntry =
seekEntry( extn, mteBad, sizeof( mteBad ) / sizeof( mteBad[ 0 ] ) );

  return 0;


} // tje_20100316


If any of this information is worth recording in the issue, I can 
do that.

Hope this helps.
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] testing fix of issue 109146

2010-03-16 Thread Terrence Enger
On Tue, 2010-03-16 at 15:23 +0100, Stephan Bergmann wrote:

 If you like, you can add the information (or a link to it at 
 http://www.openoffice.org/servlets/ReadMsg?list=devmsgNo=26782) to 
 that issue and set it to verified.  That would help a lot.

I have added a comment with a link to the message archive.  However, I
cannot change the status.

Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] inettype.cxx: suspected problem

2010-03-15 Thread Terrence Enger
Greetings,

File svl/source/misc/inettype.cxx defines function seekEntry,
which does a binary search on an array of MediaTypeEntry passed
as its second argument.  In a non-production build, it verifies
that the passed array is in sequence by (since cws sb121) value
of m_pTypeName.  I take this sequence verification to be a
protection against an editing error in the maintenance of the
arrays of constants defined in the file.

If I am reading the code correctly, the function uses its static
bool bChecked to limit the sequence verification to the first
time it is called.  However, the verification would seem to be
good for all of the arrays of constants.  seekEntry is called
with three different arrays to search (aStaticTypeNameMap,
aStaticExtensionMap, aStaticPresentationMap).

Is this a problem?  Is it worth fixing?

Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] assertion failure

2010-03-01 Thread Terrence Enger
On Mon, 2010-03-01 at 17:28 +0100, Stephan Bergmann wrote:

 On 02/26/10 14:32, Terrence Enger wrote:
  I am looking at issue 109146 Assertion: Error: seekEntry() Bad map ...
  http://www.openoffice.org/issues/show_bug.cgi?id=109146.  It just
  happens to be the first assertion that I saw triggered in my first
  non-product build.

 This issue is probably a bad choice to write a test for (at least a bad 
 choice for starters), for at least two reasons:

Just my luck to pick an odball.  whineMummy, the computer is picking
on me./whine

The assertion itself is so easy to fix, that I figured I should do more.
I fear now that I am am using more of your time than the problem is
worth.  Should I move on to something else?

 
 - Checking that an assertion fires is not easy.  (It will become easier 
 when http://qa.openoffice.org/issues/show_bug.cgi?id=109142 Let 
 assertions abort is fixed, if you assume that observing an abort 
 implies a fired assertion.)

Er, yes.  I was not even going to think about this until I had seen the
assertion fire on the screen.  And there is lots I have to do before
that happens.  Conspicuously, the test case has to load the library with
the assertion and I-know-not-how-much-more beside.

Meanwhile, the application defines MediaTypeEntry at file scope.  So,
there is no #include file to provide the definition.  I may end up
having to learn more than I want to know about the build system.

And these are just the issues that come to mind before I try to do
anything.

 
 - The DBG_ASSERT expression in the issue is wrong, whether or not it 
 fires depends on factors outside the C++ standard.  It is generally not 
 possible to write standard C++ code that reliably causes the assertion 
 to fire or not to fire.  (As you noted already.  However, note that this 
 is not about stack variables, but about string literals in a library's 
 (read-only) data segment.)

I was thinking of provoking the incorrect assertion by calling
seekEntry() with a second parameter set up by something like ...

MediaTypeEntry badMte[ 2 ] =
  { {  , 0,   },
{  , 0,   }
  };
char str1[ 6 ],
 str2[ 6 ];

if( str1  str2 ) {
  strcpy( str2, alpha );  badMte[ 0 ].m_pTypeName = str2;
  strcpy( str1, bravo );  badMte[ 1 ].m_pTypeName = str1;
} else {
  strcpy( str1, alpha );  badMte[ 0 ].m_pTypeName = str1;
  strcpy( str2, bravo );  badMte[ 1 ].m_pTypeName = str2;
}

I forget whether the comparison above is undefined or
implementation-defined according to the standard. This code is not even
compiled, let alone tested, but still it might succeed in provoking the
assertion on quite a few platforms.

The addresses of literal strings are a bit different in that we know
that some platforms use different placement strategies.  For all I know,
different compiler options could change placement of literals.

Of course, the corrected assertion will take this in stride.

 
  That same test will have to cast away constness of
  MediaTypeEntry::m_pTypeName, and that is a bad thing to do.  But I am
  *trying* to screw things up.  Does that give me a pass?
 
 Why would you need to cast away constness?

Because my crossed eyes saw const in the wrong place when I was
reading the definition of MediaTypeEntry.  Does that cut it as an
excuse?

Cheers,
Terry.

 
 -Stephan



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] assertion failure

2010-02-26 Thread Terrence Enger
Thank you, Stephan, for your thoughtful response.

On Wed, 2010-02-24 at 09:31 +0100, Stephan Bergmann wrote:
 - All directories containing test code are added to the modules' 
 prj/build.lst files.  

I'll take that as my first reading assignment.

 Reading:  For how to write tests, I would suggest the generic testing 
 and xUnit literature.  

Ah.  That provoked me to google more widely.  Suddenly I see lots of
things.

 Let me know if you have any trouble going forward.  Maybe you can 
 explain a concrete thing you would like to write a test for, and we can 
 see how to get started with that concrete example.

I am looking at issue 109146 Assertion: Error: seekEntry() Bad map ...
http://www.openoffice.org/issues/show_bug.cgi?id=109146.  It just
happens to be the first assertion that I saw triggered in my first
non-product build.

The failing assertion is in a function defined outside of any class, but
the cppunit tutorials I have found all have object-oriented examples.
I'll see how I get along.

One good test is to make the unchanged assertion fire, right?  To
accomplish this under different compilers, I think the test program is
going to compare the addresses of independent variables, and that gives
results which are not defined by the C++ standard.  (Well, that's if my
very old memory is correct.)  Anyway, before this is done, I shall need
help to find a compiler which sends the test program down the other
path by allocating stack variables in the other order.

That same test will have to cast away constness of
MediaTypeEntry::m_pTypeName, and that is a bad thing to do.  But I am
*trying* to screw things up.  Does that give me a pass?

Again, thank you for your patience.

Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] assertion failure

2010-02-23 Thread Terrence Enger
On Thu, 2010-02-11 at 10:16 +0100, Stephan Bergmann wrote:
 On 02/11/10 03:11, Terrence Enger wrote:
  Let me pick on the first assertion which failed, and one which is
  failing quite regularly.  It is ...
  Error: seekEntry(): Bad map
  From File 
  /home/terry/OOo_hacking/DEV300_m71/svl/source/misc/inettype.cxx at line 818
 Now addressed by 
 http://www.openoffice.org/issues/show_bug.cgi?id=109146.

How can I--or similarly situated newbies--contribute?  Particularly, how
should I go about creating test cases?  In other words where should I
start reading?

Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] OT: web site and issue tracker

2010-02-13 Thread Terrence Enger
On Fri, 2010-02-12 at 23:57 +0100, Cor Nouws wrote:
 Hi Terrence,
 
 Terrence Enger wrote (12-02-10 23:45)
  Where should I go for help with the web site for openoffice.org?  
  (*) I already have two userids, and neither one lets me log in.
  (*) I apologize to rainerbielefeld for wasting his time with a
  duplicate issue.  If I can track down the explanation which led me to do
  that, and if I can find the right place to say so, I would like to
  suggest a change.
 
 d...@website.openoffice.org is the list to mail to.
 
 Succes,
 Cor
 

Thank you.  I have taken my questions and suggestions to that list.

Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Should assertions abort?

2010-02-13 Thread Terrence Enger
On Fri, 2010-02-12 at 17:18 +0100, Christian Lippka wrote:
 If this is still not understandable, I will draw you a flow chart
 on monday at your office :-)

If you send me pictures of the whiteboard or scans of the paper, I will
try to key them in.  Or course, before there is any benefit, we shall
need ...
(*) review and correction by somebody who knows what is right
(*) a place in the devloper documentation.  This place is, of course,
the place where a newcomer to assertions and tracing would naturally go
first if he wanted a flowchart.

If there is the possibility of a benefit here, I will do what I can to
help.

Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Should assertions abort?

2010-02-12 Thread Terrence Enger
On Fri, 2010-02-12 at 15:53 +0100, Frank Schoenheit, Sun Microsystems
Germany wrote:
 finding consensus ... (and finally, perhaps it's good for something)
 
 So, in my opinion we would need 3 levels, at least, not 2:
 (1) traces (today: OSL_TRACE, DBG_TRACE)
 (2) error reports (today: DBG_ERROR, DBG_ASSERT, OSL_ENSURE, OSL_ASSERT,
 OSL_PRECOND, OSL_POSTCOND, and more)
 (3) error reports which the program does not survive, in particular in
 a product build, i.e. at the customer's machine
 (future: OSL_ASSERT_ABORT?)
 

Not having much knowledge, let me offer a factoid instead.  This is from
the core tarfile.

Script ...

#!/bin/bash

#
# count assertions in OOo source
#
# execute within top unpacked directory of OOo
#

echo counting assertions and so forth in $(pwd)

for str in OSL_TRACE DBG_TRACE \
   DBG_ERROR OSL_ENSURE OSL_ASSERT \
   OSL_PRECOND OSL_POSTCOND \
   OSL_ASSERT_ABORT
do

  printf %.25s :  $str .
  grep--recursive \
  --regexp=$str \
  . \
  | wc--lines

done

echo done

Result ...

counting assertions and so forth in /tmp/DEV300_m71
   OSL_TRACE ... : 2427
   DBG_TRACE ... : 290
   DBG_ERROR ... : 4007
   OSL_ENSURE .. : 10372
   OSL_ASSERT .. : 3867
   OSL_PRECOND . : 735
   OSL_POSTCOND  : 108
   OSL_ASSERT_ABORT  : 0
done

Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] OT: web site and issue tracker

2010-02-12 Thread Terrence Enger
Greetings,

I am sorry to contributing noise on this list.

Where should I go for help with the web site for openoffice.org?  
(*) I already have two userids, and neither one lets me log in.
(*) I apologize to rainerbielefeld for wasting his time with a
duplicate issue.  If I can track down the explanation which led me to do
that, and if I can find the right place to say so, I would like to
suggest a change.

Thank you for your patience.

Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] assertion failure

2010-02-11 Thread Terrence Enger
Thank you for your help.  I shall be able to continue hacking with more
confidence.

On Thu, 2010-02-11 at 10:16 +0100, Stephan Bergmann wrote:
 Unfortunately running a non-pro OOo results in many assertions popping 
 up.  I was just recently frustrated by that once again, and decided (for 
 myself, at least) we should finally address that problem by letting 
 those assertions abort, so just now filed 
 http://www.openoffice.org/issues/show_bug.cgi?id=109142.
 
 And, the prevalent notion that those assertions are not fixed, anyway, 
 has let many to no longer bother about them, especially not filing 
 issues for them.  This would change when assertions abort, so that P1 
 reports would be filed (and fixed!) for them.

On the one hand, the current state of affairs has the virtue of letting
a hacker continue on toward the problem he is looking for.  (I did have
a purpose.  I will someday remember what it was.  grin /)  A hard
abort, on the other hand, might have provoked me either to fix the
assertion or to give up trying to use a non-pro build.  

Would it be feasible and useful to encourage the use of non-pro builds?
Back when I first tried to build OOo, something -- perhaps it was a
warning like Currently, Non-Product Builds are probably rarely used
outside the Hamburg development team in
http://wiki.services.openoffice.org/wiki/Non_Product_Build -- gave me
the impression that non-pro builds are not something that a newbie
should use.  Now, I see that it is really easy to create a non-pro
build.  It remains to be seen whether it gets me any forwarder.

FWIW, here is how I came to try a non-pro build.  First, I managed a
couple of times to send DEV300_m70 into an infinite loop, but I had no
idea what I had done to make the program so peeved with me.  It would be
good to have a trace of the inputs to the program.  For all I know, the
non-pro build may allow that, although I have not found the facility.
Anyway, I guessed it would be easier to try a non-pro build than to
explore testautomation.  Secondly, I wondered whether my loop was the
same as issue 108055
http://www.openoffice.org/issues/show_bug.cgi?id=108055.  For reasons
which I still do not understand, my breakpoints in gdb did not catch the
creation of some objects.  From somewhere--but I cannot find it now--I
have acquired the notion that a non-pro build will let me track object
creation and deletion.  I have yet search for that facility, and I do
not know whether it will get me any forwarder.

Please forgive me for rambling on, and thank you for your patience.

Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] assertion failure

2010-02-10 Thread Terrence Enger
Greetings,

I have just completed a non-product build of DEV300_m71, my first
ever non-product build.

http://wiki.services.openoffice.org/wiki/Non_Product_Build tells me
that an assertion failure is considered to be a bug and should be
reported.  However, I had three different assertion failures within
the first few minutes using the program.  So, I suspect that the
messages may be a result of my own misundertanding rather than a
problem in the code itself.

Let me pick on the first assertion which failed, and one which is
failing quite regularly.  It is ...
Error: seekEntry(): Bad map
From File /home/terry/OOo_hacking/DEV300_m71/svl/source/misc/inettype.cxx 
at line 818
( It looks to me like the code is testing for pointer values
increasing in successive array elements where it should be testing for
increasing values of the pointed-to strings.  The pointers are
initialized from string literals at line 487 of the same file. So, it
is not too surprising that the assertion fails. )

First, the issues database: when I query the issues database, I come
up empty on
(*) [seekEntry] in summary (0 hits)
(*) [seekEntry] in description (0 hits)
(*) [bad map] (all words) in summary (4 hits: 3 are bitmaps, 1 is an
html image map)
(*) [bad map] (all words) in description (40 hits: none of the DEFECTs
appears at first glance to apply to my situation)
How should I do my query?  I can't really be the first to find this,
can I?

All suggestions are welcome.

Cheers,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] DEV300_m60 build question

2009-09-29 Thread Terrence Enger
Greetings,

I have successfully (at first glance, anyway) built DEV300_m60,
including in my script ...
export LOCALINSTALLDIR=/home/terry/OOo_hacking/localbuild
export PKGFORMAT=installed
mkdir --parents --verbose $LOCALINSTALLDIR

After I damage localbuild/, how should I repeat the installation step of
the build?

My initial attempts consisted of removing or clearing localbuild/ and
then executing dmake in my usual way.  Each of these attempts gave the
message 
ERROR: Error 11 occurred while making
/home/terry/OOo_hacking/DEV300_m60/xmlhelp/source/com/sun/star/help
and left nothing in localbuild/.  I have not figured out what Error 11
is, but it does seem to work if I remove xmlhelp/unxlngi6.pro before
executing dmake again.  Still, this seems like the wrong way to do
things.

Thanks,
Terry.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] NetBeans setup for sdk

2008-08-15 Thread Terrence Enger
Ariel,

Short version:  everything cool until configuration.  Details in-line.

On Thu, 2008-08-14 at 03:28 -0300, Ariel Constenla-Haile wrote:
 Hi Terrence,
 
 Terrence Enger escribió:
  Hi,
  
  I see OpenOffice.org API plugin for Netbeans 1.1.3 available
  http://blogs.sun.com/GullFOSS/entry/openoffice_org_api_plugin_for, but
  ftp://openoffice.mirrors.tds.net/pub/openoffice/extended/developer/OOO300_m2/OOo-Dev_OOO300_m2_src_sdk.tar.bz2
   at least (I loooked at other some other mirrors back on the 6th) is a mere 
  42 bytes.  Wow, that is right good compression technology grin /.
  
  I presume this is just a packaging issue.  Is there a better place for
  me to raise it?
 
 OOo-Dev_OOO300_m2_src_sdk.tar.bz2 is the source code for compiling the
 SDK (for this you need the whole OOo build environment). And the NB
 plug-in isn't anyway included.
 
 You can use the NetBeans IDE to checkout the plug-in sources and compile
 them yourself.
 
 Open the wizard from the menu Versioning - CVS - Chechout...
 
 * In CVS Root type:
 
  :pserver:[EMAIL PROTECTED]:2401/cvs
 
 * in Pasword type
 
  anoncvs
 
 * press Next
 
 * in Module type
 
  api/oonetbeansintegration
 
 * in Local folder select a dir. where to download

So far so good.

 * when finished the IDE will ask you to create a project, accept
 * build it,

Warnings about deprecated classes and proprietary APIs.  I'm not gonna
let little things like that stop me.

  and create the NMB

the NBM, I guess.  Anyway, that's what I created.

 * install it

That seemed to work.  Tools  Plugins  Installed shows version 1.1.3
now.

Contrary to
http://wiki.services.openoffice.org/wiki/OpenOffice_NetBeans_Integration#Configuration,
 it did not prompt during installation for Office installation and sdk 
installation directories.  Going in to enter them now ...

Whoops.  I cannot get past message The selected OpenOffice.org SDK
installation directory is not valid!.  This happens for my directories 
DEV300_m19/sdk_oo
DEV300_m19_localbuild/sdk_oo
DEV300_m19_localbuild/opt/sdk_oo
DEV300_m19_localbuild/opt/openoffice.org3/sdk_oo
where DEV300_m19/ is where I build OOo and DEV300_m19_localbuild/ is
where I installed it.  (Yes, I am reduced to trying things at random.)

Do I need a more recent OOo or sdk?  Any other suggestions?

Thanks,
Terry.

 
 That's all.
 
 Regards
 Ariel.
 
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] NetBeans setup for sdk

2008-08-12 Thread Terrence Enger
On Thu, 2008-07-03 at 10:07 +0200, Juergen Schmidt wrote:
 Hi Terrence,
 
 the NB plugin as well the SDK are currently not working with the new 
 OO.org 3.0. Because of a completely new structure both the plugin and 
 the SDK have to changed or adapted. We are currently working on it and 
 you can expect it next week.

Hi,

I see OpenOffice.org API plugin for Netbeans 1.1.3 available
http://blogs.sun.com/GullFOSS/entry/openoffice_org_api_plugin_for, but
ftp://openoffice.mirrors.tds.net/pub/openoffice/extended/developer/OOO300_m2/OOo-Dev_OOO300_m2_src_sdk.tar.bz2
 at least (I loooked at other some other mirrors back on the 6th) is a mere 42 
bytes.  Wow, that is right good compression technology grin /.

I presume this is just a packaging issue.  Is there a better place for
me to raise it?

Thanks,
Terry.

 
 Juergen



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Where to find debuggable versions of OpenOffice.org

2008-07-09 Thread Terrence Enger
Please let me second Joerg's request for a debuggable download.

My interest arises not from any mystery or suspicion of a problem in the
OOo code but simply from a taste for using an interactive debugger as a
tool for understanding the code.  I think this habit is somewhat common.

Is it possible to make a debuggable download which will work for as
broad a range of systems as the installation sets currently offered?

Cheers,
Terry.


On Wed, 2008-07-09 at 15:36 +0200, Joerg Doll wrote:
 Hi,
 
 in some cases it would be great to have an debugable version of an
 OpenOffice.org release (e.g 2.x.x) to clarify problems. When using the
 API of OOo (for example within an extension or an external java
 program) and OpenOffice.org crashes under misterious circumstances
 this could the best way to isolate the problem and report issues with
 higher quality. [1] describes how to debug and refers to non
 production build [2], which should contain the neccessary debug stuff.
 
 Where can I find non production builds?
 
 As I understood the only way to get a non production build is to
 rebuild OpenOffice.org. If so then we should have in mind that
 everybody who needs a non production build has to do this time
 consuming and error-prone task.
 So, would it be possible to provide non production builds (debug
 version) for every OpenOffice.org release by default?
 
 Best regards
 
 Jörg Doll
 
 
 
 [1] http://wiki.services.openoffice.org/wiki/Debugging
 [2] http://wiki.services.openoffice.org/wiki/Non_Product_Build 
 -- 
  
  
  
  
  
 Jörg
 Doll 
 Dipl.-Inform. (FH)
 Consultant / System Architekt 
 
 Tel. 
 +49
 (0)7202/ 707-222
 Fax
 +49
 (0)7202/ 707-299
 E-Mail
 [EMAIL PROTECTED]
  
 
 
  
  
  
  
  
  
 .riess applications
 gmbh · Draisstr. 10 ·
 D-76307 Karlsbad 
 Geschäftsführung:
 Lothar Becker ·
 Amtsgericht Mannheim:
 HRB 362692 
 www.riess.de
  
  
  
  
 VIEL MEHR für VIEL WENIGER - .riess applications gmbh 
 
 *** Member of ODF Alliance ***
 Deutschlands führender Lösungspartner für OpenOffice.org und
 StarOffice:
 
 
   * Integration der Open Source Office Suiten in Business Software
 Solutions (Java UNO Wrapper) 
   * Herstellerunabhängige Beratung zum Umstieg auf Open Source
 Lösungen 
   * Exklusive Step-by-Step Methodologie für Sicherheit im
 Migrationsprozess 
   * Software-Unterstützung zur Konsolidierung auf unabhängige Java
 Makros (Java Macro PlugIn) 
 www.riess.de 
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] lxr.go-oo.org

2008-07-08 Thread Terrence Enger
On Sun, 2008-07-06 at 11:00 +0200, Charles-H. Schulz wrote:
 Terrence,
 
 go-oo.org does not depend from openoffice.org . Please ask Michael  
 Meeks from Novell about your issue.

Alas, the problem is back, and my emails to [EMAIL PROTECTED]
are rejected 553 sorry, relaying denied from your location.  This
happens for both the outbound mail servers which I can use.  sigh /

 
 Best Regards,
 
 Charles-H. Schulz



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] lxr.go-oo.org

2008-07-06 Thread Terrence Enger
Charles,

Thank you for the pointer.  I shall keep it mind next time I see the
problem.

Meanwhile the cross referencer is back up this morning.  OResultSet:  22
declarations and 750 references.  That's more like it.

Thanks,
Terry.

On Sun, 2008-07-06 at 11:00 +0200, Charles-H. Schulz wrote:
 Terrence,
 
 go-oo.org does not depend from openoffice.org . Please ask Michael  
 Meeks from Novell about your issue.
 
 Best Regards,
 
 Charles-H. Schulz
 
 Le 5 juil. 08 à 15:48, Terrence Enger a écrit :
 
 
  Greetings,
 
  Not strictly on topic here, so I apologize in advance.
 
  For the last several days, every identifier search at lxr.go-oo.org  
  has
  returned ... zero definitions, zero references.
 
  I do not see a contact listed on the search page (and the existence of
  class `contact` makes code results dominate a google search).  To whom
  should I whine, I mean complain, I mean offer my useful feedback about
  the site grin /?
 
  Thank you, all, for your attention.  Suggestions welcome.
 
  Cheers,
  Terry.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] BEB300_m2 rpms: I can't find them

2008-07-06 Thread Terrence Enger
Greetings,

I have built, with small local fudges, BEB300_m2, using configure option
--with-package-format=rpm, but I have not figured out how to install it.

In previous versions, the rpms were in
instsetoo_native/unxlngi6.pro/OpenOffice/rpm/install/en-US/RPMS/.  Now
there is see BEB300_m2/instsetoo_native/unxlngi6.pro/OpenOffice/rpm/
but no subdirectory install/.  In
BEB300_m2/instsetoo_native/unxlngi6.pro/, `find . -name '*.rpm'`
doesn't.

I fear that I am overlooking something really obvious.  Thank you for
your patience with me.

Cheers,
Terry.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] lxr.go-oo.org

2008-07-05 Thread Terrence Enger
Greetings,

Not strictly on topic here, so I apologize in advance.

For the last several days, every identifier search at lxr.go-oo.org has
returned ... zero definitions, zero references.

I do not see a contact listed on the search page (and the existence of
class `contact` makes code results dominate a google search).  To whom
should I whine, I mean complain, I mean offer my useful feedback about
the site grin /?

Thank you, all, for your attention.  Suggestions welcome.

Cheers,
Terry.
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] NetBeans setup for sdk

2008-07-03 Thread Terrence Enger
Jurgen,

Thank you.  I shall stop butting my head against that wall.

Meanwhile, I have started using OO Basic, and am quite enjoying the
exercise.

Terry.


On Thu, 2008-07-03 at 10:07 +0200, Juergen Schmidt wrote:
 Hi Terrence,
 
 the NB plugin as well the SDK are currently not working with the new 
 OO.org 3.0. Because of a completely new structure both the plugin and 
 the SDK have to changed or adapted. We are currently working on it and 
 you can expect it next week.
 
 Juergen
 
 Terrence Enger wrote:
  Greetings.
  
  I am trying to use NetBeans 6.0.1 and the OpenOffice API Plugin
  version 1.1.1 with locally compiled DEV300_m19.
  
  I have installed from locally-created .rpm's and applied minimal
  hacks into /home/terry/OOo_hacking/DEV300_m19_localbuild/, and I
  have moved the unpacked sdk to
  /home/terry/OOo_hacking/DEV300_m19_localbuild/sdk_oo/.
  
  When I try to configure the OpenOffice API Plugin, I get the
  message
  The selected OpenOffice.org installation directory is
  not valid!
  for /home/terry/OOo-_hacking/DEV300_m19_localbuild/ and for all
  the subdirectories that I have tried.
  
  I would appreciate any guidance you can give me.
  
  Thanks,
  Terry.
  
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] NetBeans setup for sdk

2008-07-02 Thread Terrence Enger
Greetings.

I am trying to use NetBeans 6.0.1 and the OpenOffice API Plugin
version 1.1.1 with locally compiled DEV300_m19.

I have installed from locally-created .rpm's and applied minimal
hacks into /home/terry/OOo_hacking/DEV300_m19_localbuild/, and I
have moved the unpacked sdk to
/home/terry/OOo_hacking/DEV300_m19_localbuild/sdk_oo/.

When I try to configure the OpenOffice API Plugin, I get the
message
The selected OpenOffice.org installation directory is
not valid!
for /home/terry/OOo-_hacking/DEV300_m19_localbuild/ and for all
the subdirectories that I have tried.

I would appreciate any guidance you can give me.

Thanks,
Terry.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] build failed: GetOldStyleDics undefined.

2008-05-22 Thread Terrence Enger
On Thu, 2008-05-22 at 20:19 +0100, Caolan McNamara wrote:
 On Thu, 2008-05-22 at 15:02 -0400, Terrence Enger wrote:
  Greetings.
  
  I am trying to build BEA300_m2 on Ubuntu 8.04 (hardy).  Creation
  of libhyphenli.so fails with messages ...
  
  ../../../../unxlngi6.pro/slo/hyphenimp.o: In function
  `Hyphenator::getLocales()':
  
  
  /home/terry/OOo_hacking/BEA300_m2/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx:167:
   undefined reference to `GetOldStyleDics(char const*)'
  
  
  /home/terry/OOo_hacking/BEA300_m2/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx:172:
   undefined reference to 
  `MergeNewStyleDicsAndOldStyleDics(_STL::listSvtLinguConfigDictionaryEntry, 
  _STL::allocatorSvtLinguConfigDictionaryEntry , 
  _STL::vectorSvtLinguConfigDictionaryEntry, 
  _STL::allocatorSvtLinguConfigDictionaryEntry  const)'
  
  This happens with configure parameters ...
 
 I think the quick answer is to drop --with-system-hunspell IIRC, that
 area is in a little bit of flux at the moment wrt to --with-system
 flags. 

Thank you.  My build has passed the previous point of failure and is 
continuing merrily.

 
 The slow answer is the proper fix is in workspace hunspellexternal, see
 issue http://www.openoffice.org/issues/show_bug.cgi?id=87604 which has
 an earlier patch that might also work for you.

I shall try that next time I unpack the source.
 
 C.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] difficult access debugging symbols

2008-04-08 Thread Terrence Enger
Greetings,

I have built OOH680_m10 on ubuntu-Gutsy (7.10).  Somewhere between
creation of libraries in the solver and installing from the rpm's, I
lose debugging symbols.

I configured with
--enable-symbols 
and built with
dmake debug=true

The build process produces lines ...
checking whether to strip the solver or not checking whether to
enable native CUPS support... yes
(yes that is one line), and ...
The variable DISABLE_STRIP is set to: TRUE
checking whether stripping libraries is possible... yes
and then only 17 lines apart close to the end of the build ...
make_installer.pl, version 1.0
Stripping files
so I suspect that the loss occurs before the .rpm files are created.
After another configure with --disable-strip-solver, another dmake
debug=true recreated the .rpm files, but they are only very slightly
bigger than before and still the installed files lack debugging
symbols.

I can access the debugging symbols by linking from my installed
directory back to the files built in the solver.  Is there a more
straight-forward way?

Here are some details ...

  The earlier configure command reads, with line-breaks added here for
  readability ...

  ./configure_fudge 
--disable-mozilla --with-stdlibs --with-system-zlib 
--with-system-openssl --with-system-jpeg --with-system-expat 
--with-system-freetype --with-system-libwpd --with-system-python 
--with-system-db --with-system-hsqldb --with-system-beanshell 
--with-system-sml-apis --with-system-xerces --with-system-xalan 
--with-system-libxslt --with-system-odbc-headers 
--with-system-sane-header --with-system-xrender-headers 
--with-system-curl --with-system-boost --with-system-vigra 
--with-system-neon --with-system-hunspell --with-system-odbc 
--with-system-sane-header --disable-pasf --without-fonts 
--without-dict --disable-odk --without-myspell-dicts 
--with-package-format=rpm --enable-symbols

  I hacked configure_fudge from configure to accept hsqldb 1.8.0.8
  instead of hsqldb 1.8.0.9 which the distributed configure requires.
  (Well, I guess that in itself is grounds for another question soon.)
  I still have output from the build, but it is really big.  The
  installation script is homebrewed (before I learned about
  unxlngi6.pro/bin/userscripts/install).  The central part, following
  the pattern of OpenOffice.org 2.0 Setup Guide, page 39, is ...

rpm --install \
--dbpath $RPMDB \
--nodeps \
--prefix $DESTDIR \

~/OOo_hacking/${WHAT}/instsetoo_native/unxlngi6.pro/OpenOffice/rpm/install/e
n-US/RPMS/*.rpm

I must presume that I am missing something really obvious.  Thank you
for your attention.

Terry.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]