Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: tonyvdb on January 11, 2016, 12:22:47 AM

Title: "unable to open your tool"
Post by: tonyvdb on January 11, 2016, 12:22:47 AM
So after installing os3.1 and upgrading the rom to 3.1 there seems to be an issue with some of my programs. They come up with "unable to open your tool 'xxxx'" what gives?
Title: Re: "unable to open your tool"
Post by: kolla on January 11, 2016, 01:01:35 AM
Can be a whole range of things. Have you tried debugging with SnoopDOS?
Title: Re: "unable to open your tool"
Post by: tonyvdb on January 11, 2016, 01:04:53 AM
Ive never used as I've not heard of snoopDos
Title: Re: "unable to open your tool"
Post by: Oldsmobile_Mike on January 11, 2016, 01:21:57 AM
Check the icon properties. You'd need more specifics. For example, if it says "Unable to open SYS:Utilities/More" when your More program (a text viewer) is in SYS:C. Just an example. ;)
Title: Re: "unable to open your tool"
Post by: tonyvdb on January 11, 2016, 01:40:10 AM
For example if I try to run the program protracker, it says "unable to open your tool 'protracker' " it's happening with a few of my programmes and games but if I put in the floppy and click on the protracker icon on the disk it loads just fine. If I copy the file back over to the hard drive it does the same again.
Title: Re: "unable to open your tool"
Post by: Oldsmobile_Mike on January 11, 2016, 02:22:01 AM
Hummm.  Have you been copying or changing icons?  I wonder if their icon type is not set correctly?

See the chart in the first comment of this thread:

http://www.amiga.org/forums/showthread.php?t=68276

If a "Tool" icon got changed to a "Project" icon, for example.  But I'd still start by checking your default tools...
Title: Re: "unable to open your tool"
Post by: tonyvdb on January 11, 2016, 02:36:28 AM
The only icons I've changed is the hard disk icons (system, work, games, and so on)
Title: Re: "unable to open your tool"
Post by: Acill on January 11, 2016, 02:38:29 AM
It does sound like icons have been replaced and not just updated. You can verify this as mentioned by looking in the icon info when you right click on it.
Title: Re: "unable to open your tool"
Post by: kolla on January 11, 2016, 08:19:06 AM
Could also simply be protection flag, these tend to get messed up when copying from "alien media" such CDs etc - are both R and E set?
Title: Re: "unable to open your tool"
Post by: scuzzb494 on January 11, 2016, 05:40:41 PM
Quote from: tonyvdb;801919
The only icons I've changed is the hard disk icons (system, work, games, and so on)


The reason Protracker runs from the floppy is because the tool knows where all the associated files are. Associations like these can be assigned to get over the issue. The later version of the OS also could replace your C folder and so you lose a lot of the tools needed. You may have a folder called OLD somewhere lurking in Workbench.

Just get SnoopDOS off Aminet and run it. The tool lets you see which libraries, tools etc that fail to open. Hopefully you also have DOpus so you can check to see which tools reside in say in your C drawer.

I get this when I try to use stuff off my OS3 Amiga with the OS3.9 machine. Even the simple stuff like 'more' are not in the folder. These tools get loaded in when you install the programs. I doubt it is an assign issue though you may also want to check if your user-startup has been changed.

Just a tip.. when you do change anything just make a back-up of your Workbench partition. Its so small you can probably put a copy in your Work partition. And then use DOpus to copy back all your lost tools, libraries etc. Also keeps a copy of your user-startup.

I had an issue with 3.1 once on a 4000 which I have where it installed the Workbench in a secondary folder in my original Workbench partition. And I did get all these problems.

Last tip and that is to keep your own Amiga Repository of every tool and library that you have ever used. Always useful to drop in a disk and replace the lost file. Thats what I do when I get one of these error messages. I also tend to reinstall the programs. Gives them a healthy new lease of life.

All good fun.
Title: Re: "unable to open your tool"
Post by: tonyvdb on January 12, 2016, 03:34:49 AM
Ok, found something interesting. If I put the programs that don't run in my work partition they work fine but if they ar in any other partition they give me the error.
Thoughts?
Title: Re: "unable to open your tool"
Post by: Oldsmobile_Mike on January 12, 2016, 04:09:22 AM
Yes.  It still could be multiple things, and SnoopDos would help, but I'd start by looking at what your icon properties are.

