Hi there,
I don't know anything about Python.
I downloaded Python-2.4.msi and
wxPython2.5-win32-unicode-2.5.4.1-py24.exe
Installed both and that seamed to have worked.
When I try to start DirSync by calling run.py I get the
following error:
Traceback (most recent call last):
File "C:\Programme\DirsSync-2.1rc2\run.py", line 15, in ?
app=DsApp(0)
File
"C:\programme\Python24\Lib\site-packages\wx-2.5.4-msw-unicode\wx\_core.py",
line 5577, in __init__
self._BootstrapApp()
File
"C:\programme\Python24\Lib\site-packages\wx-2.5.4-msw-unicode\wx\_core.py",
line 5229, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "C:\Programme\DirsSync-2.1rc2\run.py", line 7,
in OnInit
frame=dirssync_gui.MyFrame(None,-1,"Directories
Synchronizer")
File "C:\Programme\DirsSync-2.1rc2\dirssync_gui.py",
line 180, in __init__
self.__do_layout()
File "C:\Programme\DirsSync-2.1rc2\dirssync_gui.py",
line 289, in __do_layout
Sizer_InputsPanel_CMDs.Add(50, 20, 0, 0, 0)
File
"C:\programme\Python24\Lib\site-packages\wx-2.5.4-msw-unicode\wx\_core.py",
line 9537, in Add
return _core_.Sizer_Add(*args, **kwargs)
TypeError: wxWindow, wxSizer, wxSize, or (w,h) expected
for item
Logged In: NO
Hi, I had the same problem and modified dirssync_gui.py like this:
289c289
< Sizer_InputsPanel_CMDs.Add((50, 20), 0, 0, 0)
---
> Sizer_InputsPanel_CMDs.Add(50, 20, 0, 0, 0)
The programme seems to work now. I use Ubuntu 5.10 Breezy Badger with
Python 2.4.2 and python-wxgtk2.6 (2.6.1.1.1ubuntu2).
See also #1122751