SourceForge has been redesigned. Learn more.
Close

#5 Deprecation warning, object parameters

open
nobody
None
5
2014-08-15
2010-04-27
David Lewis
No

mmaker
/usr/local/lib/menumaker/Keywords.py:11: DeprecationWarning: the sets module is deprecated
from sets import Set as _Set
/usr/local/lib/menumaker/Keywords.py:27: DeprecationWarning: object.__init__() takes no parameters
str.__init__(self, s)
no frontend specified

Discussion

  • David Lewis

    David Lewis - 2010-04-27

    mmaker -v OpenBox3
    /usr/local/lib/menumaker/Keywords.py:11: DeprecationWarning: the sets module is deprecated
    from sets import Set as _Set
    /usr/local/lib/menumaker/Keywords.py:27: DeprecationWarning: object.__init__() takes no parameters
    str.__init__(self, s)
    * scanning
    desktop...Traceback (most recent call last):
    File "/usr/local/bin/mmaker", line 3, in <module>
    import MenuMaker.CLI
    File "/usr/local/lib/menumaker/MenuMaker/CLI.py", line 227, in <module>
    desktop = Prophet.Desktop.scan()
    File "/usr/local/lib/menumaker/Prophet/Desktop/__init__.py", line 153, in scan
    result.append(App(os.path.join(w[0], x)))
    File "/usr/local/lib/menumaker/Prophet/Desktop/__init__.py", line 266, in __new__
    self.__setup__(desktop)
    File "/usr/local/lib/menumaker/Prophet/Desktop/__init__.py", line 286, in __setup__
    super(App, self).__setup__()
    File "/usr/local/lib/menumaker/Prophet/__init__.py", line 265, in __setup__
    self.setExename()
    File "/usr/local/lib/menumaker/Prophet/Desktop/__init__.py", line 329, in setExename
    self.testGoodness(cmd)
    File "/usr/local/lib/menumaker/Prophet/__init__.py", line 261, in testGoodness
    if _shStart.search(cmd) or _shComplexCmd.search(cmd) :
    TypeError: expected string or buffer

     
  • David Lewis

    David Lewis - 2010-04-27

    mmaker -v OpenBox3
    /usr/local/lib/menumaker/Keywords.py:11: DeprecationWarning: the sets module is deprecated
    from sets import Set as _Set
    /usr/local/lib/menumaker/Keywords.py:27: DeprecationWarning: object.__init__() takes no parameters
    str.__init__(self, s)
    * scanning
    desktop...Traceback (most recent call last):
    File "/usr/local/bin/mmaker", line 3, in <module>
    import MenuMaker.CLI
    File "/usr/local/lib/menumaker/MenuMaker/CLI.py", line 227, in <module>
    desktop = Prophet.Desktop.scan()
    File "/usr/local/lib/menumaker/Prophet/Desktop/__init__.py", line 153, in scan
    result.append(App(os.path.join(w[0], x)))
    File "/usr/local/lib/menumaker/Prophet/Desktop/__init__.py", line 266, in __new__
    self.__setup__(desktop)
    File "/usr/local/lib/menumaker/Prophet/Desktop/__init__.py", line 286, in __setup__
    super(App, self).__setup__()
    File "/usr/local/lib/menumaker/Prophet/__init__.py", line 265, in __setup__
    self.setExename()
    File "/usr/local/lib/menumaker/Prophet/Desktop/__init__.py", line 329, in setExename
    self.testGoodness(cmd)
    File "/usr/local/lib/menumaker/Prophet/__init__.py", line 261, in testGoodness
    if _shStart.search(cmd) or _shComplexCmd.search(cmd) :
    TypeError: expected string or buffer

     

Log in to post a comment.