Watch this video.  I made it just for you.  ;)

https://www.youtube.com/watch?v=tR_-7dzL6oE
Title: Re: "unable to open your tool"
Post by: paul1981 on January 12, 2016, 11:38:36 AM
Quote from: Oldsmobile_Mike;801962
Yes.  It still could be multiple things, and SnoopDos would help, but I'd start by looking at what your icon properties are.

Watch this video.  I made it just for you.  ;)

https://www.youtube.com/watch?v=tR_-7dzL6oE


Mike, you either have a HUGE display or extremely tiny hands! :lol:
Title: Re: "unable to open your tool"
Post by: tonyvdb on January 12, 2016, 03:09:32 PM
Thanks for the video, Remember Im using the A2000 with workbench 3.1 so I dont have all the extra information when I look at the icon info. I will look at it tonight once I get home.
I ran SnoopDos and nothing came up when i tried to load the programs with the error. Could It be a problem with how I set up those drive partitions? Remember my Work partition loads these programs fine if i place them in Work.
Title: Re: "unable to open your tool"
Post by: Oldsmobile_Mike on January 12, 2016, 04:41:35 PM
Post some screenshots of what you see when you look at the icon properties, especially the "default tool" section.
Title: Re: "unable to open your tool"
Post by: Oldsmobile_Mike on January 12, 2016, 04:54:10 PM
Quote from: paul1981;801975
Mike, you either have a HUGE display or extremely tiny hands! :lol:

Um, it's pretty big. #TWSS?  :lol:
Title: Re: "unable to open your tool"
Post by: tonyvdb on January 13, 2016, 12:29:42 AM
Here you go, a screenshot of what is happening...
Title: Re: "unable to open your tool"
Post by: Oldsmobile_Mike on January 13, 2016, 01:32:37 AM
Aaah!  It appears you've changed the icon type of your Music: partition from a disk into a Tool.  :(

Right-click and get the properties for any of your other partitions (assuming any of the others do still work).  You should be able to see the difference.

Edit, hold on, I'm still having a hard time understanding your screenshot.  So you have a partition called "Music:", and inside that you have a program called "PT315", is that correct?  Do you have Dopus or any other file manager utility installed?  If not, drop down to the shell and get a directory listing of Music:.  You might be missing the file for PT315 - in other words, you have the .info icon file, but not the program itself.  Or the protection bits for it got changed.

Do this:  drop down to the shell and type this, and post a screenshot:

Code: [Select]
list music:
Title: Re: "unable to open your tool"
Post by: tonyvdb on January 13, 2016, 01:35:34 AM
How do I undo that or at least fix it? I can just copy everything to my work drawer if need be temporarily
Ok, maybe you see that screenshot wrong, the (tool) is the protracker icon not the music partition.
Title: Re: "unable to open your tool"
Post by: tonyvdb on January 13, 2016, 01:52:14 AM
Yes that is the protracker program and that is all there is for the program. There is nothing else with it even on the floppy and both the floppy and the one I have in work work just fine. Other files are doing this also in games directory as well. I get the same message.
Title: Re: "unable to open your tool"
Post by: Oldsmobile_Mike on January 13, 2016, 02:03:37 AM
Side thought:  are you using a mechanical hard drive or a CF or similar?  Possible your hard drive might be beginning to fail?

Try dragging the PT315 icon into RAM: and running it from there.  Any difference?

For the heck of it, I just downloaded PT315 from Aminet.  Runs fine for me, but my goodness, is that a strange interface.  ;)
Title: Re: "unable to open your tool"
Post by: Oldsmobile_Mike on January 13, 2016, 02:30:23 AM
I was able to replicate your error by mucking up the protection bits on the file.  This can also happen accidentally (for example, when copying a file).  Please post a directory listing to verify if this is the issue you're having.  See attached screenshot!  :)
Title: Re: "unable to open your tool"
Post by: tonyvdb on January 13, 2016, 02:59:48 AM
Just watching a tv show with the wife, I'll get back to this later. Ya ya I know my priorities are in the wrong place ;)
Title: Re: "unable to open your tool"
Post by: tonyvdb on January 13, 2016, 03:25:36 AM
Ok here is the shell Music:
Title: Re: "unable to open your tool"
Post by: Oldsmobile_Mike on January 13, 2016, 03:46:37 AM
Hrm.  If you drag PT315 to RAM:, it runs?
Title: Re: "unable to open your tool"
Post by: tonyvdb on January 13, 2016, 03:48:20 AM
Yes
What is the maximum size a partition can be on OS3.1?
Title: Re: "unable to open your tool"
Post by: Oldsmobile_Mike on January 13, 2016, 03:56:04 AM
Quote from: tonyvdb;802028
Yes
What is the maximum size a partition can be on OS3.1?

