View Issue Details

IDProjectCategoryView StatusLast Update
0017595ScribusScripterpublic2025-07-29 17:10
Reporterprcek Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformx86_64OSLinuxOS VersionFedora 40
Product Version1.6.4 
Summary0017595: getFrameText() does not find a text frame when it is inside a group
DescriptionHaving a document with a text frame and other item(s) that are grouped together into a group I cannot use the function call to get the text inside the frame. Script raises "scribus.NoValidObjectError: Object not found" exception
Steps To Reproduce* Create a document
* add a text frame, you may insert any text, note the text frame name
* add any other item
* group the frame and item inside group
* try to run scribus.getFrameText(the name of the frame you've noted before) in python console
-- exception is raised --
in case you ungroup the previously created group, and try it again it will return the text inside the frame
Additional Information* using 1.6.4 from AppImage
* getAllText() fails in the same way
* I suspect it is connected to https://bugs.scribus.net/view.php?id=17490

# in my case
>>> g = 'Copy of Group173 (2)'
items = scribus.getGroupItems(g, recursive=True)
for item in items:
    print(item)


('Text757', 4, 757)
('Line758', 5, 758)


>>> t = scribus.getFrameText('Text757')

Traceback (most recent call last):
  File "<console>", line 1, in <module>
scribus.NoValidObjectError: Object not found


>>> t = scribus.getAllText('Text757')

Traceback (most recent call last):
  File "<console>", line 1, in <module>
scribus.NoValidObjectError: Object not found
TagsNo tags attached.
PatchNo

Activities

ale

2025-07-29 17:10

manager   ~0052935

i suspect that connection, too...

and i wonder why the other ticket has not been reviewed, yet...

Issue History

Date Modified Username Field Change
2025-07-29 15:28 prcek New Issue
2025-07-29 17:10 ale Note Added: 0052935