![]() |
| Problem with compiling and installer building |
|
alch
Site Admin
|
you need to build balloontip.pyd and pyc.pyd c++ modules from the included source code. The others are not needed.
pyc: https://clamwin.svn.sourceforge.net/viewvc/clamwin/trunk/addons/pyc/ (you can skip pyc if you do not intend to clamwin Outlook plugin) balloontip: https://clamwin.svn.sourceforge.net/viewvc/clamwin/trunk/clamwin/py/BalloonTip/ (you can skip balloontip if you do not intend to run clamwin on Win9x) clamwin.zip file contains the built python modules and clamwin will not work without it. |
||||||||||||
|
|
|||||||||||||
|
svs
|
OK, so I need zip the folder 'bin' (or his contents???) from ...\Setup\py2exe\dist and copy the zip file to py2exe\dist\lib\clamwin.zip.
Correct? |
||||||||||||
|
|
|||||||||||||
|
alch
Site Admin
|
no, setup_all.py should do that for you
|
||||||||||||
|
|
|||||||||||||
|
svs
|
Thank you!
|
||||||||||||
|
|
|||||||||||||
|
svs
|
I built the installer and installed ClamWin (in accordance with your description, without any problems).
BUT started ClanWin doesn't run scanning, any error/warnings ... What I do wrong? How I can check where is problem? |
||||||||||||
|
|
|||||||||||||
|
alch
Site Admin
|
did you install clamscan.exe and libclamav dlls into clamwin\bin too?
|
||||||||||||
|
|
|||||||||||||
|
svs
|
Yes I did.
Please see attached bitmap https://www.postimage.org/image.php?v=PqmAU7r ![]() |
||||||||||||
|
|
|||||||||||||
|
alch
Site Admin
|
and what happens when you run clamwin.exe? |
||||||||||||||
|
|
|||||||||||||||
|
svs
|
ClamWin is started but when I try to run 'Scan' - doesn't nothing.
No errors, warnings or log files. Just nothing.... Any ideas, please. |
||||||||||||
|
|
|||||||||||||
|
alch
Site Admin
|
check %tmp%\clamwin.log file after you click scan
|
||||||||||||
|
|
|||||||||||||
|
svs
|
I found the log:
System Locale: ('ru_RU', 'cp1251') Default Encoding: cp1251 command line path: Scanning: "D:\tmp" clamscan.exe command line: "C:\Program Files\ClamWin\bin\clamscan.exe" --tempdir "c:\docume~1\svs\locals~1\temp" --keep-mbox --stdout --database="C:\Documents and Settings\All Users\.clamwin\db" --log="c:\docume~1\svs\locals~1\temp\tmpqjoqit" --infected --max-files=500 --max-scansize=150M --max-recursion=50 --max-filesize=100M --show-progress --recursive --exclude="[^\]*\.dbx$" --exclude="[^\]*\.tbb$" --exclude="[^\]*\.pst$" --exclude="[^\]*\.dat$" --exclude="[^\]*\.log$" --exclude="[^\]*\.evt$" --exclude="[^\]*\.nsf$" --exclude="[^\]*\.ntf$" --exclude="[^\]*\.chm$" --kill "D:\tmp" Traceback (most recent call last): File "wxFrameMain.pyo", line 387, in OnScanButton File "wxDialogUtils.pyo", line 150, in wxScan File "wxDialogStatus.pyo", line 109, in create File "wxDialogStatus.pyo", line 191, in __init__ TypeError: __init__() got an unexpected keyword argument What does it mean? How I can fix it? |
||||||||||||
|
|
|||||||||||||
|
alch
Site Admin
|
I would have no idea. You need to debug it in Python by running clamwin.py from a python shell
|
||||||||||||
|
|
|||||||||||||
|
svs
|
I found similar problem:
"how to compile clamWin sources?" - https://forums.clamwin.com/viewtopic.php?t=332 The post contains solution: ====================== ..... TypeError: __init__() got an unexpected keyword argument 'useParentBackground' WTF?! After copying Libs from original install -- works great. Thank you alch. ...... ====================== What is "copying Libs from original install"? Second - "You need to debug it in Python by running clamwin.py from a python shell". I didn't work with Python. Can you help how I can run the debug? Thank you. |
||||||||||||
|
|
|||||||||||||
|
alch
Site Admin
|
most likely you are not using the required (old) version of wxWidgets - 2.4.2.4
the libs would be built modules in clamwin\lib folder |
||||||||||||
|
|
|||||||||||||
| Problem with compiling and installer building |
|
||
|
Powered by phpBB © phpBB Group
Design by phpBBStyles.com | Styles Database.
Content © ClamWin Free Antivirus GNU GPL Free Software Open Source Virus Scanner. Free Windows Antivirus. Stay Virus Free with Free Software.
Design by phpBBStyles.com | Styles Database.
Content © ClamWin Free Antivirus GNU GPL Free Software Open Source Virus Scanner. Free Windows Antivirus. Stay Virus Free with Free Software.