Good thread on that here:

http://www.amiga.org/forums/showthread.php?t=50628

(esp. the answers from Thomas)

How is your drive partitioned, and what file system?  Are you getting file transfer errors or file corruption?  Or just that one error message?  I was under the assumption that everything was working well, except for that one error message?
Title: Re: "unable to open your tool"
Post by: tonyvdb on January 13, 2016, 03:59:49 AM
Just that one error, I used the updated FFS that's on the amigakit,s supplied OS3.1 install disks.
My system partition is only 300mb but work is just under 1gb and so are the others.

Edit: looks like I went over the 4gb limit so I removed compleatly the two partitions that went over that size. Didn't have anything on them anyhow.

So should I reformat the rest of the partitions just in case they got messed up?
Title: Re: "unable to open your tool"
Post by: Oldsmobile_Mike on January 13, 2016, 04:20:50 AM
Quote from: tonyvdb;802030
Edit: looks like I went over the 4gb limit so I removed compleatly the two partitions that went over that size. Didn't have anything on them anyhow.

So should I reformat the rest of the partitions just in case they got messed up?

Hate to say it, but yes, personally, I would.  Better safe to do it now than when you encounter more weird errors in a week or a month.  Thomas could probably give you a better answer but I haven't seen him on here in a little while...
Title: Re: "unable to open your tool"
Post by: tonyvdb on January 14, 2016, 02:39:53 PM
well, I did a full reinstall of the hard drive including the OS and now the problem is in the work partition as well. I give up on this drive. Im going to dig up another drive and try it tomorrow. Something is strange here.
Title: Re: "unable to open your tool"
Post by: Thomas on January 14, 2016, 03:45:30 PM
Quote from: tonyvdb;801961
Ok, found something interesting. If I put the programs that don't run in my work partition they work fine but if they ar in any other partition they give me the error.
Thoughts?



Could be a MaxTransfer problem. The ProTracker executable is bigger than 128K. If you try to load it from a partition with MaxTransfer > 128K on the internal IDE bus, the file is corrupted and cannot be loaded as a program.

Files are also currupted during write, so after correcting MaxTransfer you have to copy all files bigger than 128K again.
Title: Re: "unable to open your tool"
Post by: tonyvdb on January 14, 2016, 03:48:48 PM
Quote from: Thomas;802132


Files are also currupted during write, so after correcting MaxTransfer you have to copy all files bigger than 128K again.


Is this a setting that I can change during the initial setup of the partitions?
Title: Re: "unable to open your tool"
Post by: Oldsmobile_Mike on January 14, 2016, 04:02:01 PM
He's using an A2091 with SCSI, not IDE, right?
Title: Re: "unable to open your tool"
Post by: tonyvdb on January 14, 2016, 04:06:13 PM
Quote from: Oldsmobile_Mike;802135
He's using an A2091 with SCSI, not IDE, right?


Yes I am
Title: Re: "unable to open your tool"
Post by: Thomas on January 14, 2016, 04:36:44 PM
Does the program work if you run it from the DOS shell?

Code: [Select]

3.System 3.1:> cd music:
3.Music:> pt315


Quote from: tonyvdb;802133
Is this a setting that I can change during the initial setup of the partitions?


Yes, it should be set in HDToolbox when creating a partition. But for SCSI the limit is 32 MB or even more rather than 128 KB.
Title: Re: "unable to open your tool"
Post by: tonyvdb on January 14, 2016, 05:16:17 PM
Ill have a look tonight when Im home
Title: Re: "unable to open your tool"
Post by: tonyvdb on January 16, 2016, 09:08:55 PM
So I just swapped out tha drive and put in a smaller 2.6gb drive and everything is working properly now. It must have been something with the former drives size being 9.1 gb although I did not use anything outside of the 4gb limit.