PDA

View Full Version : ERROR: deleting foldit.bat



rel279
03-14-2004, 05:53 PM
I was getting error:msg deleting foldit.bat when trying to start or upload!
Only posting this because I was asked for more info....It is almost Tues.


AMD 400mhz

256mb pc100

8.9 gb hd

Windoze ME
Useing dfGUI to upload on dialup.



TEXT FROM FOLDIT.BAT FILE:

@echo off
:start
if EXIST donename.dat goto donename
if EXIST changename.dat goto change2
if EXIST tmpfoldit.bat goto change

:donename
if EXIST donename.dat del tmpfoldit.bat
if EXIST donename.dat del donename.dat
.\foldtrajlite -f protein -n native -qt -rt -i f -g 1 -p 0
if EXIST doupdate.txt goto doupdate
goto end

:change
copy foldit.bat changename.dat > NUL
.\tmpfoldit.bat
goto end

:change2
del foldit.bat
del changename.dat
copy tmpfoldit.bat foldit.bat > NUL
copy foldit.bat donename.dat > NUL
.\foldit.bat
goto end

:doupdate
del doupdate.txt
".\distribfold-update.exe" -o
sleep 15 > NUL
if NOT EXIST file_id.diz goto error
rem successful unpacking, so remove files and run again
del ".\distribfold-update.exe"
del file_id.diz
echo Update was successful, restarting client
sleep 3 > NUL
goto start

:error
echo Foldtraj Client update was unsuccessful, please correct any problems,
echo ensure the file distribfold-update.exe is in the current directory and try again
pause
goto end

:end





distrib_update 2kb dos file:

@echo off
if NOT "%1"=="" goto
echo This command should not be run by the user, it is used exclusively to apply patches to the distributed folding client
goto end


echo New version found; attempting to unpack patch file

sleep 3 > NUL

if "%2"=="foldsaver" goto contss

if "%OS%"=="Windows_NT" goto ntclient

echo Update > doupdate.txt
goto end

:ntclient
%1 -o
sleep 15 > NUL
if NOT EXIST file_id.diz goto error
rem successful unpacking, so remove files and run again
del %1
del file_id.diz
echo Update was successful, restarting client
sleep 3 > NUL
if NOT "%2"=="foldtrajlite" goto contservice
foldit
goto end

:contservice
net start %2
goto end

:contss
mkdir C:\DFPUPDTP
%1 -o > NUL
sleep 15 > NUL
rem copy .scr to system or system32 directory; assumed to extract to C:
C:
cd \DFPUPDTP
if NOT EXIST file_id.diz goto sserror
del %1
del file_id.diz
if NOT EXIST Foldtraj.scr goto success
if "%OS%"=="Windows_NT" goto nt

del %WINDIR%\system\Foldtraj.scr
move /y Foldtraj.scr %WINDIR%\system\Foldtraj.scr
goto success

:nt
del %WINDIR%\system32\Foldtraj.scr
move /y Foldtraj.scr %WINDIR%\system32\Foldtraj.scr

:success
move /y *.* %3
cd \
rd DFPUPDTP

echo Foldtraj Screensaver update was successful
goto end

:error
echo Foldtraj Client update was unsuccessful, please correct any problems,
echo ensure the file %1 is in the current directory and try again
pause
goto end

:sserror
echo Foldtraj Screensaver update was unsuccessful, please correct any problems,
echo ensure the file %1 exists and try again
pause
:end


LAST ENTRIES IN ERROR LOG:

========================[ Mar 13, 2004 9:21 PM ]========================
Starting foldtrajlite built Jan 12 2004

========================[ Mar 13, 2004 9:29 PM ]========================
Starting foldtrajlite built Jan 12 2004

========================[ Mar 13, 2004 9:41 PM ]========================
Starting foldtrajlite built Jan 12 2004



All prog. would do was state ERROR: deleting foldit.bat

USEING TEXT CLIENT
:confused: :confused: :confused:

rel279
03-14-2004, 06:19 PM
Extra info




This is all dfGUI log had:


3/13/2004 12:10:14 PM Protein Size: 129
Client Status: Appears to be running.
Current Generation: 211 Generations Buffered: 4
Structs Complete: 33 Structs Remaining: 67
Best Energy: 61.904 Client Run Time: 0:01:57:18
Time To Complete: 0:00:53:56 Bench Run Time: 0:00:25:46
Prev Generation Time: 0:00:27:16 Avg Generation Time: 0:01:01:21
Structs/Day: 1788
-----------------------------------------------------------
3/13/2004 3:00:10 PM Protein Size: ???
Client Status: Not Running.
-----------------------------------------------------------
3/13/2004 4:00:10 PM Protein Size: 129
Client Status: Appears to be running.
Current Generation: 212 Generations Buffered: 2
Structs Complete: 66 Structs Remaining: 34
Best Energy: 62.049 Client Run Time: 0:00:59:45
Time To Complete: 0:00:15:50 Bench Run Time: 0:00:30:47
Prev Generation Time: Avg Generation Time:
Structs/Day: 3091
-----------------------------------------------------------
3/13/2004 5:34:56 PM Protein Size: ???
Client Status: Not Running.
-----------------------------------------------------------
3/13/2004 5:59:21 PM Protein Size: ???
Client Status: Not Running.
-----------------------------------------------------------
3/13/2004 6:21:56 PM Protein Size: ???
Client Status: Not Running.
-----------------------------------------------------------
3/13/2004 6:39:07 PM Protein Size: ???
Client Status: Not Running.
-----------------------------------------------------------
Though Client showed 213 GENS with 4 buffered.




