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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
you may want to try the RC1 source, and make sure you have recent version of wxPython
Is there a link to the RC source.? I've checked all mentioned links in the forums but no active links are
The latest source is from october 10th. you can grab it right here: http://g3torrent.sourceforge.net/g3torrent-latest.zip
http://www.rootshell.be/~leoxv/gentoo/g3torrent/g4torrent_v1.0_RC1.png
Mykr0ceph don't use wxWindows with unicode and gtk2 support.
http://www.rootshell.be/~leoxv/gentoo/g3torrent/g3torrent1.0RC_bug.png
I am almost ready to give up ;>
TIP
http://gentoo-wiki.com/TIP_Set_your_default_browser
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
-----------------------------------------
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?
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)