Can't run unity mail settings

Bug #1808236 reported by David Shepherd
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity Mail
Fix Released
Critical
Robert Tari

Bug Description

When I left click unity mail icon on my sidebar in ubuntu 16.04 I have an option to "Mark as read" , "Compose mail" etc..... but when I click on settings nothing opens up. I was using inbox instead of gmail but now want to go back to gmail and can't the relative links. Any ideas? Tried uninstall and re-install but nothings clearing my previous settings.

Revision history for this message
Robert Tari (robert-tari) wrote :

Thanks for reporting this. You can try the following:

1. Make sure you have the latest UM (currently 18.12.5)
2. Run killall unity-mail from the terminal
3. Run unity-mail-reset from the terminal
4. Restart UM with ALT+F2 unity-mail

Please, also report back here.

Changed in unity-mail:
assignee: nobody → Robert Tari (robert-tari)
Revision history for this message
David Shepherd (tophitter225-p) wrote :

Follow your steps and Unity Mail won't run at all. Si ran it in a terminal and the output is as follows:

Traceback (most recent call last):
  File "/usr/bin/unity-mail", line 22, in <module>
    UnityMail(len(sys.argv) == 2 and sys.argv[1] == 'debug')
  File "/usr/lib/python3/dist-packages/unitymail/application.py", line 477, in __init__
    self.initKeyring()
  File "/usr/lib/python3/dist-packages/unitymail/application.py", line 686, in initKeyring
    self.openDialog()
  File "/usr/lib/python3/dist-packages/unitymail/application.py", line 751, in openDialog
    self.dlgSettings = PreferencesDialog()
  File "/usr/lib/python3/dist-packages/unitymail/dialog.py", line 164, in __init__
    self.oNotebook.append_page(self.pageAccounts(), Gtk.Label(_('Accounts')))
  File "/usr/lib/python3/dist-packages/unitymail/dialog.py", line 330, in pageAccounts
    oMonitor = oDisplay.get_primary_monitor()
AttributeError: 'X11Display' object has no attribute 'get_primary_monitor'

Revision history for this message
Robert Tari (robert-tari) wrote :

OK, found the root of the issue:

16.04 is still using an old version of the gir1.2-gtk-3.0 package, whereas the get_primary_monitor function is only available in 3.22 and newer. I'm changing the code to make it check if it can use it.

Changed in unity-mail:
status: New → In Progress
Changed in unity-mail:
status: In Progress → Fix Committed
importance: Undecided → Critical
Revision history for this message
Robert Tari (robert-tari) wrote :

Could you please check it again with 18.12.13, and report back?

Changed in unity-mail:
status: Fix Committed → Fix Released
Revision history for this message
David Shepherd (tophitter225-p) wrote :

updated to 18.12.13.134 and ran unity-mail and nothing still not starting. Did your recommended previous steps and again nothing. Running it from a terminal generates:

Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Traceback (most recent call last):
  File "/usr/bin/unity-mail", line 22, in <module>
    UnityMail(len(sys.argv) == 2 and sys.argv[1] == 'debug')
  File "/usr/lib/python3/dist-packages/unitymail/application.py", line 477, in __init__
    self.initKeyring()
  File "/usr/lib/python3/dist-packages/unitymail/application.py", line 686, in initKeyring
    self.openDialog()
  File "/usr/lib/python3/dist-packages/unitymail/application.py", line 757, in openDialog
    self.dlgSettings.run()
  File "/usr/lib/python3/dist-packages/unitymail/dialog.py", line 465, in run
    self.updateEntries()
  File "/usr/lib/python3/dist-packages/unitymail/dialog.py", line 554, in updateEntries
    self.oEntryInboxAppend.set_text(self.lstDicts[nIndex]['InboxAppend'])
KeyError: 'InboxAppend'

Revision history for this message
Robert Tari (robert-tari) wrote :

You have discovered another bug. Launchpad has just finished building 18.12.13.135, I think it should be fine. I am sorry to keep asking for feedback, I have no access to a 16.04.

Revision history for this message
David Shepherd (tophitter225-p) wrote :

It's no problem I'll do what I have to, to get it sorted.

Revision history for this message
David Shepherd (tophitter225-p) wrote :

All is good now. Working fine thank you for the help much appreciated!

Revision history for this message
David Shepherd (tophitter225-p) wrote :

I've had another issue with this unfortunately waking from suspend unity-mail won't open for me when clicking on the icon from my unity launcher.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.