Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

GTK CD Label 1.15 doesn't work with Python 2.7.3

Help
2014-01-03
2014-01-06
  • I get: "ERROR: you need to install pygtk or gtk2"

    When doing python -m trace -t gtkcdlabel.py I can see things like:
    init.py(45): from gtk.deprecation import _Deprecated, _DeprecatedConstant
    --- modulename: deprecation, funcname: <module>
    deprecation.py(22): import os
    deprecation.py(23): import sys
    deprecation.py(24): import warnings
    deprecation.py(26): from gtk._gtk import DeprecationWarning
    deprecation.py(28): def _is_pydoc():
    deprecation.py(36): class _Deprecated:
    --- modulename: deprecation, funcname: _Deprecated
    deprecation.py(36): class _Deprecated:
    deprecation.py(37): def init(self, module, funcname, oldname, modulename=''):
    deprecation.py(46): def repr(self):
    deprecation.py(49): def call(self, args, *kwargs):
    deprecation.py(66): class _DeprecatedConstant:
    --- modulename: deprecation, funcname: _DeprecatedConstant
    deprecation.py(66): class _DeprecatedConstant:
    deprecation.py(67): def init(self, value, name, suggestion):
    deprecation.py(72): def _deprecated(self, value):
    deprecation.py(79): nonzero = lambda self: self._deprecated(self._v == True)
    deprecation.py(80): int = lambda self: self._deprecated(int(self._v))
    deprecation.py(81): str = lambda self: self._deprecated(str(self._v))
    deprecation.py(82): repr = lambda self: self._deprecated(repr(self._v))
    deprecation.py(83): cmp = lambda self, other: self._deprecated(cmp(self._v, other))

     
  • Wenzler
    Wenzler
    2014-01-06

    Hi,
    cant verify this on my Ubuntu 12.04 ...

    /usr/bin/gtkcdlabel.py
    /usr/bin/gtkcdlabel.py:78: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
    self.wTree = gtk.glade.XML(self.gladefile,windowname)
    INFO: config file ~/.gtkcdlabelrc loaded

    Can you give info on the OS and an strace output to see the system calls/libs loaded perhaps?