Menu

G3 Linux

Mykr0ceph
2004-11-16
2013-04-03
  • Mykr0ceph

    Mykr0ceph - 2004-11-16

    I've searched the forums looking for a linux version of G3. Does anyone know where to find a copy..? I've tried the .999a source and got the folliwng errors:

    <error>
    $ python g3torrent.py
    Traceback (most recent call last):
      File "g3torrent.py", line 19, in ?
        import wx
      File "/usr/lib/python2.3/site-packages/wx/__init__.py", line 42, in ?
        from wx._core import *
      File "/usr/lib/python2.3/site-packages/wx/_core.py", line 4, in ?
        import _core_
    ImportError: /usr/lib/python2.3/site-packages/wx/_core_.so: undefined symbol: PyUnicodeUCS4_AsWideChar
    </error>

    TIA,
    Myk

     
    • Apraxhren

      Apraxhren - 2004-11-16

      you may want to try the RC1 source, and make sure you have recent version of wxPython

       
    • Mykr0ceph

      Mykr0ceph - 2004-11-16

      Is there a link to the RC source.? I've checked all mentioned links in the forums but no active links are

       
      • Apraxhren

        Apraxhren - 2004-11-16

        The latest source is from october 10th. you can grab it right here: http://g3torrent.sourceforge.net/g3torrent-latest.zip

         
    • LeoXV

      LeoXV - 2004-11-16

      http://www.rootshell.be/~leoxv/gentoo/g3torrent/g4torrent_v1.0_RC1.png

      Mykr0ceph don't use wxWindows with unicode and gtk2 support.

       
    • LeoXV

      LeoXV - 2004-11-16
       
    • LeoXV

      LeoXV - 2004-11-17

      http://www.rootshell.be/~leoxv/gentoo/g3torrent/g4torrent_v1.0_RC1_1.png

      http://g3torrent.sourceforge.net/g3torrent-latest.zip
      bugs o.O LOL   encode !! not decode

              try:
                  field = fields[0].encode(locale.getpreferredencoding())
              except:
                  field = fields[0].encode('latin-1', 'replace')

      -----------------------------------------
      # Name:        g3listctrl.py
      # Purpose:    
      #
      # Author:      Jeremy Arendt
      #
      # Created:     2004/23/02
      # RCS-ID:      $Id: g3listctrl.py $
      # Copyright:   (c) 2002
      # Licence:     See G3.LICENCE.TXT
      -----------------------------------------
          def InsertRow(self, key, fields):
              item_idx = self.FindItemData(-1, key)   # <- This is kinda... slow
             
              try:
                  field = fields[0].decode(locale.getpreferredencoding())
              except:
                  field = fields[0].decode('latin-1', 'replace')
                 
              if item_idx < 0:
                  item_idx = self.GetItemCount()
                  self.InsertStringItem(item_idx, field)
              else:
                  self.SetStringItem(item_idx, 0, field)
             
              i = 1
              columns = self.columns
              for j in range(1, len(fields)):
                  if columns[j][0]:
                      self.SetStringItem(item_idx, i, fields[j])
                      i += 1
                     
              self.SetItemData(item_idx, key)
              return item_idx
      -----------------------------------------

       
    • raijin

      raijin - 2004-11-17

      hmm i am using the newest wypython and stuff and i get this message

      silmaril g3torrent # python g3torrent.py
      Traceback (most recent call last):
        File "g3torrent.py", line 49, in ?
          EVT_INVOKE = wx.PyEventBinder(wxEVT_INVOKE, 0)
      AttributeError: 'module' object has no attribute 'PyEventBinder'

      whats up? how do i fix it?

       
    • LeoXV

      LeoXV - 2004-11-23

      raijin try:

      #wxEVT_INVOKE = wx.NewEventType()
      #EVT_INVOKE = wx.PyEventBinder(wxEVT_INVOKE, 0)

      wxEVT_INVOKE = wxNewEventType()
      def EVT_INVOKE(win, func):
          win.Connect(-1, -1, wxEVT_INVOKE, func)

       

Log in to post a comment.