Opened 12 years ago
Closed 11 years ago
#2795 closed defect (fixed)
Cannot export
Reported by: | tonyforster | Owned by: | humitos |
---|---|---|---|
Priority: | Unspecified by Maintainer | Milestone: | Unspecified |
Component: | Write | Version: | Unspecified |
Severity: | Unspecified | Keywords: | patch |
Cc: | humitos | Distribution/OS: | Unspecified |
Bug Status: | Unconfirmed |
Description
May relate to #2598
Cannot export txt, rtf, pdf
OS373pyg Write 73 XO1.5
Traceback (most recent call last):
File "/home/olpc/Activities/Write.activity/widgets.py", line 228, in activate_cb
File "/usr/lib/python2.6/site-packages/sugar/datastore/datastore.py", line 100, in getitem
return self._properties[key]
KeyError: 'keep'
/home/olpc/Activities/Write.activity/AbiWordActivity.py:245: GtkWarning: gdk_window_set_cursor: assertion `GDK_IS_WINDOW (window)' failed
pixbuf = self.abiword_canvas.render_page_to_image(1)
1303475886.368297 WARNING root: DSObject was deleted without cleaning up first. Call DSObject.destroy() before disposing it.
Traceback (most recent call last):
File "/home/olpc/Activities/Write.activity/widgets.py", line 228, in activate_cb
File "/usr/lib/python2.6/site-packages/sugar/datastore/datastore.py", line 100, in getitem
return self._properties[key]
KeyError: 'keep'
1303475905.162308 WARNING root: DSObject was deleted without cleaning up first. Call DSObject.destroy() before disposing it.
Traceback (most recent call last):
File "/home/olpc/Activities/Write.activity/widgets.py", line 228, in activate_cb
File "/usr/lib/python2.6/site-packages/sugar/datastore/datastore.py", line 100, in getitem
return self._properties[key]
KeyError: 'keep'
1303475915.796455 WARNING root: DSObject was deleted without cleaning up first. Call DSObject.destroy() before disposing it.
Traceback (most recent call last):
File "/home/olpc/Activities/Write.activity/widgets.py", line 228, in activate_cb
File "/usr/lib/python2.6/site-packages/sugar/datastore/datastore.py", line 100, in getitem
return self._properties[key]
KeyError: 'keep'
Attachments (3)
Change History (12)
comment:1 Changed 12 years ago by RafaelOrtiz
comment:2 Changed 12 years ago by tonyforster
here's the doc it failed on (attached)
still 373pyg
comment:3 Changed 11 years ago by godiard
- Owner changed from uwog to godiard
- Status changed from new to assigned
Tony, can you confirm if this is happening with a updated Write activity?
comment:4 Changed 11 years ago by HoboPrimate
I tried exporting the .py file with Write 78 and fails with the same error above.
comment:5 Changed 11 years ago by tonyforster
Thanks HoboPrimate, looks like I missed this request for testing. Yes it fails on Write78, OS8, XO-1.75
comment:6 Changed 11 years ago by humitos
- Cc humitos added
- I downloaded the grecord-10.py file from this ticket
- I opened it with Write activity
- I see all the XML tags (as you see it on Trac)
- I click on "Export as RTF"
I got this error:
Traceback (most recent call last): File "/home/olpc/Activities/Write.activity/widgets.py", line 231, in __clicked_cb fileObject.metadata['share-scope'] = act_meta['share-scope'] File "/usr/lib/python2.7/site-packages/sugar/datastore/datastore.py", line 100, in __getitem__ return self._properties[key] KeyError: 'share-scope'
I tested this on XO 1.5, build os9, Write 78
Changed 11 years ago by humitos
comment:7 Changed 11 years ago by humitos
- Keywords patch added
comment:8 Changed 11 years ago by humitos
- Owner changed from godiard to humitos
- Status changed from assigned to accepted
comment:9 Changed 11 years ago by godiard
- Resolution set to fixed
- Status changed from accepted to closed
Thanks, pushed. Will be in Write 80.
Export works for me on sugar 0.88 / dextrose 2. can
you update your os and try again ?.