Error.General Installation Error for EVERY Browser, MAC OSX 10.8
Error.General Installation Error for EVERY Browser... running MAC, OS X 10.8.3 (12D78)
Try this installer http://fpdownload.macromedia.com/get/flashplayer/current/licensing/mac/install_flash_playe r_11_osx.dmg
Similar Messages
-
keep getting "general installation error" message Mac OSX 10.8.5/Safari 6.0.5 Followed all the instructions for uninstalling and clean installing. Just wont install
Make sure you have it set to "show hidden files"
Check BOTH places and you have to restart Finder
Press "Quit This" and then go to the Finder Dock icon and right click it
Select "Open"
Open TIme Machine
Go back to September 28 or earlier.
You'll see the mach_kernel file in the Mac HD directory
(I can't show it in the TM because screenshots don't work while it's open but here it is in my MAc HD)
Right click it and select "Restore to"
Then, when it goes back to Finder, choose the Mac HD directory and click OK.
It will place the mach_kernel back where it was and you can install software again
DON'T FORGET to go back and hide your files (and restart Finder) again, or you'll have a mess with the clutter of hidden files everywhere. -
I keep trying to install flash player and i have tried ALL of the troubleshooting options but i always get general installation error at 75% please help as I have noticed other people have had similar issues.
Download the offline installer
Quit your browser (Cmd+Q)
Go to: Mac HD/Library/Internet Plugins
Trash the Flash Player.plugin file from there
Go to: Mac HD/Library/Application Support
Trash the Entire Flash Player Folder
Empty the trash
Mount the DMG and install Flash Player
Relaunch your Browser
You should be good to go -
GENERAL INSTALLATION ERROR (MAC)
Okay, so like everyone else has said I'VE TRIED EVERYTHING that has been posted thus far.
I have a Mac running 10.8.5 and I can't get around this general installation error that pops up every time I'm at 50%. I do not want to download something so that I can download THIS. That's ridiculous. What can I do to have any flash player back on my computer??
I've uninstalled older version as advised (by downloading something of course), and it didn't work.
I've tried to run it through terminal
I've downloaded Firefox instead of Safari and it didn't make a difference
I've followed links to other installers that have been posted....
I'm at a loss. Please HELP.Your troubles aren't coming from Flash Player.
You're missing a file that was made visible by the 10.8.5 update. Hundreds of thousands of Mac users all over the world deleted it, not knowing what it was. It causes this when it's missing.
Download this file: "Secrets" pereference pane
And this one: mach_kernel.zip
Install Secrets, and open your System Preferences.
Open the Secrets Preference Pane, and check "Show hidden files"
You'll need to press the "Quit this" button,
and restart Finder, by right clicking the Dock icon.
Then, place the mach_kernel.zip file in the Mac HD directory,
and unzip it. You should see a "faded" mach_kernel file appear.
Trash the zip file.
Reopen your System Preferences and uncheck "Show Hidden files".
Instead of quitting Finder and relaunching it, reboot your Mac.
Your Flash Player installer won't quit anymore. -
General Installation Error, mac 10.8.2
I downloaded the latest flash player from the abode website (for mac, safari, english). Download is fine. Installation proceeds to about 50% completion and then terminates with a "General Installation Error". Here's the configuration:
Mac intel core 2 duo 2.26 GHz
OS 10.8.2
Safari 6.0.2
I downloaded the flash player uninstaller, and it reported a successful uninstall. Also checked for directories in /Library/Internet Plugins and the (Disabled) folder. No flash player components left.
Checked pop-up blocker (it's not set), system preferences (download apps from any source is checked). Also disabled norton auto-protect. Install still fails.
I'm out of ideas. Any suggestions would be greatly appreciated.There doesn't appear to be a solution to these particular error messages from Adobe. I have followed the guidance from Adobe.com (uninstalled and re-installed) and then followed the guidance in this forum post and others using the terminal route, all without luck. I have no Flash functionality (other than in Chrome) which is extremely annoying.
My setup is MacBookPro Mavericks 10.9. Firewall is off (temporarily). No virus software. No remnants of Flash as far as I can tell. Logged into a administrator account.
Here's the log for "flash" from console:
Dec 26 12:55:15 XXX kernel[0]: hfs: mounted Adobe Flash Player Installer on device disk2s2
Dec 26 12:55:15 XXX.config mds[55]: (Normal) Volume: volume:XXX ********** Bootstrapped Creating a default store:1 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Volumes/Adobe Flash Player Installer
Dec 26 12:55:41 XXX.config sudo[791]: admin : TTY=ttys000 ; PWD=/Users/admin/Desktop ; USER=root ; COMMAND=./Install Adobe Flash Player.app/Contents/MacOS/Install Adobe Flash Player –debug
Dec 26 12:56:07 XXX kernel[0]: hfs: could not initialize summary table for Flash Player
Dec 26 12:56:07 XXX kernel[0]: hfs: mounted Flash Player on device disk3s2
Dec 26 12:56:08 XXX.config Adobe Flash Player Install Manager[818]: Unexpected umask value for process: 0
Dec 26 12:56:26 XXX.config Adobe Flash Player Install Manager[818]: Install failed with error code: 11.
Dec 26 12:56:26 XXX kernel[0]: hfs: unmount initiated on Flash Player on device disk3s2
Dec 26 12:56:31 XXX.config sudo[839]: admin : TTY=ttys000 ; PWD=/Users/admin/Desktop ; USER=admin ; COMMAND=/usr/bin/open http://get.adobe.com/flashplayer/completion/aih/?exitcode=11&type=install
Many thanks in advance for your support. -
I m tried to install Flash player on Windows XP. Flash Player Version is 11. But after downloading 50% it gives me general installation error.
Contents of Flashinstall.log file are :
=O====== M/11.0.1.152 2011-10-27+13-32-01.609 ========
0000 [I] 00000010 "D:\DOCUME~1\Admin\LOCALS~1\Temp\4A.dir\InstallFlashPlayer.exe" -iv 6
0001 [W] 00001036 Software\Macromedia\FlashPlayer\SafeVersions/11.0 2
0002 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
0003 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
0004 [W] 00001036 Software\Macromedia\FlashPlayer\SafeVersions/11.0 2
0005 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
0006 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
0007 [I] 00000020 D:\WINDOWS\system32\FlashPlayerCPLApp.cpl
0008 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX/ 2
0009 [W] 00001015 D:\WINDOWS\system32\Macromed\Flash\Flash.ocx 20
0010 [I] 00000018
0011 [W] 00001015 D:\WINDOWS\system32\Macromed\Flash\Flash.ocx 20
0012 [I] 00000013 D:\WINDOWS\system32\Macromed\Flash\Flash11c.ocx
0013 [I] 00000015 D:\WINDOWS\system32\Macromed\Flash\FlashUtil11c_ActiveX.exe
0014 [I] 00000016 D:\WINDOWS\system32\Macromed\Flash\FlashUtil11c_ActiveX.dll
0015 [I] 00000019 D:\WINDOWS\system32\FlashPlayerCPLApp.cpl
=X====== M/11.0.1.152 2011-10-27+13-32-10.296 ========
=O====== M/11.0.1.152 2011-10-27+13-31-31.359 ========
0000 [I] 00000010 D:\DOCUME~1\Admin\LOCALS~1\Temp\ICD1.tmp\FP_AX_CAB_INSTALLER64.exe
0001 [I] 00000011 0
=X====== M/11.0.1.152 2011-10-27+13-32-11.781 ========
=O====== M/11.1.102.55 2011-12-06+02-53-58.796 ========
0000 [I] 00000010 "D:\Documents and Settings\Admin\Local Settings\temp\install_flash_player_32bit.exe" -dlm -install
0001 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
0002 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
0003 [F] 00001041
=X====== M/11.1.102.55 2011-12-06+02-53-59.625 ========
=O====== M/11.1.102.55 2011-12-06+02-54-43.859 ========
0000 [I] 00000010 "D:\Documents and Settings\Admin\Local Settings\temp\install_flash_player_32bit.exe" -dlm -install
0001 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
0002 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
0003 [F] 00001041
=X====== M/11.1.102.55 2011-12-06+02-54-44.984 ========
=O====== M/11.1.102.55 2011-12-06+02-54-47.578 ========
0000 [I] 00000010 "D:\Documents and Settings\Admin\Local Settings\temp\install_flash_player_32bit.exe" -dlm -install
0001 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
0002 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
0003 [I] 00000020 D:\WINDOWS\system32\FlashPlayerCPLApp.cpl
0004 [W] 00001037 SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer/ 5
0005 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
0006 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
0007 [W] 00001036 Software\Opera Software/Last CommandLine 2
0008 [W] 00001036 Software\Opera Software/Last CommandLine 2
0009 [W] 00001036 Software\Opera Software/Plugin Path 2
0010 [W] 00001036 Software\Opera Software/Plugin Path 2
0011 [I] 00000014 D:\WINDOWS\system32\Macromed\Flash\NPSWF32.dll
0012 [E] 00001031 D:\WINDOWS\system32\Macromed\Flash\NPSWF32.dll:5
=X====== M/11.1.102.55 2011-12-06+02-54-51.187 ========
=O====== M/11.1.102.55 2011-12-06+03-12-23.390 ========
0000 [I] 00000010 "D:\Documents and Settings\Admin\Local Settings\temp\install_flash_player_32bit.exe" -dlm -install
0001 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
0002 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
0003 [F] 00001041
=X====== M/11.1.102.55 2011-12-06+03-12-23.906 ========
=O====== M/11.1.102.55 2011-12-06+03-13-18.828 ========
0000 [I] 00000010 "D:\Documents and Settings\Admin\Local Settings\temp\install_flash_player_32bit.exe" -dlm -install
0001 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
0002 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
0003 [I] 00000020 D:\WINDOWS\system32\FlashPlayerCPLApp.cpl
0004 [W] 00001037 SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer/ 5
0005 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player Plugin/ 2
0006 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
0007 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
0008 [W] 00001036 Software\Opera Software/Last CommandLine 2
0009 [W] 00001036 Software\Opera Software/Last CommandLine 2
0010 [W] 00001036 Software\Opera Software/Plugin Path 2
0011 [W] 00001036 Software\Opera Software/Plugin Path 2
0012 [I] 00000014 D:\WINDOWS\system32\Macromed\Flash\NPSWF32.dll
0013 [E] 00001031 D:\WINDOWS\system32\Macromed\Flash\NPSWF32.dll:5
=X====== M/11.1.102.55 2011-12-06+03-13-20.984 ========
=O====== M/11.1.102.55 2011-12-06+14-57-15.937 ========
0000 [I] 00000010 "D:\Documents and Settings\Admin\Local Settings\temp\install_flash_player_32bit.exe" -dlm -install
0001 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
0002 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
0003 [I] 00000020 D:\WINDOWS\system32\FlashPlayerCPLApp.cpl
0004 [W] 00001037 SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer/ 5
0005 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player Plugin/ 2
0006 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
0007 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
0008 [W] 00001036 Software\Opera Software/Last CommandLine 2
0009 [W] 00001036 Software\Opera Software/Last CommandLine 2
0010 [W] 00001036 Software\Opera Software/Plugin Path 2
0011 [W] 00001036 Software\Opera Software/Plugin Path 2
0012 [I] 00000014 D:\WINDOWS\system32\Macromed\Flash\NPSWF32.dll
0013 [E] 00001031 D:\WINDOWS\system32\Macromed\Flash\NPSWF32.dll:5
=X====== M/11.1.102.55 2011-12-06+14-57-17.468 ========
=O====== M/11.1.102.55 2011-12-06+15-32-52.781 ========
0000 [I] 00000010 "D:\Documents and Settings\Admin\Local Settings\temp\install_flash_player_32bit.exe" -dlm -install
0001 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
0002 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
0003 [I] 00000020 D:\WINDOWS\system32\FlashPlayerCPLApp.cpl
0004 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player Plugin/ 2
0005 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
0006 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
0007 [W] 00001036 Software\Opera Software/Last CommandLine 2
0008 [W] 00001036 Software\Opera Software/Last CommandLine 2
0009 [W] 00001036 Software\Opera Software/Plugin Path 2
0010 [W] 00001036 Software\Opera Software/Plugin Path 2
0011 [I] 00000014 D:\WINDOWS\system32\Macromed\Flash\NPSWF32.dll
0012 [E] 00001031 D:\WINDOWS\system32\Macromed\Flash\NPSWF32.dll:5
=X====== M/11.1.102.55 2011-12-06+15-32-54.468 ========
=O====== M/11.1.102.55 2011-12-06+15-59-07.203 ========
0000 [I] 00000010 "D:\Documents and Settings\Admin\Local Settings\temp\install_flash_player_32bit.exe" -dlm -install
0001 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
0002 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
0003 [F] 00001041
=X====== M/11.1.102.55 2011-12-06+15-59-07.765 ========
=O====== M/11.1.102.55 2011-12-06+15-59-16.125 ========
0000 [I] 00000010 "D:\Documents and Settings\Admin\Local Settings\temp\install_flash_player_32bit.exe" -dlm -install
0001 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
0002 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
0003 [I] 00000020 D:\WINDOWS\system32\FlashPlayerCPLApp.cpl
0004 [W] 00001037 SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer/ 2
0005 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player Plugin/ 2
0006 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
0007 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
0008 [W] 00001036 Software\Opera Software/Last CommandLine 2
0009 [W] 00001036 Software\Opera Software/Last CommandLine 2
0010 [W] 00001036 Software\Opera Software/Plugin Path 2
0011 [W] 00001036 Software\Opera Software/Plugin Path 2
0012 [I] 00000014 D:\WINDOWS\system32\Macromed\Flash\NPSWF32.dll
0013 [E] 00001031 D:\WINDOWS\system32\Macromed\Flash\NPSWF32.dll:5
=X====== M/11.1.102.55 2011-12-06+15-59-17.578 ========
Pls can anybody help me to get out from this error.
Thanks ,
Pranav.It seems that the installer is unable to remove/replace NPSWF32.dll
Try the following:
go to http://forums.adobe.com/thread/909550 and download
the 32-bit uninstaller [save to disk]
the 32-bit installer(s) [save to disk]
close all browser windows, then run the downloaded uninstaller
restart Windows
go to C:\Windows\System32\Macromed\Flash and delete any remaining files in there
now run the downloaded installer -
What does "General Installation Error" mean?
I was attempting to install Flash Player ver. 11.9.900.117 on a MacBook Pro running Mac OS X v. 10.8.5. The installation fails with the message "General Installation Error." What is the cause of this error and how do I fix it?
I'm not sure if I deleted it or not, but having read several of the messages posted on this thread I did the on-line re-installation of the OS just in case I did unwittingly. After re-installing the OS, I'm now able to install the latest version of Flash Player.
The upshot is don't delete that mach_kernel file!
Mystery solved!
P.S. - Has anyone posted or passed this onto Apple? -
"general installation error" message each time I try and install Flashplayer 13
I cannot install the latest version of flashplayer. during the installation I keep getting a "general installation error" message.
I have un-installed my old version of flashplayer and followed all the trouble shootong tips but to no avail.
My system is a macintosh, operating with 10.8.5. Any help would be gratefully received......It should be 13.0.0.206.
Download the following:
Flash Player Plug-in (All other browsers) or http://download.macromedia.com/get/flashplayer/current/licensing/win/i nstall_flash_player_13_plugin.msi
Flash Player Uninstaller
Also, download these:
Shockwave Player Uninstaller
Shockwave Player 112 FULL installer (Other browsers)
Save all the files and close your browser.
Run the uninstallers first (both of them)
Go to: C/Windows/System32
Delete the Macromed folder.
Go to: C/Windows/SysWOW64
Delete the Macromed folder.
Open your Registry Editor (Start>Run or press the Windows key + R and type 'regedit' [minus the quotes] and click OK)
In the Registry Editor, go to:
HKEY_LOCAL_MACHINE/SOFTWARE
Delete the Macromedia folder (Right click and choose "Delete").
Go to:
HKEY_CURRENT_USER/Software and delete the Macromedia folder there too.
Close the Registry Editor and empty your recycle bin.
Run the Flash Player installer, and then the Shockwave FULL installer you downloaded. -
I am using win 10 home insider preview, build 10074. When I am trying to install VS 2015 community RC, selected Universal Windows App, it failed at
emulators for windows mobile 10.0.10069 : the installer failed. fatal error during installation. error code: -2147023293
VS file version is 14.0.5596.25192Hello EL_1980,
The error -2147023293 translated to Hex is:FFFFFFFF80070643
0x80070643 is a general error here so it is hard for us to troubleshoot. Please try download the ISO format of Visual Studio 2015 Community so that you can use the fciv.exe tool to verify the hash value. All info are listed on the VS2015 download page:
https://www.visualstudio.com/en-us/downloads/visual-studio-2015-downloads-vs.aspx
Please click first "Visual Studio 2015" tap below image.
Best regards,
Barry
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Help needed general installation error???
I am trying to install adobe reader and it will install until it is 96% then I get a general installation error.
I am running an older version of windows XP. can anyone assist me with this?
Many thanksWindows XP SP2 (32bit) is not a supported OS for installing Reader X. Please update to the latest service pack released for WIN XP i.e. SP3.
You can get more details about the Tech Specs for Reader X at:
http://www.adobe.com/products/reader/tech-specs.html -
Try to install latest version of adobe 11.0.0 but general installation error
try to install latest version but cannot because general installation error what do I have to do
You can try using the full offline Reader installer from
http://get.adobe.com/reader/enterprise/ -
the device has encountered an unexpected error. Installation error: application verification failed
I have been receiving this message over and over again when trying to publish my iOS app for the app store (I use Flash cc AIR 3.9.1.1080 for iOS and my settings are: "device testing in interpreter mode", as my app uses several swfs).
I have done everything from scratch, as recommended on other sections of the forums: new app ID from my apple developer account, new Distribution Certificates, new Distribution Provisioning Profiles and nothing works.
I can install my app on my iPad if I use the development Certificate and Provisioning Profile and everything seems OK. But as soon as I use the Distribution Certificate and Provisioning Profile get the same message:
the device has encountered an unexpected error. Installation error: application verification failed
I have done everything from the beggining over and over and nothing works. Am I the only one having this issue on Flash cc???Hi Daniel:
I´m far from being an expert on Xcode (or any code) but this is what I did and it worked:
- On Xcode go to Preferences > Accounts > select your App Developer Account, then click "view details" on the lower right corner.
- There you can see which of your "Signing Identities" (Certificates) are "Valid". You should have at least one for Development and one for Distribution.
- Below that window there are two icons which you can use to add, export or revoke a "Signing Identitie" (Certificate).
- Choose the one you want to use (Develop. or Distrib.), export it to the folder of the app you are working on and name it in such a way you can relate it to your app. Before knowing this I was exporting them using Keychain Access and I wasn´t naming them to differentiate each one properly.
- On your Apple Developer account create the Provisioning Profile for your app. I deleted any App IDs or Prov. Profs. which were useless.
- Then on my Apple Developer account I generated a Development Prov. Prof. to install and test my app on my iPad. All went fine.
- Then an Ad Hoc Prov. Prof. again to install and test my app on my iPad. All went fine.
- Then I generated the App Store Prov. Prof. and I was able to install the app on my device without the upsetting error.
- Then I uploaded the app to iTunes Connect with no problem.
These link was useful for me: https://developer.apple.com/library/ios/technotes/tn2318/_index.html#//apple_ref/doc/uid/D TS40013777-CH1-TNTAG0
You can also search for "Certificates" and "Provisioning" on Xcode help.
Good luck! -
Getting weird error: "General Photoshop error occurred".
Hi Guys,
I am trying to get the info(font, color, alignment etc.) of text kind layer in Photoshop CC. My script is as follows,
var textLayer = activeDocument.activeLayer.textItem;
var fontName = textLayer.font;
try{
var textColor = "R: " + textLayer.color.rgb.red + " G: " + textLayer.color.rgb.green + " B: " + textLayer.color.rgb.blue;
catch(e){alert(e);}
try
var textAlignment = textLayer.justification.toString();
catch(e){alert(e);}
On setting the color value R - 0, B - 0 and G - 0 or alignment 'Left' and create a text layer after this. I encountered an error
"Error: General Photshop error occurred. This functionality may not be available in this version of Photoshop.
- <no additional information available> "
If I set some other color value and other alignment and create the text and get its info, script works fine.
Or If I change the values and revert it back to 'Left' alignment and R-0, B-0 and G-0 then I am able to get the values with the above script.
I get this error at first time only and after that script works fine
I also run this script with CS5 version, Its working fine there. But I don't know why I am getting this error in CC version.
Am I doing something wrong here or Is it some issue with Photoshop CC.
Any help would be appriciated.
Thanks..Is your text layer using a layer style? If so, this routine should find the font and color in use.
var fontsInUse = [];
var colorsInUse = [];
if ( documents.length > 0 ) {
GetFontUsage( activeDocument.layers, fontsInUse );
alert( fontsInUse );
GetColorUsage( activeDocument.layers, colorsInUse );
alert( colorsInUse );
} else {
alert( "Please open a document." );
function GetFontUsage( l, f ) {
for ( var i = 0; i < l.length; i++ ) {
if ( l[i].typename == "LayerSet" ) {
GetFontUsage( l[i].layers, f );
} else if ( l[i].typename == "ArtLayer" && l[i].kind == LayerKind.TEXT ) {
try {
f.push( l[i].textItem.font );
catch(e) {
f.push( GetFontUsageFromDescriptor( l[i] ) );
function GetColorUsage( l, f ) {
for ( var i = 0; i < l.length; i++ ) {
if ( l[i].typename == "LayerSet" ) {
GetFontUsage( l[i].layers, f );
} else if ( l[i].typename == "ArtLayer" && l[i].kind == LayerKind.TEXT ) {
try {
f.push( Math.round(l[i].textItem.color.rgb.red) + ":" +
Math.round(l[i].textItem.color.rgb.green) + ":" +
Math.round(l[i].textItem.color.rgb.blue));
catch(e) {
f.push( GetColorUsageFromDescriptor( l[i] ) );
// text layer probably has a layer style
// we will try to select the layer
// pull the descriptor
// and see if we can find a font
function GetFontUsageFromDescriptor( l ) {
var layerFontName = "";
var lastActive = activeDocument.activeLayer;
activeDocument.activeLayer = l;
var ktextKeyStr = stringIDToTypeID("textKey");
var ref = new ActionReference();
ref.putProperty(charIDToTypeID('Prpr'), ktextKeyStr);
ref.putEnumerated(charIDToTypeID('Lyr '), charIDToTypeID('Ordn'),
charIDToTypeID('Trgt'));
var desc = executeActionGet(ref);
if ( desc.hasKey( ktextKeyStr ) ) {
var descText = desc.getObjectValue( ktextKeyStr );
var kparagraphStyleRangeStr = stringIDToTypeID( "paragraphStyleRange" );
if ( descText.hasKey( kparagraphStyleRangeStr ) ) {
var paraList = descText.getList( kparagraphStyleRangeStr );
var kparagraphStyleStr = stringIDToTypeID("paragraphStyle");
var paraDesc = paraList.getObjectValue( 0 );
if ( paraDesc.hasKey( kparagraphStyleStr ) ) {
var paraStyle = paraDesc.getObjectValue( kparagraphStyleStr );
var kdefaultStyleStr = stringIDToTypeID("defaultStyle");
if ( paraStyle.hasKey( kdefaultStyleStr ) ) {
var defStyle = paraStyle.getObjectValue( kdefaultStyleStr );
var kfontPostScriptNameStr = stringIDToTypeID("fontPostScriptName");
if ( defStyle.hasKey( kfontPostScriptNameStr ) ) {
layerFontName = defStyle.getString( kfontPostScriptNameStr );
activeDocument.activeLayer = lastActive;
return layerFontName;
// text layer probably has a layer style
// we will try to select the layer
// pull the descriptor
// and see if we can find a color
function GetColorUsageFromDescriptor( l ) {
var layerColor = "";
var lastActive = activeDocument.activeLayer;
activeDocument.activeLayer = l;
var ktextKeyStr = stringIDToTypeID("textKey");
var ref = new ActionReference();
ref.putProperty(charIDToTypeID('Prpr'), ktextKeyStr);
ref.putEnumerated(charIDToTypeID('Lyr '), charIDToTypeID('Ordn'),
charIDToTypeID('Trgt'));
var desc = executeActionGet(ref);
if ( desc.hasKey( ktextKeyStr ) ) {
var descText = desc.getObjectValue( ktextKeyStr );
var kparagraphStyleRangeStr = stringIDToTypeID( "paragraphStyleRange" );
if ( descText.hasKey( kparagraphStyleRangeStr ) ) {
var paraList = descText.getList( kparagraphStyleRangeStr );
var kparagraphStyleStr = stringIDToTypeID("paragraphStyle");
var paraDesc = paraList.getObjectValue( 0 );
if ( paraDesc.hasKey( kparagraphStyleStr ) ) {
var paraStyle = paraDesc.getObjectValue( kparagraphStyleStr );
var kdefaultStyleStr = stringIDToTypeID("defaultStyle");
if ( paraStyle.hasKey( kdefaultStyleStr ) ) {
var defStyle = paraStyle.getObjectValue( kdefaultStyleStr );
var kColorStr = stringIDToTypeID("color");
if ( defStyle.hasKey( kColorStr ) ) {
var colorDesc = defStyle.getObjectValue( kColorStr );
layerColor += Math.round( colorDesc.getInteger( stringIDToTypeID("red" ) ) ) + ":";
layerColor += Math.round( colorDesc.getInteger( stringIDToTypeID("green" ) ) ) + ":";
layerColor += Math.round( colorDesc.getInteger( stringIDToTypeID("blue" ) ) );
activeDocument.activeLayer = lastActive;
return layerColor; -
Org.xml.sax.SAXException: Error:General Schema Error
I am getting the error below. Any clues/workarounds? I am
using WL 6.1.
Thanks in advance,
Eva
The following files are below:
Validate.java
BMDefaultHandler.java
validate.xml
validate.xsd
org.xml.sax.SAXException: Error:General Schema Error: Grammar with uri:http://schemas.xmlsoap.org/soap/envelope/
, can not be
found; schema namespace maybe wrong:
Xerces supports schemas from the "http://www.w3.org/2001/XMLSchema" namespace
or
the instance document's namespace may not match the targetNamespace of the schema.
at
com.bluemartini.xml.BMDefaultHandler.error(BMDefaultHandler.java:32)
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1249)
at
org.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLEr
ror(XMLValidator.java:1821)
at
org.apache.xerces.validators.common.XMLValidator.validateElementAndAttr
ibutes(XMLValidator.java:3232)
at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLVa
lidator.java:1229)
at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentS
canner.java:1806)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispat
ch(XMLDocumentScanner.java:949)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentSca
nner.java:381)
at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.ja
va:195)
at
javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:191)
at com.bluemartini.test.Validate.main(Validate.java:32)
===Validate.java
package com.bluemartini.test;
import java.io.*;
import org.w3c.dom.*;
import com.bluemartini.xml.*;
// JAXP imports
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.ParserConfigurationException;
* Sample test case.
* Eva Flora
public class Validate {
public static void main(String[] argv) {
try {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setNamespaceAware(true);
factory.setValidating(true);
factory.setAttribute("http://xml.org/sax/features/validation", Boolean.TRUE);
factory.setAttribute("http://apache.org/xml/features/validation/schema",
Boolean.TRUE);
DocumentBuilder builder = factory.newDocumentBuilder();
BMDefaultHandler bmErrorHandler = new BMDefaultHandler();
builder.setErrorHandler(bmErrorHandler);
File temp = new File("validate.xml");
Document doc = builder.parse(temp);
} catch (Exception e) {
e.printStackTrace();
===BMDefaultHandler.java
package com.bluemartini.xml;
import com.bluemartini.dna.*;
import org.xml.sax.helpers.DefaultHandler;
import org.xml.sax.*;
public class BMDefaultHandler extends
DefaultHandler
public BMDefaultHandler()
public void warning(SAXParseException spe)
throws SAXException
System.out.println("Warning: " + spe.getMessage());
public void error(SAXParseException spe)
throws SAXException
throw new SAXException("Error:" + spe.getMessage());
public void fatalError(SAXParseException spe)
throws SAXException
throw new SAXException("Fatal Error: " + spe.getMessage());
===validate.xml
<?xml version="1.0" encoding="UTF-8"?>
<soapns:Envelope xmlns:soapns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" xmlns:test="http://www.test.com"
xsi:noNamespaceSchemaLocation="validate.xsd">
<soapns:Header/>
<soapns:Body>
<test:GWSMapRequestMessage>
</test:GWSMapRequestMessage>
</soapns:Body>
</soapns:Envelope>
===validate.xsd
<schema xmlns="http://www.w3.org/2000/10/XMLSchema">
<element name="GWSMapRequestMessage" type="TestType"/>
<complexType name="TestType">
</complexType>
</schema>I am getting the error below. Any clues/workarounds? I am
using WL 6.1.
Thanks in advance,
Eva
The following files are below:
Validate.java
BMDefaultHandler.java
validate.xml
validate.xsd
org.xml.sax.SAXException: Error:General Schema Error: Grammar with uri:http://schemas.xmlsoap.org/soap/envelope/
, can not be
found; schema namespace maybe wrong:
Xerces supports schemas from the "http://www.w3.org/2001/XMLSchema" namespace
or
the instance document's namespace may not match the targetNamespace of the schema.
at
com.bluemartini.xml.BMDefaultHandler.error(BMDefaultHandler.java:32)
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1249)
at
org.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLEr
ror(XMLValidator.java:1821)
at
org.apache.xerces.validators.common.XMLValidator.validateElementAndAttr
ibutes(XMLValidator.java:3232)
at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLVa
lidator.java:1229)
at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentS
canner.java:1806)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispat
ch(XMLDocumentScanner.java:949)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentSca
nner.java:381)
at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.ja
va:195)
at
javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:191)
at com.bluemartini.test.Validate.main(Validate.java:32)
===Validate.java
package com.bluemartini.test;
import java.io.*;
import org.w3c.dom.*;
import com.bluemartini.xml.*;
// JAXP imports
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.ParserConfigurationException;
* Sample test case.
* Eva Flora
public class Validate {
public static void main(String[] argv) {
try {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setNamespaceAware(true);
factory.setValidating(true);
factory.setAttribute("http://xml.org/sax/features/validation", Boolean.TRUE);
factory.setAttribute("http://apache.org/xml/features/validation/schema",
Boolean.TRUE);
DocumentBuilder builder = factory.newDocumentBuilder();
BMDefaultHandler bmErrorHandler = new BMDefaultHandler();
builder.setErrorHandler(bmErrorHandler);
File temp = new File("validate.xml");
Document doc = builder.parse(temp);
} catch (Exception e) {
e.printStackTrace();
===BMDefaultHandler.java
package com.bluemartini.xml;
import com.bluemartini.dna.*;
import org.xml.sax.helpers.DefaultHandler;
import org.xml.sax.*;
public class BMDefaultHandler extends
DefaultHandler
public BMDefaultHandler()
public void warning(SAXParseException spe)
throws SAXException
System.out.println("Warning: " + spe.getMessage());
public void error(SAXParseException spe)
throws SAXException
throw new SAXException("Error:" + spe.getMessage());
public void fatalError(SAXParseException spe)
throws SAXException
throw new SAXException("Fatal Error: " + spe.getMessage());
===validate.xml
<?xml version="1.0" encoding="UTF-8"?>
<soapns:Envelope xmlns:soapns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" xmlns:test="http://www.test.com"
xsi:noNamespaceSchemaLocation="validate.xsd">
<soapns:Header/>
<soapns:Body>
<test:GWSMapRequestMessage>
</test:GWSMapRequestMessage>
</soapns:Body>
</soapns:Envelope>
===validate.xsd
<schema xmlns="http://www.w3.org/2000/10/XMLSchema">
<element name="GWSMapRequestMessage" type="TestType"/>
<complexType name="TestType">
</complexType>
</schema> -
Org.xml.sax.SAXException: Error:General Schema Error: Grammar
I am getting the error below. Any clues/workarounds? I am
using WL 6.1.
Thanks in advance,
Eva
The following files are below:
Validate.java
BMDefaultHandler.java
validate.xml
validate.xsd
org.xml.sax.SAXException: Error:General Schema Error: Grammar with uri:http://schemas.xmlsoap.org/soap/envelope/
, can not be
found; schema namespace maybe wrong:
Xerces supports schemas from the "http://www.w3.org/2001/XMLSchema" namespace
or
the instance document's namespace may not match the targetNamespace of the schema.
at
com.bluemartini.xml.BMDefaultHandler.error(BMDefaultHandler.java:32)
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1249)
at
org.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLEr
ror(XMLValidator.java:1821)
at
org.apache.xerces.validators.common.XMLValidator.validateElementAndAttr
ibutes(XMLValidator.java:3232)
at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLVa
lidator.java:1229)
at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentS
canner.java:1806)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispat
ch(XMLDocumentScanner.java:949)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentSca
nner.java:381)
at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.ja
va:195)
at
javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:191)
at com.bluemartini.test.Validate.main(Validate.java:32)
===Validate.java
package com.bluemartini.test;
import java.io.*;
import org.w3c.dom.*;
import com.bluemartini.xml.*;
// JAXP imports
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.ParserConfigurationException;
* Sample test case.
* Eva Flora
public class Validate {
public static void main(String[] argv) {
try {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setNamespaceAware(true);
factory.setValidating(true);
factory.setAttribute("http://xml.org/sax/features/validation", Boolean.TRUE);
factory.setAttribute("http://apache.org/xml/features/validation/schema",
Boolean.TRUE);
DocumentBuilder builder = factory.newDocumentBuilder();
BMDefaultHandler bmErrorHandler = new BMDefaultHandler();
builder.setErrorHandler(bmErrorHandler);
File temp = new File("validate.xml");
Document doc = builder.parse(temp);
} catch (Exception e) {
e.printStackTrace();
===BMDefaultHandler.java
package com.bluemartini.xml;
import com.bluemartini.dna.*;
import org.xml.sax.helpers.DefaultHandler;
import org.xml.sax.*;
public class BMDefaultHandler extends
DefaultHandler
public BMDefaultHandler()
public void warning(SAXParseException spe)
throws SAXException
System.out.println("Warning: " + spe.getMessage());
public void error(SAXParseException spe)
throws SAXException
throw new SAXException("Error:" + spe.getMessage());
public void fatalError(SAXParseException spe)
throws SAXException
throw new SAXException("Fatal Error: " + spe.getMessage());
===validate.xml
<?xml version="1.0" encoding="UTF-8"?>
<soapns:Envelope xmlns:soapns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" xmlns:test="http://www.test.com"
xsi:noNamespaceSchemaLocation="validate.xsd">
<soapns:Header/>
<soapns:Body>
<test:GWSMapRequestMessage>
</test:GWSMapRequestMessage>
</soapns:Body>
</soapns:Envelope>
===validate.xsd
<schema xmlns="http://www.w3.org/2000/10/XMLSchema">
<element name="GWSMapRequestMessage" type="TestType"/>
<complexType name="TestType">
</complexType>
</schema>I guess the problem is due to the schema namespace
you are using.
xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
pls try with :
"http://www.w3.org/2001/XMLSchema"
regards,
-manoj
"Eva Flora" <[email protected]> wrote in message
news:[email protected]...
I am getting the error below. Any clues/workarounds? I am
using WL 6.1.
Thanks in advance,
Eva
The following files are below:
Validate.java
BMDefaultHandler.java
validate.xml
validate.xsd
org.xml.sax.SAXException: Error:General Schema Error: Grammar with
uri:http://schemas.xmlsoap.org/soap/envelope/
, can not be
found; schema namespace maybe wrong:
Xerces supports schemas from the "http://www.w3.org/2001/XMLSchema"
namespace
or
the instance document's namespace may not match the targetNamespace of the
schema.
at
com.bluemartini.xml.BMDefaultHandler.error(BMDefaultHandler.java:32)
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1249)
at
org.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLEr
ror(XMLValidator.java:1821)
at
org.apache.xerces.validators.common.XMLValidator.validateElementAndAttr
ibutes(XMLValidator.java:3232)
at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLVa
lidator.java:1229)
at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentS
canner.java:1806)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispat
ch(XMLDocumentScanner.java:949)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentSca
nner.java:381)
at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.ja
va:195)
at
javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:191)
at com.bluemartini.test.Validate.main(Validate.java:32)
===Validate.java
package com.bluemartini.test;
import java.io.*;
import org.w3c.dom.*;
import com.bluemartini.xml.*;
// JAXP imports
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.ParserConfigurationException;
* Sample test case.
* Eva Flora
public class Validate {
public static void main(String[] argv) {
try {
DocumentBuilderFactory factory =
DocumentBuilderFactory.newInstance();
factory.setNamespaceAware(true);
factory.setValidating(true);
factory.setAttribute("http://xml.org/sax/features/validation",
Boolean.TRUE);
factory.setAttribute("http://apache.org/xml/features/validation/schema",
Boolean.TRUE);
DocumentBuilder builder = factory.newDocumentBuilder();
BMDefaultHandler bmErrorHandler = new BMDefaultHandler();
builder.setErrorHandler(bmErrorHandler);
File temp = new File("validate.xml");
Document doc = builder.parse(temp);
} catch (Exception e) {
e.printStackTrace();
===BMDefaultHandler.java
package com.bluemartini.xml;
import com.bluemartini.dna.*;
import org.xml.sax.helpers.DefaultHandler;
import org.xml.sax.*;
public class BMDefaultHandler extends
DefaultHandler
public BMDefaultHandler()
public void warning(SAXParseException spe)
throws SAXException
System.out.println("Warning: " + spe.getMessage());
public void error(SAXParseException spe)
throws SAXException
throw new SAXException("Error:" + spe.getMessage());
public void fatalError(SAXParseException spe)
throws SAXException
throw new SAXException("Fatal Error: " + spe.getMessage());
===validate.xml
<?xml version="1.0" encoding="UTF-8"?>
<soapns:Envelope xmlns:soapns="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
xmlns:test="http://www.test.com"
xsi:noNamespaceSchemaLocation="validate.xsd">
<soapns:Header/>
<soapns:Body>
<test:GWSMapRequestMessage>
</test:GWSMapRequestMessage>
</soapns:Body>
</soapns:Envelope>
===validate.xsd
<schema xmlns="http://www.w3.org/2000/10/XMLSchema">
<element name="GWSMapRequestMessage" type="TestType"/>
<complexType name="TestType">
</complexType>
</schema>
[att1.html]
Maybe you are looking for
-
Last night, WiFi connection dropped and now it's a nightmare...
Last night, my iPad2 suddenly became unable to detect the router form more than about six feet away. It's been working fine since it was purchased just before Christmas, however now, even sitting in the same room about three feet away, it drops from
-
Dear Experts During Outgoing Payment I am entering check no Manually and tick the manual check box and then i printthe check no from the check for payment and print the check then system asking for print check with next check no so that is wrong and
-
Where to start in Oracle Apps R12
Hi I am completely new in Oracle Apps. I have lot of experience in Microsoft technologies (SQL Server, .Net) but never worked in Oracle Apps before. Now trying to learn it. I installed Oracle Apps R12 on a virtual linux machine for learning. I select
-
Hello all- This is much more a SQL Server question than a ColdFusion question- but I'm not using Transact SQL, so the SQL Server resources aren't really telling me anything I need to know. I'm using FREETEXT for full-text searching on SQL Server 2000
-
My comment is coming a little late in the game but it's something that has bugged me since OS 9. If I remember way back when, when I saved a document with the "Save as" command, one would get a drop down window and when one clicked Save, the file wou