Foldit Filelist:

.\fold_1_4b2cnkhq_5_4b2cnkhq_protein_210.log.bz2
.\4b2cnkhq_1_4b2cnkhq_protein_210_0000006.val
.\fold_1_4b2cnkhq_11_4b2cnkhq_protein_211.log.bz2
.\4b2cnkhq_1_4b2cnkhq_protein_211_0000012.val
.\fold_1_4b2cnkhq_49_4b2cnkhq_protein_212.log.bz2
.\4b2cnkhq_1_4b2cnkhq_protein_212_0000050.val
fold_1_4b2cnkhq_96_4b2cnkhq_protein_213.log.bz2
4b2cnkhq_1_4b2cnkhq_protein_213_0000097.val
fold_1_4b2cnkhq_17_4b2cnkhq_protein_214.log.bz2
4b2cnkhq_1_4b2cnkhq_protein_214_0000018.val
CurrentStruc 1 47 134 214 1 18 61.949 -2063.542 835.012 -208.050 39240628.000 1.750 3.300 3093.865 ------HHHHHHH------------HHHHHHHHHHHH------------------------------------------------HHHHH---HHHHH----------------------HHHHH----
2495aeecaa2e4c5c684b4ce2bbaf1529

gopher_yarrowzoo
03-14-2004, 07:36 PM
Erm Dude, YOu can't actually delete Foldit.bat even with DFGUi running cos it just keeps getting recreated or tweaked... why would you wanna delete it or is it something else that is deleting it

rel279
03-14-2004, 08:19 PM
ERR That was The Error message the Client was giving me when I tried to upload and start erm any Ideas???? I have the whole file on disk if you want to see it. Why would I want to delete it and why would it want to update my nt screensaver when I am useing text client on a WIN ME box.:smoking:


I will make first post even more clear :notworthy

rel279
03-16-2004, 01:46 AM
Well I guess this wasn't much of an error thoe no one has an answer.

tpdooley
03-16-2004, 06:34 AM
I was the one that mentioned you should post more information about your system - (and I'm a df user, just like you) - hoping to save you from an identical post from Howard and/or Elena. As you may have noticed during the many previous protein changes.. the day before a protein change has not always been the best time to get the attention of Howard or anyone else on staff.

If you're using dfGUI to start, stop, and upload data - you might also want to get Jeff's attention in case the problem is related to dfGUI. All the 3rd party apps are now being discussed in the 3rd party forum.

Hopefully, after we get the protein update today, you can get a more helpful response.

rel279
03-16-2004, 11:36 AM
I have to apologize.....last nite myself and a few friends over for X-Files and beer .... We got to talking about DF and I showed them the error I posted.

They think the sun revolves around boink and seti.

They added a couple of posts for me ..... I have edited.

The error is no biggie just curious about it.



SRY about the negitive post:blush:

Brian the Fist
03-17-2004, 10:52 AM
You have received no reply because, frankly, we have no idea what you are talking about. Please post the full error message you received, and where it is coming from. None of our error messages say to delete foldit.bat...

rel279
03-17-2004, 11:43 AM
The error msg was at the bottom of dfGui that I use for upload do to dialup connection. ie: Status:Error deleting foldit.bat

In the above file:
:change2
del foldit.bat
del changename.dat
copy tmpfoldit.bat foldit.bat > NUL
copy foldit.bat donename.dat > NUL
.\foldit.bat
goto end


:error
echo Foldtraj Client update was unsuccessful, please correct any problems,
echo ensure the file distribfold-update.exe is in the current directory and try again
pause
goto end

I just was concerned that this was more common and I had a setting wrong.
I redowloaded client and have not had a problem.I also had McAffee auto update turned on I disabled it.

No problems now Thank you.

bwkaz
03-17-2004, 06:08 PM
That's a dfGUI error message then. It has nothing to do with the DF client. The contents of foldit.bat don't matter either, as the problem is that it can't delete that file. Usually this happens when the file is opened by some other program (stupid Windows file locking semantics). That could be the DF client itself (was it already started when you were trying to start it again?), or it could have been your antivirus program.

If you get it again, post in the Add-On/Utilities/Monitors/Stats forum thingy.

Stardragon
03-18-2004, 03:15 PM
Yes, it is indeed a 3rd party error, or at least an error that occurs due to running 3rd party software.
It would be wise to let Jeff know in the appropriate Add-On/Utilities/Monitors/Stats forum - he may want to fix up dfGUI if that is indeed where the error originates.

rel279
03-18-2004, 04:03 PM
Thank You Stardragon.....yes indeed it was that and probably my antivirus auto update.....The more I looked through my files it was most likley my setup. As usuall the more I read I realize it was my mistake sry for problem.



:bonk: