Menu

Run error

Help
2003-10-25
2003-11-09
  • Miguel Duarte

    Miguel Duarte - 2003-10-25

    Hi! :)

    I finally got into KDE so I came back and downloaded pyamp.
    But when i run it, it gives a error:

    Traceback (most recent call last):
      File "/usr/bin/pyamp", line 8, in ?
        pyamp.main()
      File "/usr/lib/python2.2/site-packages/pyamp/pyamp.py", line 83, in main
        setappdefaultencoding(getdefaultlocale()[1])
    TypeError: setdefaultencoding() argument 1 must be string, not None

    Any idea?

    Thanks

     
    • Sok Ann Yap

      Sok Ann Yap - 2003-10-27

      Hi,

      Ooppss, that seems like a bug...
      Try to start it by:

      LC_CTYPE=en_US pyamp

      Please let me know if that works. I will release a new version within 1 or 2 weeks :)

      regards,
      sayap

       
    • Miguel Duarte

      Miguel Duarte - 2003-10-27

      Well now it gives this:

      Traceback (most recent call last):
        File "/usr/bin/pyamp", line 8, in ?
          pyamp.main()
        File "/usr/lib/python2.2/site-packages/pyamp/pyamp.py", line 100, in main
          pyamp = Pyamp()
        File "/usr/lib/python2.2/site-packages/pyamp/pyamp.py", line 39, in __init__
          self.win = MainWindow()
        File "/usr/lib/python2.2/site-packages/pyamp/mainwindow.py", line 67, in __init__
          self.optionDialog = OptionDialog(self)
        File "/usr/lib/python2.2/site-packages/pyamp/optiondialog.py", line 31, in __init__
          self.createAppearanceTab()
        File "/usr/lib/python2.2/site-packages/pyamp/optiondialog.py", line 67, in createAppearanceTab
          layout.setRowSpacing(0, 6)
      AttributeError: setRowSpacing
      ERROR: Communication problem with pyamp, it probably crashed.

      Thanks for the help :)
      Another thing (more of a personal request... :p). Would it be too difficult to support another file type? Like Musepack... *hint* *hint* :p

      Thanks for everything :)

       
    • Sok Ann Yap

      Sok Ann Yap - 2003-10-28

      Hi,

      You would need QT 3.2 or above for it to work. Thanks for posting the traceback, or else I won't notice about that, hehe...

      Well, I have not have much success in creating a python wrapper for the musepack decoding library, but I will keep trying :)

      regards,
      sayap

       
    • Miguel Duarte

      Miguel Duarte - 2003-10-30

      Ah!!!!! :p

      I'll try QT 3.2 as soon as I can. :)
      Maybe put this in the requirements? ;)

       
    • Miguel Duarte

      Miguel Duarte - 2003-10-30

      Well, just upgraded to QT 3.2.2...
      Now it gives me this error:

      QMetaObject::findSignal:KListView: Conflict with QListView::doubleClicked(QListViewItem*,const QPoint&,int)
      Traceback (most recent call last):
        File "/usr/bin/pyamp", line 8, in ?
          pyamp.main()
        File "/usr/lib/python2.2/site-packages/pyamp/pyamp.py", line 100, in main
          pyamp = Pyamp()
        File "/usr/lib/python2.2/site-packages/pyamp/pyamp.py", line 39, in __init__
          self.win = MainWindow()
        File "/usr/lib/python2.2/site-packages/pyamp/mainwindow.py", line 67, in __init__
          self.optionDialog = OptionDialog(self)
        File "/usr/lib/python2.2/site-packages/pyamp/optiondialog.py", line 31, in __init__
          self.createAppearanceTab()
        File "/usr/lib/python2.2/site-packages/pyamp/optiondialog.py", line 67, in createAppearanceTab
          layout.setRowSpacing(0, 6)
      AttributeError: setRowSpacing
      ERROR: Communication problem with pyamp, it probably crashed.

      The only difference is the first line before the traceback.

       
    • Sok Ann Yap

      Sok Ann Yap - 2003-11-09

      Hi,

      Can you install sip 3.8, PyQt 3.8.1, and PyKDE 3.8, and let me know if they make any difference? I am sorry for all the trouble caused. Thanks for your effort in trying the program :)

      regards,
      sayap

       

Log in to post a comment.