[Libreoffice-bugs] [Bug 151455] SQLError Event fails with Python

2023-02-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151455

Buovjaga  changed:

   What|Removed |Added

 CC||ilmari.lauhakangas@libreoff
   ||ice.org
 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW

--- Comment #7 from Buovjaga  ---
(In reply to Alex Thurgood from comment #3)
> The error I see with the Python script form when changing ID from '1' to '0':
> 
> com.sun.star.uno.RuntimeException: Error during invoking function SQLError
> in module vnd.sun.star.tdoc:/12864377288/Scripts/python/SQL_Error.py ( 'SystemError'>:  returned a result with an error
> set
>   File "/Applications/LO7412Arm.app/Contents/Resources/pythonscript.py",
> line 915, in invoke
> ret = self.func( *args )
>   File "vnd.sun.star.tdoc:/12864377288/Scripts/python/SQL_Error.py", line
> 10, in SQLError
>   File "/Applications/LO7412Arm.app/Contents/Resources/uno.py", line 504, in
> _uno_struct__getattr__
> return getattr(self.__dict__["value"], name)
> )

I get the same in

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0bcce236059ae68c6dcc7bce8ceaec5d39c28f1c
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 21 February 2023

with APSO installed.

I don't know why this was still unconfirmed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151455] SQLError Event fails with Python

2022-10-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151455

--- Comment #6 from Andreas Säger  ---
(In reply to Alex Thurgood from comment #2)
> @Andreas : does this require the APSO extension to be installed in order to
> test?

It would require APSO if it reached the point where it shows a user defined
msgbox.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151455] SQLError Event fails with Python

2022-10-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151455

--- Comment #5 from Alex Thurgood  ---
(In reply to Alex Thurgood from comment #4)


> when triggering the Basic script, more particularly, when clicking on "OK"
> of the message box. Probably worth a separate bug report.

Ironically, when running this against LODev daily in a lldb session, the crash
doesn't occur. Remove the debug tracing, and the crash occurs systematically.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151455] SQLError Event fails with Python

2022-10-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151455

--- Comment #4 from Alex Thurgood  ---
FWIW, I get a systematic crash and recovery dialog with 

Version: 7.4.1.2 / LibreOffice Community
Build ID: 3c58a8f3a960df8bc8fd77b461821e42c061c5f0
CPU threads: 8; OS: Mac OS X 12.6; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded

when triggering the Basic script, more particularly, when clicking on "OK" of
the message box. Probably worth a separate bug report.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151455] SQLError Event fails with Python

2022-10-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151455

--- Comment #3 from Alex Thurgood  ---
The error I see with the Python script form when changing ID from '1' to '0':

com.sun.star.uno.RuntimeException: Error during invoking function SQLError in
module vnd.sun.star.tdoc:/12864377288/Scripts/python/SQL_Error.py (:  returned a result with an error set
  File "/Applications/LO7412Arm.app/Contents/Resources/pythonscript.py", line
915, in invoke
ret = self.func( *args )
  File "vnd.sun.star.tdoc:/12864377288/Scripts/python/SQL_Error.py", line 10,
in SQLError
  File "/Applications/LO7412Arm.app/Contents/Resources/uno.py", line 504, in
_uno_struct__getattr__
return getattr(self.__dict__["value"], name)
)



This is on macOS LO aarch64, M1 silicon, Monterey 12.6 (Macbook Pro).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151455] SQLError Event fails with Python

2022-10-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151455

--- Comment #2 from Alex Thurgood  ---
@Andreas : does this require the APSO extension to be installed in order to
test?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151455] SQLError Event fails with Python

2022-10-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151455

--- Comment #1 from Andreas Säger  ---
Created attachment 182949
  --> https://bugs.documentfoundation.org/attachment.cgi?id=182949=edit
Database document with Basic and Python code.

-- 
You are receiving this mail because:
You are the assignee for the bug.