can't run on ubuntu 16.04 fresh install

Bug #1589053 reported by jazzmale on 2016-06-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Indicator Remindor
Undecided
Unassigned

Bug Description

can't run on ubuntu 16.04 fresh install

indicator-remindor
/usr/lib/python2.7/dist-packages/indicator_remindor/__init__.py:25: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk # pylint: disable=E0611
Traceback (most recent call last):
  File "/usr/bin/indicator-remindor", line 33, in <module>
    import indicator_remindor
  File "/usr/lib/python2.7/dist-packages/indicator_remindor/__init__.py", line 31, in <module>
    from indicator_remindor.ReminderDialog import ReminderDialog
  File "/usr/lib/python2.7/dist-packages/indicator_remindor/ReminderDialog.py", line 20, in <module>
    from indicator_remindor import helpers
  File "/usr/lib/python2.7/dist-packages/indicator_remindor/helpers.py", line 25, in <module>
    from remindor_common import database as db, helpers
  File "/usr/lib/python2.7/dist-packages/remindor_common/helpers.py", line 36, in <module>
    from remindor_common.services.boxcar import Boxcar
  File "/usr/lib/python2.7/dist-packages/remindor_common/services/boxcar.py", line 17, in <module>
    import requests
  File "/usr/local/lib/python2.7/dist-packages/requests/__init__.py", line 53, in <module>
    from .packages.urllib3.contrib import pyopenssl
  File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/contrib/pyopenssl.py", line 73, in <module>
    ssl.PROTOCOL_SSLv3: OpenSSL.SSL.SSLv3_METHOD,
AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'

-----------------
remindor-qt
Traceback (most recent call last):
  File "/usr/bin/remindor-qt", line 49, in <module>
    import remindor_qt
  File "/usr/lib/python2.7/dist-packages/remindor_qt/__init__.py", line 36, in <module>
    from remindor_qt import RemindorQtWindow
  File "/usr/lib/python2.7/dist-packages/remindor_qt/RemindorQtWindow.py", line 30, in <module>
    from remindor_qt.AboutDialog import AboutDialog
  File "/usr/lib/python2.7/dist-packages/remindor_qt/AboutDialog.py", line 20, in <module>
    from remindor_qt import helpers
  File "/usr/lib/python2.7/dist-packages/remindor_qt/helpers.py", line 28, in <module>
    from remindor_common import database as db, helpers
  File "/usr/lib/python2.7/dist-packages/remindor_common/helpers.py", line 36, in <module>
    from remindor_common.services.boxcar import Boxcar
  File "/usr/lib/python2.7/dist-packages/remindor_common/services/boxcar.py", line 17, in <module>
    import requests
  File "/usr/local/lib/python2.7/dist-packages/requests/__init__.py", line 53, in <module>
    from .packages.urllib3.contrib import pyopenssl
  File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/contrib/pyopenssl.py", line 73, in <module>
    ssl.PROTOCOL_SSLv3: OpenSSL.SSL.SSLv3_METHOD,
AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'

jazzmale (jazzmale) wrote :

on my other machine xubuntu 16.04 upgraded from wily 15.10
shows warnings but works fine

indicator-remindor
/usr/lib/python2.7/dist-packages/indicator_remindor/__init__.py:25: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk # pylint: disable=E0611
/usr/lib/python2.7/dist-packages/indicator_remindor/IndicatorRemindorWindow.py:17: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  from gi.repository import Gio, Gtk, Gdk, GObject, Notify, AppIndicator3 # pylint: disable=E0611
/usr/lib/python2.7/dist-packages/indicator_remindor/IndicatorRemindorWindow.py:17: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
  from gi.repository import Gio, Gtk, Gdk, GObject, Notify, AppIndicator3 # pylint: disable=E0611
/usr/lib/python2.7/dist-packages/indicator_remindor/scheduler_gtk.py:19: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk, GObject, Notify, AppIndicator3, Gst

(gst-plugin-scanner:31123): GLib-GObject-WARNING **: cannot register existing type 'ClutterGstVideoSink'

(gst-plugin-scanner:31123): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(gst-plugin-scanner:31123): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(gst-plugin-scanner:31123): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed
/usr/lib/python2.7/dist-packages/gi/types.py:282: RuntimeWarning: Mixin class remindor_common.scheduler.GenericScheduler is an old style class, please update this to derive from "object".
  RuntimeWarning)

description: updated
Brian Douglass (bhdouglass) wrote :

Can you check to see if your system is up to date? It could be possible that you have an old version of one of the libraries that are used.

jazzmale (jazzmale) wrote :

What libraries should I check? Which ones do you use for your project?

Brian Douglass (bhdouglass) wrote :

This particular one looks like python's requests library.

jazzmale (jazzmale) wrote :

I had to uninstall "pyopenssl" python library.

Now indicator loads.

But I don't know if "pyopenssl" is needed for any other applications.

Brian Douglass (bhdouglass) wrote :

Weird, hopefully that doesn't cause any other issues.

Changed in indicator-remindor:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers