AutoIT Error

23 posts / 0 new
Last post
e033480
Offline
Last seen: 11 years 3 months ago
Joined: 09.02.2012 - 15:58
AutoIT Error

Very first time running cwrsync to copy sample local source directory to local destination.  Error message received:

AutoIT Error

Line 3020 (File "C:\Program Files (X86)\cwRsync\bin\cwrsync.exe"):

Error: Subscript used with non-Array variable.

 

Application then aborts.

 

Running on Windows 7 Enterprise Service Pack 1

64-bit Operating System, 12 GB RAM

itefix
Offline
Last seen: 6 hours 9 min ago
Joined: 01.05.2008 - 21:33
Which version do you use ?

Which version do you use ? There is a GUI update (version 5.0.1) available via Customer downloads (customer login required.)

itefix
Offline
Last seen: 6 hours 9 min ago
Joined: 01.05.2008 - 21:33
Did you get your problem

Did you get your problem solved ? Need any assistance ?

e033480
Offline
Last seen: 11 years 3 months ago
Joined: 09.02.2012 - 15:58
Using version 5.0.1 -- At

Using version 5.0.1 -- At first thought it was permissions because failure was to USB drives and get all sorts of odd error messages.  That will be the next case!

Did test directory to/from drive C.  Seems to complete the copy but then fails with that message at the end.

 

Command it created is:

"C:\Program Files (x86)\cwRsync\bin\rsync.exe" --recursive --inplace --times --delete --delete-during "/cygdrive/C/CWTestDir" "/cygdrive/C/tmp"

Does not fail when command is entered from the command line.

Does not seem to fail when doing an incremental update from the GUI. Only fails when running the first time when it has to do a complete copy.

 

itefix
Offline
Last seen: 6 hours 9 min ago
Joined: 01.05.2008 - 21:33
Sorry for a late response. It

Sorry for a late response. It may be useful to initiate first-time transfers by using --size-only option:

 

--size-only
This modifies rsync's "quick check" algorithm for finding files that need to be transferred, changing it from the default of transferring files with either a changed size or a changed last-modified time to just looking for files that have changed in size. This is useful when starting to use rsync after using another mirroring system which may not preserve timestamps exactly.
itefix
Offline
Last seen: 6 hours 9 min ago
Joined: 01.05.2008 - 21:33
Closing case as there was no

Closing case as there was no reply back. Just reopen it if the problem still exists.

moonlight
Offline
Last seen: 10 years 1 week ago
Joined: 06.04.2012 - 01:02
I'm seing this issue too

I'm seing this issue too running version 5.0.1 on Windows 2008 r2 64Bit.

Trying to rsync 3 big folders (around 200G) to an USB disk. I already tried the --size-only option

but it fails with:

Line 3020 Error: Subscript used with non-Array variable.

"C:\Program Files (x86)\cwRsync\bin\rsync.exe" --recursive --size-only --whole-file --progress --inplace --delete --delete-during "/cygdrive/C/mibs" "/cygdrive/C/inetpub" "/cygdrive/C/SQL" "/cygdrive/C/data" "/cygdrive/E/Backup" 



itefix
Offline
Last seen: 6 hours 9 min ago
Joined: 01.05.2008 - 21:33
I've discovered a small

I've discovered a small glitch which may cause the behaviuor you've observed. An updated version of Cwrsync GUI (version 5.0.2) is now available from Support downloads page (customer login required). Please give it a try.

moonlight
Offline
Last seen: 10 years 1 week ago
Joined: 06.04.2012 - 01:02
Just did. Same exact error on

Just did. Same exact error on a diferent line 3023.

 

itefix
Offline
Last seen: 6 hours 9 min ago
Joined: 01.05.2008 - 21:33
Hmm, it's weird. I've updated

Hmm, it's weird. I've updated code to try an other combination, Can you give it a try ? Cwrsync gui version is 5.0.2.1.

moonlight
Offline
Last seen: 10 years 1 week ago
Joined: 06.04.2012 - 01:02
Still seing same error on the

Still seing same error on the 3023 line on Test mode.

itefix
Offline
Last seen: 6 hours 9 min ago
Joined: 01.05.2008 - 21:33
It seems that the problem is

It seems that the problem is related to permissions required to get process statistics. Problems disappear if GUI is run by a user with administrator privileges.

Converting case to a feature request: Don't produce process statistics if user is not administrator.

pgoetz
Offline
Last seen: 9 years 11 months ago
Joined: 19.06.2013 - 15:06
I'm running cwRsync with

I'm running cwRsync with administrative privileges on a Windows XP machine and am having exactly the same problem.  I'm trying to backup a 300GB partition to an external eSATA drive and every time the program crashes with this error message:

 

