Command: ScriptWizard (multipurpose scripting resources aid)

Is it because of DO12 bugs that should be fixed or else?

It's not so easy to say and so far I seem to be the only one who's affected. In the end it could be me, we will see. o)
EDIT: It's this topic btw: Updated to v12.2.2 and label filters got corrupt

Hello, This doesn't work in dopus 12 for me, it says failed to load. Is this now no longer working?

This addin still works in DO12, I use it to sync installed script addins between my private computers and the one at work.

SW seems to work at 20% of the speed with DO12 though, don't know yet why that is, but especially populating the script detail columns with data is very more slow. Still need to check why that is, but apart from the performance, it works as expected.

Please show the actual error message or try to tell me where you encounter the "failed to load" message.

The performance issue for me was easy to fix, the log level was set to "Dump" instead of "Normal". o) Not sure if logging in full detail caused the same slow down on DO11, but even if, everything should be just fine in DO12 if the regular logging level is used.

Hi tbone! o)

I have a problem with ScriptWizard again not recognizing my updated script.
I've tried the ScriptWizard CLEARCOLS command but it didn't help in this case. It just says "Unsupported: No downloads found for script!".

I probably have to update something in my script...

Did you use the upload preparation procedure? It puts a copy of your script in a temporary place with the proper extension (*.js.txt in your case) and it also copies this filepath to the clipboard for you. All you need to do is to click "add files" on the "attachments" tab here in the forum and use CLTR-V to paste the path to your file. After that, close the upload prep-dialog of SW and you're done. The temp file will be removed and you totally avoided the hassle of copying your script out of "script addins", adding a *.txt extension, initiate the upload, browse to your file etc..

I guess you did those steps manually and just forgot to name the file correctly. It is uploaded as simple *.txt file. It's the wrong extension so SW does not find anything script related to download as it looks for attachments ending with *.js.txt, *.vbs.txt or .osp etc.

Let me know if that fixes your issue! o)

Your guess was correct, that's exactly what happened! It works now, thanks! :thumbsup:

As a heads up, we may be changing the forum software away from phpBB, which will likely impact the way this script scrapes forum threads for version information.

Nothing is set in stone yet but we're evaluating alternatives to phpBB (as well as the forum's current hosting).

Thank you for letting us know! o)

@tbone
see the error below:

2017.04.05 22:28:41 UpdateCheck(): "Command.Generic_ScriptWizard.js":
2017.04.05 22:28:42 X Download failed: Error: Getting url [Command: ScriptWizard (multipurpose scripting resources aid) - Buttons/Scripts - Directory Opus Resource Centre] failed, no internet connection?!
2017.04.05 22:28:42 W Error: 1
2017.04.05 22:28:42 W ScriptWizard update (attempt 1) failed.
2017.04.05 22:28:42 W Trying alternative download location: ScriptWizard (a multipurpose scripting resources aid) - Steax.net
2017.04.05 22:28:42 X Download failed: Error: Getting url [ScriptWizard (a multipurpose scripting resources aid) - Steax.net] failed, no internet connection?!
2017.04.05 22:28:42 W Error: 2
2017.04.05 22:28:42 W ScriptWizard update (attempt 2) failed.
2017.04.05 22:28:42 W Trying alternative download location: ScriptWizard (a multipurpose scripting resources aid) - Steax.net
2017.04.05 22:28:42 X Download failed: Error: Getting url [ScriptWizard (a multipurpose scripting resources aid) - Steax.net] failed, no internet connection?!
2017.04.05 22:28:42 W Error: 3
2017.04.05 22:28:42 E Unknown error: Getting url [ScriptWizard (a multipurpose scripting resources aid) - Steax.net] failed, no internet connection?!
2017.04.05 22:28:42 Error: Getting url [ScriptWizard (a multipurpose scripting resources aid) - Steax.net] failed, no internet connection?!

I have the latest version 0.5.9
also where can i find the documentation to use this script for my button here

Hi Vijay,
since the forum software changed, ScriptWizard is unable to parse the required information out of it.
I hope to get ScriptWizard updated within the near future, so things will get back to normal sooner or later.

What you should see is something like this though:

 09.04.2017 18:40 SW:  UpdateCheck(): "Command.Generic_ScriptWizard.js":
 09.04.2017 18:40 SW:  X   Download failed: Error: Getting url [http://resource.dopus.com/viewtopic.php?f=35&t=23179] failed, no internet connection?!
 09.04.2017 18:40 SW:  W   Error: 1
 09.04.2017 18:40 SW:  W   ScriptWizard update (attempt 1) failed.
 09.04.2017 18:40 SW:  W   Trying alternative download location: http://www.steax.net/dopus/scriptwizard.htm
 09.04.2017 18:40 SW:      No update available
 09.04.2017 18:40 SW:      The local script is uptodate
 09.04.2017 18:40 SW:  W   Local script has been modified

Here you can see how access to the former official url of ScriptWizard fails (because of a redirect to the new forum I guess). The redirect issue can be fixed but that does not make any sense currently if the new endpoint cannot be parsed anyway. The second attempt, where the alternative download location is accessed, works as expected. It tells me, there is no new version.

It looks like your DO is not setup to have access to the internet (firewall or DO-proxy-settings or something?).

Regarding your button. At this time there is no official support to alter scripts and codes in buttons (to make them update automatically). Doing this with v11 or v12 would involve a lot of cheap tricks and therefore SW kept away from it for now.

I hope this helps to clear some question marks?! Cya.. o)

2 Likes

Thanks for the info. You are right, it was a firewall error, even though DOPUS could access ftp and updates.

The links for v0.5.9 and v0.5.8 are pointing to the same link for v0.5.8. The link at the bottom of the post is pointing to v0.5.9 so I was able to update to the latest version.

Thanks, I fixed the link messup.
Probably caused by the forum update or Leos edits while cleaning up some things manually afterwards.

@Leo
Is there (still) no way to administer/edit/remove attachments in the scripting area?
No offense, just asking because I wasn't able to figure out how and where. Thx! o)

You should be able to make any edits you want now (to your own posts, of course).

But there may be something I've overlooked, since I've only tested the things I can think of from a non-admin account. What are you trying to do that the forum is blocking?

I was expecting something like the phpBB attachments panel to also edit some meta information for each. Looking again, it seems once you uploaded a file, the result is a plain link you can move around in your post without further information attached to it. So how to rename or delete an attachment e.g.?

To rename an attachment you'd have to download it, remove the link to the old one from the post, then re-attach it using a new name. There's no way to rename attachments in-place that I know of.

For adding attachments, note that you can just drag & drop them on the post editor. It's also worth noting that the URLs will look like random numbers, but when someone clicks them the files get their proper names.

Yep, ok. Thank you.

By the way, if you're thinking of parsing forum posts, the new forum lets you add .json to the url to get a raw version of the post, which is probably a lot easier to parse, and will also be generated faster.

e.g. This thread in json format.

1 Like