subversion/libsvn_subr/utf.c:466: (apr_err=22)
svn: Can't convert string from native encoding to 'UTF-8':
subversion/libsvn_subr/utf.c:464: (apr_err=22)
svn: /Volumes/Data/Apps/Games ?\198?\146/World of Warcraft/World of Warcraft/Interface/StageArea/!!!StandaloneLibraries
Unable to get: !!!StandaloneLibraries
other actions just produce the man page
when running the Comment WOW Addon script I always get the Error
System Events got an error: NSReceiverEvaluationScriptError: 4
on run
tell application "System Events"
set addon_folder to [color=red]path[/color] of folder "AddOns" of folder "Interface" of folder "World of Warcraft" of (path to "apps" from "Applications")
end tell
set these_items to (choose folder default location (addon_folder as alias) with multiple selections allowed)
process_items(these_items)
end run
subversion/libsvn_subr/utf.c:466: (apr_err=22)
svn: Can't convert string from native encoding to 'UTF-8':
subversion/libsvn_subr/utf.c:464: (apr_err=22)
svn: /Volumes/Data/Apps/Games ?\198?\146/World of Warcraft/World of Warcraft/Interface/StageArea/!!!StandaloneLibraries
Unable to get: !!!StandaloneLibraries
other actions just produce the man page
The error messages sound like they are coming from your SVN client. Which SVN client are you using? What do you get if you run:
svn --version
I'm wondering if svn is getting confused because of the special character in the name of your "Games " folder.
Quote from rinced »
when running the Comment WOW Addon script I always get the Error
System Events got an error: NSReceiverEvaluationScriptError: 4
on run
tell application "System Events"
set addon_folder to path of folder "AddOns" of folder "Interface" of folder "World of Warcraft" of (path to "apps" from "Applications")
end tell
set these_items to (choose folder default location (addon_folder as alias) with multiple selections allowed)
process_items(these_items)
end run
what to do ?
The error above is when trying to run the addon script without any files. It tries to let you pick an addon to comment, but is looking in /Applications/World of Warcraft/Interface/AddOns/... which doesn't exist in your set up. The apple script should still work as a folder action in your /Library/Scripts/Folder Action Scripts/ directory and then attached to your "AddOns" directory or by dragging AddOns to the script directly. I'll look at updating the script shortly so that it will handle this case better.
I dont know what the script is doing but it takes about a minute for the download of each (i normally DL with 600kb/s) addon and another minute for installing it which really is no fun with about 30 ace addons.
Im running the script on a Intel MacBook with dual 2 GHz processor but the process is by far not taking full use of the processor speed.
So what to do because i really would like to use this script but 2 hours for updating my addons is kinda annoying
Strange. It takes normally me only a few minutes total to update about 118 addons. You can download everything at once using:
addonpkg -fetch -all
With today being a maintenance day, I imagine the load on the SVN server might be heavy today also. I just tried a fetch and it seemed a lot slower than normal. ((Took 11½ minutes this time.))
Then in the smaller window I will do either:
addonpkg -install -all
or if I just want to update a few addons
addonpkg -install addon1 addon2 addon3 addon4 ...
Next time you need to update could you use the -v option. It should show everything the script is doing and let me know where the lag you are seeing is. And I will see what I can do.
* Actually I try to only do complete updates occasionally, most of the time I use a RSS reader (http://groups.google.com/group/wowace/feed/rss_v2_0_msgs.xml) to see which addons I should fetch and do something like: addonpkg -fetch addon1 addon2 ... I've been looking into ways to make my script smarter about what addons it will try to fetch to speed processing up. But want to keep it somewhat generic since I use it for more than just Ace addons.
I tried updating my addons today using addonpkg but am getting svn errors for about half of my Ace addons. Example:
/usr/local/bin/svn update --ignore-externals /Applications/World of Warcraft/Interface/StageArea/Babble-2.2
svn: REPORT request failed on '/wowace/!svn/vcc/default'
svn: No such revision 24271
This probably has nothing to do with your script (I had installed the latest version before updating my addons) but does anyone know why I'm getting these errors? Like I said, it only affects some of my addons, so I have a feeling it's a problem with the files on the svn. I tried deleting the .svn file in the Babble-2.2 directory and using the -force option, but that didn't help.
This looks like someting i would like to use alot but im a windows user and a noob is it possible toget this to run on windows? and if so how?
All im after is someting what will check for update and then download the update to a given loavation so that i can install myself later.
At the momen im using WAU
I don't use windows much but I'll see what I can do to help, though I can't make any promises. First things you will need if you want to use my script is a perl and a svn client. I believe that I've heard that ActivePerl is a windows distribution of perl. http://www.perl.org/get.html. For SVN clients check http://subversion.tigris.org/project_packages.html. Once you have both perl and svn installed you will need to open a command window.
Start -> Run... -> cmd.exe
You will need to put addonpkg some place that windows will find it. From there you can run the perl script. You will probably need to run it with the perl command in front.
perl addonpkg --help
I would suggest trying just --help option first to check if the script is mostly working.
To fetch some stuff to d:\myaddons use the following:
There is a change that when you try to fetch you will get an error message stating "Unable to locate svn command, make sure you have svn installed and in your path". If so I might need to fix some stuff.
Okay do you know where your svn command got installed? You can probably do a find files or folder for "svn.exe". Also what do you get in cmd.exe when you run
Okay do you know where your svn command got installed? You can probably do a find files or folder for "svn.exe". Also what do you get in cmd.exe when you run
echo %PATH%
?
I think I know the problem and the fix.
echo %PATH% Gives:
C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Common Files\GTK\2.0\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program F
iles\Subversion\bin
Okay do you know where your svn command got installed? You can probably do a find files or folder for "svn.exe".
Was found in "C:\Program Files\Subversion\bin"
Hope this helps
Thanks I think I have it working. See the attached file. Let me know how it works for you.
I get the following now when using: Perl addonpkg -fetch -s d:\myaddons BigWigs
D:\addonpkg-070109>perl addonpkg -fetch -s d:\myaddons BigWigs
svn: PROPFIND request failed on '/wowace/!svn/bln/24378'
svn: No such revision 24378
Unable to get: BigWigs
On the plus side i now have a StageArea in my C:\Program Files\World of Warcraft\Interface\
but when i try a perl addonpkg -fetch -s -all
all i get is a list of the avalible help commands
that's a subversion server message. drop the "-s" and use zip files if you desperately need an update. otherwise, you'll just have to wait until it's fixed.
not sure what causes it.. out of sync mirror perhaps?
I get the following now when using: Perl addonpkg -fetch -s d:\myaddons BigWigs
D:\addonpkg-070109>perl addonpkg -fetch -s d:\myaddons BigWigs
svn: PROPFIND request failed on '/wowace/!svn/bln/24378'
svn: No such revision 24378
Unable to get: BigWigs
As durcyn said this is an server error message from the wowace svn servers. My guess is also the same that wowace svn mirrors are out of sync. Normally in this case I wait a bit and try again.
Quote from Icerat »
On the plus side i now have a StageArea in my C:\Program Files\World of Warcraft\Interface\
but when i try a perl addonpkg -fetch -s -all
all i get is a list of the avalible help commands
Short answer as durcyn also said, drop "-s". The "-s" option is to indicate where the script will download files. It uses the next word as the name of the location of where to store the files. If you are storing stuff in the standard stage area you do not need this option. I had suggested the "-s d:\myaddons" because I wasn't sure if code would properly locate the interface directory under Windows. It sounds like it does however.
Thanks durcyn.
PS, I am looking at making the script also able to fetch and work directly with .zip files but need to put some more structure in place. Biggest thing I need to do is detect what version of the zip file you have, what version is available from www.wowace.com/files, etc. I also want to try to do it in such a way that minimizes load on wowace.com and other servers. I'm also looking at adding user defined repositories so the script can pull from other sites. Check out the undocumented .addonpkg.addons file it puts in the staging area if want to see my current progress on this.
I cannot figure out how to get the script to fetch !BugGrabber and !StopTheSpam - i keep getting "-bash: !BugGrabber: event not found"
same for stop the spam...
break19
! is a special character to the bash shell. To get any addons with ! in there names you will either need to quote the name using single quotes(') for example:
other actions just produce the man page
when running the Comment WOW Addon script I always get the Error
what to do ?
The error messages sound like they are coming from your SVN client. Which SVN client are you using? What do you get if you run:
I'm wondering if svn is getting confused because of the special character in the name of your "Games " folder.
The error above is when trying to run the addon script without any files. It tries to let you pick an addon to comment, but is looking in /Applications/World of Warcraft/Interface/AddOns/... which doesn't exist in your set up. The apple script should still work as a folder action in your /Library/Scripts/Folder Action Scripts/ directory and then attached to your "AddOns" directory or by dragging AddOns to the script directly. I'll look at updating the script shortly so that it will handle this case better.
thanks for the help.
Im running the script on a Intel MacBook with dual 2 GHz processor but the process is by far not taking full use of the processor speed.
So what to do because i really would like to use this script but 2 hours for updating my addons is kinda annoying
Then in the smaller window I will do either:
or if I just want to update a few addons
Next time you need to update could you use the -v option. It should show everything the script is doing and let me know where the lag you are seeing is. And I will see what I can do.
* Actually I try to only do complete updates occasionally, most of the time I use a RSS reader (http://groups.google.com/group/wowace/feed/rss_v2_0_msgs.xml) to see which addons I should fetch and do something like: addonpkg -fetch addon1 addon2 ... I've been looking into ways to make my script smarter about what addons it will try to fetch to speed processing up. But want to keep it somewhat generic since I use it for more than just Ace addons.
/usr/local/bin/svn update --ignore-externals /Applications/World of Warcraft/Interface/StageArea/Babble-2.2
svn: REPORT request failed on '/wowace/!svn/vcc/default'
svn: No such revision 24271
This probably has nothing to do with your script (I had installed the latest version before updating my addons) but does anyone know why I'm getting these errors? Like I said, it only affects some of my addons, so I have a feeling it's a problem with the files on the svn. I tried deleting the .svn file in the Babble-2.2 directory and using the -force option, but that didn't help.
All im after is someting what will check for update and then download the update to a given loavation so that i can install myself later.
At the momen im using WAU
I don't use windows much but I'll see what I can do to help, though I can't make any promises. First things you will need if you want to use my script is a perl and a svn client. I believe that I've heard that ActivePerl is a windows distribution of perl. http://www.perl.org/get.html. For SVN clients check http://subversion.tigris.org/project_packages.html. Once you have both perl and svn installed you will need to open a command window.
You will need to put addonpkg some place that windows will find it. From there you can run the perl script. You will probably need to run it with the perl command in front.
I would suggest trying just --help option first to check if the script is mostly working.
To fetch some stuff to d:\myaddons use the following: There is a change that when you try to fetch you will get an error message stating "Unable to locate svn command, make sure you have svn installed and in your path". If so I might need to fix some stuff.
then when i try
C:\Documents and Settings\Mike\Desktop\addonpkg-061215>perl addonpkg -fetch -s d
:\myaddons bigwigs
I get
Unable to locate svn command, make sure you have svn installed and in your path
Check out http://subversion.tigris.org/project_packages.html to find a SVN for y
our computer.
Now im gettin excited this is looking good :)
I think I know the problem and the fix.
Was found in "C:\Program Files\Subversion\bin"
Hope this helps
Thanks I think I have it working. See the attached file. Let me know how it works for you.
echo %PATH% Gives:
C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Common Files\GTK\2.0\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program F
iles\Subversion\bin
I get the following now when using: Perl addonpkg -fetch -s d:\myaddons BigWigs
D:\addonpkg-070109>perl addonpkg -fetch -s d:\myaddons BigWigs
svn: PROPFIND request failed on '/wowace/!svn/bln/24378'
svn: No such revision 24378
Unable to get: BigWigs
On the plus side i now have a StageArea in my C:\Program Files\World of Warcraft\Interface\
but when i try a perl addonpkg -fetch -s -all
all i get is a list of the avalible help commands
not sure what causes it.. out of sync mirror perhaps?
As durcyn said this is an server error message from the wowace svn servers. My guess is also the same that wowace svn mirrors are out of sync. Normally in this case I wait a bit and try again.
Short answer as durcyn also said, drop "-s". The "-s" option is to indicate where the script will download files. It uses the next word as the name of the location of where to store the files. If you are storing stuff in the standard stage area you do not need this option. I had suggested the "-s d:\myaddons" because I wasn't sure if code would properly locate the interface directory under Windows. It sounds like it does however.
Thanks durcyn.
PS, I am looking at making the script also able to fetch and work directly with .zip files but need to put some more structure in place. Biggest thing I need to do is detect what version of the zip file you have, what version is available from www.wowace.com/files, etc. I also want to try to do it in such a way that minimizes load on wowace.com and other servers. I'm also looking at adding user defined repositories so the script can pull from other sites. Check out the undocumented .addonpkg.addons file it puts in the staging area if want to see my current progress on this.
same for stop the spam...
break19
! is a special character to the bash shell. To get any addons with ! in there names you will either need to quote the name using single quotes(') for example: or escape the ! with a backslash(\):
Babble-2.2 and SpecialEventsEmbed look like they should be split the same way, but addonpkg handles them differently. After running
addonpkg -fetch -libs
addonpkg -install -libs
I end up with
Babble-2.2
Babble-Boss-2.2
Babble-Class-2.2
Babble-Fish-2.2
Babble-Herbs-2.2
Babble-Ore-2.2
Babble-Quest-2.2
Babble-Race-2.2
Babble-Spell-2.2
Babble-SpellTree-2.2
Babble-Trainer-2.2
Babble-Vendor-2.2
Babble-Zone-2.2
SpecialEventsEmbed
SpecialEventsEmbed_SpecialEvents-Aura-2.0
SpecialEventsEmbed_SpecialEvents-Bags-2.0
SpecialEventsEmbed_SpecialEvents-Equipped-2.0
SpecialEventsEmbed_SpecialEvents-LearnSpell-2.0
SpecialEventsEmbed_SpecialEvents-Mail-2.0
SpecialEventsEmbed_SpecialEvents-Mount-2.0
SpecialEventsEmbed_SpecialEvents-Movement-2.0
Why is there the "SpecialEventsEmbed_" tacked onto the front of all the subfolders?
Grid and sct are giving errors about not finding SpecialEvents-Aura-2.0, I think because of the added prefix on these directories.
Is this a bug in addonpkg or in the .toc files for Grid and sct? I am using addonpkg version 070126.
thanks for your help!