Line 3023: (File C:\Program Files\cwRsync\bin\cwrsync.exe)

Error: Subscript used with non-Array variable

 

I've tried doing the backup at least 6 times now, and every time this happens.  I use rsync all the time on linux machines, and it's not clear to me that this version is actually doing a good job of detecting files that haven't changed.  Almost all the files/folders in the volume are static; i.e. never change, and on more than one occasion cwrsync has run for 6-8 hours before crashing.  After 6 tries you'd think everything was backed up by now.

itefix
Offline
Last seen: 6 hours 9 min ago
Joined: 01.05.2008 - 21:33
Current version of the

Current version of the Cwrsync GUI is not designed to display progress of transfers with a very large number of files.

What you can do is to use the same GUI to create a batch file, allowing you an rsync operation without limitations of GUI elements.

pgoetz
Offline
Last seen: 9 years 11 months ago
Joined: 19.06.2013 - 15:06
So basically I paid $35 for

So basically I paid $35 for nothing.  OK, good to know.

itefix
Offline
Last seen: 6 hours 9 min ago
Joined: 01.05.2008 - 21:33
Well, you can't put it that

Well, you can't put it that simple :-) Can you give me some hints about size/count of your workload and a copy of cwrsync window log window ? I will try to come up with a solution removing potantial limitations of theGUI.

pgoetz
Offline
Last seen: 9 years 11 months ago
Joined: 19.06.2013 - 15:06
Sure I can.  I'm perfectly

Sure I can.  I'm perfectly capable of installing cygwin and messing around with this myself, but was hoping to spend $35 to save myself the time of doing this, since I work mostly with linux systems and am very short of time.  I already told you both the workload (backup up a 300GB partition, consisting mostly of FLAC files and large images) and the complete contents of the log window:

 

Line 3023: (File C:\Program Files\cwRsync\bin\cwrsync.exe)

Error: Subscript used with non-Array variable

 

This pretty clearly a straight up bug.  What I don't understand is why it takes an intermittent amount of time to trigger the bug.  A couple of times the program crashed immediately; another couple of times after an hour, another couple of times after 5-6 hours.

 

 

itefix
Offline
Last seen: 6 hours 9 min ago
Joined: 01.05.2008 - 21:33
What i am also interested are

What i am also interested are number of files you try to synchronize and rsync command syntax you use.

pgoetz
Offline
Last seen: 9 years 11 months ago
Joined: 19.06.2013 - 15:06
How do you find out what

How do you find out what rsync command syntax is being used by the GUI?  I didn't see anything that showed me the command line syntax.

itefix
Offline
Last seen: 6 hours 9 min ago
Joined: 01.05.2008 - 21:33
Please click on -Run- tab and

Please click on -Run- tab and don't click on Run button. You will then see the syntax of the rsync command that will be run.

pgoetz
Offline
Last seen: 9 years 11 months ago
Joined: 19.06.2013 - 15:06
The partition I'm trying to

The partition I'm trying to back up contains about 18,000 files.

 

Here is the command:

 

"C:\Program Files\cwRsync\bin\rsync.exe" --recursive "/cygdrive/G/" "/cygdrive/J/Backup_2013-06-18/G"

 

I've never used -r before; doesn't rsync on windows support -a?  If so, the GUI should probably default to -a mode.  Anything else, and people will not get what they expect to have happen.

 

pgoetz
Offline
Last seen: 9 years 11 months ago
Joined: 19.06.2013 - 15:06
So, I just installed cygwin

So, I just installed cygwin (that took about 5 minutes) and ran rsync by hand from the cygwin terminal:

 

   rsync -a /cygdrive/G/ /cygdrive/J/Backup_2013-06-18/G

 

That worked perfectly.  I got ripped off this time, but will alert other people that cwRsync has turned into a scam operation.

 

 

itefix
Offline
Last seen: 6 hours 9 min ago
Joined: 01.05.2008 - 21:33
The same command would work

The same command would work with cwrsync as perfectly as it did with Cygwin - Cwrsync is simply rsync on Cygwin with a GUI for creating rsync commands easily and some Windows based best practices. As you seemed to be in short of time, we suggested to create a batch file via GUI to move on as a workaround.

Regarding -a option: It is a combination of many options of which many of them are not relevant on Windows systems.

Sorry for all the inconvenience we created for you. However, we don't think that the concept is a good candidate for what you try to suggest.

This is a support forum to address technical issues around cwrsync, free or not. It is moderated and not supposed to function as an all free discussion forum. If you are a customer and want to discuss with us other things, then you're free to contact us directly.

Release news