Ticket #351 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

AttributeError: 'module' object has no attribute 'evince_embed_init'

Reported by: gdesmott Owned by: morgs
Priority: Urgent Milestone: 0.84
Component: Read Version: 0.83.x
Severity: Major Keywords:
Cc: sayamindu, tomeu Distribution/OS: Unspecified
Bug Status: Assigned

Description

I just build a fresh sugar-jhbuild and got this when I try to run Read:

1234538630.997736 DEBUG root: datastore.get
1234538631.004944 DEBUG root: dbus_helpers.get_properties: ac40106e-65cd-46a2-b199-bca4379e2538
1234538631.015173 DEBUG root: *** Act 53c115790ab8924ddc861102aab5cbd08f7e9870, mesh instance None, scope private
Traceback (most recent call last):

File "/home/cassidy/dev/sugar-jhbuild/install/bin/sugar-activity", line 21, in <module>

main.main()

File "/home/cassidy/dev/sugar-jhbuild/install/lib/python2.5/site-packages/sugar/activity/main.py", line 140, in main

create_activity_instance(activity_constructor, activity_handle)

File "/home/cassidy/dev/sugar-jhbuild/install/lib/python2.5/site-packages/sugar/activity/main.py", line 34, in create_activity_instance

activity = constructor(handle)

File "/home/cassidy/dev/sugar-jhbuild/install/share/sugar/activities/Lire.activity/readactivity.py", line 99, in init

evince.evince_embed_init()

AttributeError: 'module' object has no attribute 'evince_embed_init'

Change History

  Changed 4 years ago by morgs

  • cc sayamindu, tomeu added

follow-up: ↓ 3   Changed 4 years ago by sayamindu

I think it is caused by the newer changes to evince. Commenting out evince.evince_embed_init() seems to work for me.

in reply to: ↑ 2   Changed 4 years ago by tomeu

Replying to sayamindu:

I think it is caused by the newer changes to evince. Commenting out evince.evince_embed_init() seems to work for me.

Yeah, that's the right fix, sorry. Those initializations happen now when the module is imported.

  Changed 4 years ago by morgs

Fixed in git.

  Changed 4 years ago by morgs

  • priority changed from Unspecified by Maintainer to Urgent
  • status changed from new to accepted
  • status_field changed from Unconfimed to Assigned
  • version changed from Unspecified to 0.83.x
  • milestone changed from Unspecified by Release Team to 0.84

  Changed 4 years ago by tomeu

  • status changed from accepted to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.