webForumDet fria alternativet

Fel av typen -199

1 svar · 328 visningar · startad av Erik Juhlin

Erik JuhlinMedlem sedan maj 200010 687 inlägg
#1

Varje gång jag försöker starta Sherlock eller Adobe Photoshop så kommer det upp ett meddelande där det står "kunde inte öppnas, ett fel av typen -199 inträffade".
Vad är fel och hur fixar man det?

------------------
/Erik
www.juhlin.nu /sk8files/ /mp2d/

CyberPetMedlem sedan dec. 19996 588 inlägg
#2

-199 är ett så kallat "Resource Manager Error" och utläses så här:

-199 mapReadErr Map inconsistent with operation

Enligt programmet Black & Bleu betyer detta (ids inte översätta):

The Resource part of the file you are trying to juse is "Locked". That is, the resources can't be changed. However, the application you are using is trying to change them anyway. When this happens, the Resource Manager returns this error to the application.

Resources are an interesting part of the Mac. Each and every file that you have on your Mac can contain both data and recourses. Not all do however. As an example, consider a file that is creaated using SimpleText. If you just enter text into the file then the file only contains "data". On the other hand, let's say that you mark some of the text as "Bold". This action creates a resource in the file that keeps track of where the "Bold" text occurs and allows SimpleText to display it back to you as "Bold" the next time you visit the file.

Resources can be used for many other things as well but you don't have to concern yourself with what those things might be. Just be aware that resources CAN exist inside files.

What do do
The file you are trying to change has its resources marked as "Read Only". To gain access to the resource part of the file, you will need a resource editor such as ResEdit (available from Apple as a free download).

With such a tool, you can change the file's resource status from "Read Only" to "Modifiable". Note that this is similar to marking a file as "Locked" in the Finder but the "Locked" check box that the Finder has doesn't affect the protection of the resource part of the file. They are seperate from eachother.

Unless you can change the protection status of the resource part of the file, you will likely continute to get this error in the future.

Identifying which file to change can be trickier. But start with any Preferences files associated with the application that is returning the error. Then work through any file that might be touched as you use the application. Sooner or later, you will find the file that is causing the error.

Jag tolkar det som att du bör först prova att radera Sherlocks programinställningsfil (kan vara korrupt) och gäller samma sak Photoshop så raderar du programinställningsfilen för denna också. Funkar det fortfarande inte är det bara att installera om Sherlock och Photoshop. För att börja tramsa i ResEdit verkar vara jobbigt, då är det nästan smidigare att installera om systemet som är mest troligt det som ställer till med problemet.

------------------
/Petra
Veni, Vidi, Visa - Jag kom, jag såg, jag handlade

135 ms totalt · 3 externa anrop · v20260731065814-full.fb544a5a
0 ms — hämta forumlista (cache)
0 ms — hämta statistik (cache)
132 ms — hämta tråd, inlägg och bilagor (db)