[Libreoffice-bugs] [Bug 143611] New: File \ Wizards \ Letter - "AttributeError: 'NoneType' object has no attribute 'DocumentProperties'"

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jul 29 18:23:32 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=143611

            Bug ID: 143611
           Summary: File \ Wizards \ Letter - "AttributeError: 'NoneType'
                    object has no attribute 'DocumentProperties'"
           Product: LibreOffice
           Version: 7.3.0.0 alpha0+ Master
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: x4fs1j at outlook.com

Description:
Go to the menu "File \ Wizards \ Letter" the window does not open

Steps to Reproduce:
1.Go to the menu "File \ Wizards \ Letter"
2.The window does not open, there is an error in the logs

Actual Results:
warn:toolkit.helper:28772:28772:toolkit/source/helper/unowrapper.cxx:185:
UnoWrapper::SetWindowInterface: there is already a
WindowPeer/ComponentInterface for this VCL window
warn:fwk.loadenv:28772:28772:framework/source/loadenv/loadenv.cxx:202: caught
LoadEnvException 6 "interaction request", com.sun.star.task.ErrorCodeRequest
"/tinderbox/buildslave/source/libo-master/sfx2/source/doc/objmisc.cxx:1699"
while loading
<file:///opt/libreofficedev7.3/program/../share/template/common/wizard/letter/bus-elegant_l.ott>
Traceback (most recent call last):
  File "/opt/libreofficedev7.3/program/wizards/text/TextDocument.py", line 152,
in getPageSize
    xNameAccess = self.xTextDocument.StyleFamilies
AttributeError: 'NoneType' object has no attribute 'StyleFamilies'
Traceback (most recent call last):
  File "/opt/libreofficedev7.3/program/wizards/text/TextDocument.py", line 143,
in loadAsPreview
    self.xTextDocument.CurrentController.ViewSettings.ZoomType = ENTIRE_PAGE
AttributeError: 'NoneType' object has no attribute 'CurrentController'
Traceback (most recent call last):
  File
"/opt/libreofficedev7.3/program/wizards/letter/LetterWizardDialogImpl.py", line
132, in startWizard
    self.setConfiguration()
  File
"/opt/libreofficedev7.3/program/wizards/letter/LetterWizardDialogImpl.py", line
781, in setConfiguration
    self.optBusinessLetterItemChanged()
  File
"/opt/libreofficedev7.3/program/wizards/letter/LetterWizardDialogImpl.py", line
256, in optBusinessLetterItemChanged
    self.lstBusinessStyleItemChanged()
  File
"/opt/libreofficedev7.3/program/wizards/letter/LetterWizardDialogImpl.py", line
331, in lstBusinessStyleItemChanged
    self.setElements(False)
  File
"/opt/libreofficedev7.3/program/wizards/letter/LetterWizardDialogImpl.py", line
812, in setElements
    self.txtTemplateNameTextChanged()
  File
"/opt/libreofficedev7.3/program/wizards/letter/LetterWizardDialogImpl.py", line
633, in txtTemplateNameTextChanged
    xDocProps = self.myLetterDoc.xTextDocument.DocumentProperties
AttributeError: 'NoneType' object has no attribute 'DocumentProperties'

Expected Results:
A dialog box will open


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 5aa74aa1e6fac571f99146ebcb6adc9feb1459ad
CPU threads: 2; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64 at 86-TDF, Branch:master, Time:
2021-07-28_19:35:14
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210729/fec7491b/attachment.htm>


More information about the Libreoffice-bugs mailing list