ITunes got an error: An error of type 9037 has occurred

My playlist sometimes produces this error on play from a Applescript:
"iTunes got an error: An error of type 9037 has occurred"
It happens if it is a smart playlist or a playlist. I thought it may be due a bad podcast reference as there was one mp3 podcast file that couldn't be found.
Any assistance in how to solve this or how to investigate further would be greatly appreciated.
Jeff

Hello Mowri,
Well, I think that the 'file specication' problem is another story and is not the cause of error -10661 because kLSExecutableIncorrectFormat is to be thrown BEFORE the script is run.
As for 'file specification' (typeFSS), it has been deprecated under OSX.
Perhaps 10.6 has finished it.
Instead you can use 'POSIX file' (typeFileURL) or 'file' (typeFile) for both existing and non-existing file system object. And 'alias' (typeAlias) for existing file system object.
(Note that 'file' (typeFile) cannot be used by itself for some reason but only in conjunction with command.)
For example, if you're using 'file specification' for 'open for access' command such as -
set hfspath to "HFS:path:to:new file"
set fss to hfspath as file specification -- # 'file specification' (typeFSS) is deprecated
open for access fss with write permission
you may use 'file' such as -
set hfspath to "HFS:path:to:new file"
--set f to hfspath as file -- # you cannot do this for some reason
--set f to file hfspath -- # NG either
open for access file hfspath with write permission -- # 'file' (typeFile) is OK in command parameter
or 'POSIX file' such as -
set posixpath to "/POSIX/path/to/new file"
set furl to posixpath as POSIX file -- # 'POSIX file' (typeFileURL) is OK
open for access furl with write permission
Hope this may help,
H
Message was edited by: Hiroto (fixed typo)

Similar Messages

  • Applescript with mysql problem (An error of type 1 has occured)

    Hi all!
    I'm quite new to scripting with applescript...
    Currently I'm trying to get applescript to connect to a remote mysql-database, and execute a insert-command.
    All is working fine, when I just use a select-command.
    But when I try to use my insert-query, I get this error:
    "An error of type 1 has occured".
    I've googled high and low, but cant seem to find out either if this is mysql returning the error-code or if it's applescript returning it.
    set mySQLList to {"/usr/local/mysql-5.1.30-osx10.5-x86/bin/", "/Library/mysql-5.1.30-osx10.5-x86/bin"}
    repeat with i from 1 to the count of mySQLList
         try
              set theResult to do shell script (item i of mySQLList) & "mysql -V"
              set gPathToMySQL to (item i of mySQLList)
              set haveFound to true
              exit repeat
         end try
    end repeat
    set gmySQLCommand to gPathToMySQL & "mysql"
    set theHost to "server"
    set theUser to "username"
    set thePassword to "password"
    set thePort to "3306"
    set theDatabase to "database"
    set theTable to "recivedMail"
    set theLoginString to " -h " & theHost & " -u " & theUser & "  --password=" & thePassword
    set dataBaseString to " -D " & "'" & theDatabase & "'"
    --set theCommand to gmySQLCommand & theLoginString & dataBaseString & " -e \"" & "select count(*) from recivedMail;" & "\""
    set theCommand to gmySQLCommand & theLoginString & dataBaseString & " -e \"" & "INSERT INTO database.recivedMail (sentTo,ticket,dateRecived) VALUES ('[email protected]', 'en ticket', '2009-01-21 17:15:56'); " & "\""
    -- set theCommand to gmySQLCommand & theLoginString & dataBaseString & " -e \"" & "SELECT COUNT(*) FROM recivedMail;" & "\""
    set theResult to ""
    --display dialog theCommand
    try
         set theResult to do shell script theCommand
    on error errMsg
         display dialog errMsg
    end try
    return theResult
    can someone here help me out?

    I just had the same problem you described below. I did some searching on the subject in the forums and there seems to be an issue with A.Pack on dual processor machines. I kept getting errors until I shut one of the processors off. The encoding went thru on the first attempt after that.
    There is a system preference pane called Processor that will allow you to shut off one of the processors. Then launch A.Pack and encode. I believe this preference pane is installed when you install the developer software with xcode. The developer software can be found on the Tiger install disc.
    Also, they have done away with A.Pack and this issue in DVDSP 4. Apparently A.Pack is integrated somehow into Compressor.
    Hope this helps. Good luck.
    Dual 1.25GHz   Mac OS X (10.4.3)   1.25GB Ram 22" Cinema & 17" Acer

  • CS5 won't start - Error - "An unexpected and unrecoverable problem has occurred."

    I have a new MacBook Pro running Yosemite 10.10.1.  I use Lightroom 5 a lot but rarely use Photoshop.
    When i click on Photoshop CS5, I get an error message:  "Error - "An unexpected and unrecoverable problem has occurred.  Photoshop will now exit."
    I tried reinstalling it from the original CD but encounter the same error.  Any ideas as to what I may be doing wrong and how to fix it would be appreciated.  Thank you.

    Do a backup, preferably 2.
    Revert to a Previous OS X
    Revert Yosemite to Mavericks

  • LabVIEW FPGA: An internal software error in the LabVIEW FPGA Module has occurred

    Hi,
    I am trying to build a LabView FPGA VI. During compilation, I always get error stating "LabVIEW FPGA:  An internal software error in the LabVIEW FPGA Module has occurred.  Please contact National Instruments technical support at ni.com/support".  At the time, comiplation process is almost at the end.  "Final Timing (place and route)" shows as completed. When Checked the Xilinx log session, at the end it states that "  Process "Generate Programming File" completed successfully". However, I do not see any generated bitfile.
    When clicked on error details, it shows following: 
    LabVIEW: An unknown error occurred.
    Error -2629 occurred at Error occurred while loading XML string. Invoke Node in niFpgaXml_PrettyPrint.vi->niFpgaWriteBitfileXml_Core.vi->niFpgaCompileWorker_CreateBitfile.vi->niFpgaCompileWorker_JobComplete.vi->niFpgaCompile_Worker.vi:6460001
    Possible reason(s):
    LabVIEW: An unknown error occurred.
    I tried multiple times but so far no luck to generate bitfile for this VI.  What could be wrong here?
    I am using Labview 2013

    Hi Mark,
    Here is the device utilization Summary. My development system is running with Windows-7 (32 bit) with 3GB RAM and Labview 2013. 
    Device Utilization
    Total Slices: 90.0% (11970 out of 13300)
    Slice Registers: 40.7% (43258 out of 106400)
    Slice LUTs: 71.6% (38103 out of 53200)
    DSP48s: 1.4% (3 out of 220)
    Block RAMs: 22.1% (31 out of 140)
    Timing
    40 MHz Onboard Clock
    : 40.00 MHz (57.90 MHz maximum)
    80MHz (Used by non-diagram components)
    : 80.00 MHz (100.19 MHz maximum)
    --WillsG

  • OPATCH_JAVA_ERROR  : An exception of type "OPatchException" has occurred:

    Hello Gurus,
    i have run coomand:
    opatch lsinventory -detail
    it gives me error as follows:
    kindly advice to resolve the issue.
    opatch lsinventory
    Oracle Interim Patch Installer version 1.0.0.0.57
    Copyright (c) 2007 Oracle Corporation. All Rights Reserved..
    We recommend you refer to the OPatch documentation under
    OPatch/docs for usage reference. We also recommend using
    the latest OPatch version. For the latest OPatch version
    and other support related issues, please refer to document
    293369.1 which is viewable from metalink.oracle.com
    Oracle Home : /goldfm/goldfm/GOLD/apps/tech_st/10.1.3
    Oracle Home Inventory : /goldfm/goldfm/GOLD/apps/tech_st/10.1.3/inventory
    Central Inventory : /testfm/testfm/BCTEST/oraInventory/oraInventory
    from : /etc/oraInst.loc
    OUI location : /goldfm/goldfm/GOLD/apps/tech_st/10.1.3/oui
    OUI shared library : /goldfm/goldfm/GOLD/apps/tech_st/10.1.3/oui/lib/aix/liboraInstaller.so
    Java location : /goldfm/goldfm/GOLD/apps/tech_st/10.1.3/jre/1.4.2/bin/java
    Log file location : /goldfm/goldfm/GOLD/apps/tech_st/10.1.3/.patch_storage/<patch ID>/*.log
    Creating log file "/goldfm/goldfm/GOLD/apps/tech_st/10.1.3/.patch_storage/LsInventory__05-30-2011_09-00-44.log"
    Result:
    LsInventory: OPatch Exception while accessing O2O
    OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
    OPatch Exception:
    OUI found no such ORACLE_HOME set in the environment
    Can not get details for given Oracle Home
    An exception occurs
    null
    There is no Interim Patch
    OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
    Can not get a list of inventory on this home.
    ERROR: OPatch failed because of Inventory problem.
    opatch lsinventory -detail
    Invoking OPatch 11.1.0.6.2
    Oracle Interim Patch Installer version 11.1.0.6.2
    Copyright (c) 2007, Oracle Corporation. All rights reserved.
    Oracle Home : /golddb/golddb/GOLD/db/tech_st/11.1.0
    Central Inventory : /testfm/testfm/BCTEST/oraInventory/oraInventory
    from : /etc/oraInst.loc
    OPatch version : 11.1.0.6.2
    OUI version : 11.1.0.7.0
    OUI location : /golddb/golddb/GOLD/db/tech_st/11.1.0/oui
    Log file location : /golddb/golddb/GOLD/db/tech_st/11.1.0/cfgtoollogs/opatch/opatch2011-05-31_09-30-41AM.log
    List of Homes on this system:
    Home name= BCPROD_WEBOH__bcprodfm_bcprodfm_BCPROD_apps_tech_st_10_1_3, Location= "/bcprodfm/bcprodfm/BCPROD/apps/tech_st/10.1.3"
    Home name= BCPROD_TOOLS__bcprodfm_bcprodfm_BCPROD_apps_tech_st_10_1_2, Location= "/bcprodfm/bcprodfm/BCPROD/apps/tech_st/10.1.2"
    Home name= BCPROD_DB__bcprodfm_bcprodfm_BCPROD_db_tech_st_11_1_0, Location= "/bcproddb/bcproddb/BCPROD/db/tech_st/11.1.0"
    Home name= BCTEST_WEBOH__testfm_testfm_BCTEST_apps_tech_st_10_1_3, Location= "/testfm/testfm/BCTEST/apps/tech_st/10.1.3"
    Home name= BCTEST_TOOLS__testfm_testfm_BCTEST_apps_tech_st_10_1_2, Location= "/testfm/testfm/BCTEST/apps/tech_st/10.1.2"
    Home name= BCCLN_WEBOH__bcclnfm_bcclnfm_BCCLN_apps_tech_st_10_1_3, Location= "/bcclnfm/bcclnfm/BCCLN/apps/tech_st/10.1.3"
    Home name= BCCLN_TOOLS__bcclnfm_bcclnfm_BCCLN_apps_tech_st_10_1_2, Location= "/bcclnfm/bcclnfm/BCCLN/apps/tech_st/10.1.2"
    Home name= BCCLN_DB__bcclndb_bcclndb_BCCLN_db_tech_st_11_1_0, Location= "/bcclndb/bcclndb/BCCLN/db/tech_st/11.1.0"
    Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
    Possible causes are:
    Oracle Home dir. path does not exist in Central Inventory
    Oracle Home is a symbolic link
    Oracle Home inventory is corrupted
    LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo
    OPatch failed with error code 73

    HI,
    Please suggest if this was working before?
    What stopped it working..any change that you are aware of? like cloning,db upgrade, server movement etc etc..
    Their are different error for different oracle home but still issue can be one i.e. corrupt central inventory..try to fix the issue one by one using below metalink notes:-
    LsInventory: OPatch Exception while accessing O2OOPatch_JAVA_ERROR=CheckConflict: Opatch Exception While Accessing O2O [ID 395187.1]
    Opatch Lsinventory Raises An OPatchException While Accessing O2O [ID 401454.1]
    Opatch Fails With 'Can not get details for given Oracle Home' [ID 413829.1]
    "Oui Found No Such Oracle_home Set In The Environment" During Opatch Lsinventory [ID 419625.1]
    please check below metalink ntoe for help.
    Strategies for a Corrupted Oracle Central Inventory [ID 414600.1]
    OPatch Fails With "LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo" [ID 728417.1]
    Thanks,
    JD

  • FRM-9201 A failure has occured on server - Oracle forms error Oracle 9IAS

    Hi,
    We have a custom based Oracle Forms application running in Oracle9IAS in AIX5.1 Box. Last week There was A patch applied to AIX box [Security Patch LIBC] and after that, we are experiencing numerous issues like 1. process full, 2. too many open connections 3.Failiure occurred in server need to restart the session.
    When we do a ps -ef in the server, we see lot of threads like "f90runm server webfile=HTTP-0 ". We remember, this was not the situation before applying the patch. When this count reaches approximately 260, users are not able to login and getting error. We dont have concurrent users more than 100. Can you please advise us how to resolve this problem. This application is running in the same environment for last 3 years without any problem, but after applying patch to UNIX box, it seems everything disturbed.

    More Error details:-
    FRM-92101 A failure has occured on the Server
    you will need to reestablish your session
    Details
    Java Exception
    oracle forms net ConnectorException the process file table is full
    at oracle.forms.net.HTTPNStream.getinfoFromServlet(Unknown Source)
    at oracle.forms.net.HTTPNStream.<init (unknown source)
    at oracle.forms.net.HTTconnection.conenct(unknown source)
    at oracle.forms.engine.FormsDispatcher initConnection(unknown source)
    at oracle.forms.engine Forms Dispatcher init(unknown source)
    at oracle.forms.engine.Runform.initConenction(unknown source)
    at oracle.forms.engine.main.createRunform(unknown source)
    at oracle.forms.engine.main.start(unknown source)
    at sun.applet.Aplet panelrun(unknown source)
    at java.lang.thread.run(unknown source)

  • Tried installing itunes 10.5 and recieved this error An error occured during the installation of assembly 'Micrsoft .VC80.CRT .type="win32" ,version="8.0.50727.6195".publicKeyToken="1fc8b3b9a1e18e3b".processorArchitectu re="x86"'. Please refer to Help and

    Tried to install itunes 10/5 and got this error:
    An error occured during the installation of assembly 'Micrsoft .VC80.CRT .type="win32" ,version="8.0.50727.6195".publicKeyToken="1fc8b3b9a1e18e3b".processorArchitectu re="x86"'. Please refer to Help and Support for more information. HRESULT: 0x80073712
    Can anyone help solve this problem

    Exactly the same problems as many others with iTunes 10.5 and my Windows 7 32 bit laptop: An error occurred during the installation of assembly 'Microsoft.VC80.CRT .type="win32", … HRESULT:0x800736FD. I followed the Apple instructions to completely uninstall earlier iTunes and all Apple applications and then tried to re-install iTunes 10.5. Numerous attempts. Still no success. Constantly goes through the install and then rolls back after failure.
    By unzipping using WinRAR and installing each module separately it seems that the module that fails is the AppleApplicationSupport.msi
    Finally I uninstalled everything again and reinstalled iTunes 10.4.1. This installed perfectly. So at least I still have iTunes.
    I was able to install iTunes 10.5 on myWindows XP SP3 desktop.
    I noticed with WinRAR that the AppleApplicationSupport.msi file with 10.5 is a completely different size to that with 10.4.1. This suggests to me a conflict between the latest AppleApplicationSupport.msi and Windows 7.

  • I am trying to install itunes on my hp laptop with windows vista 64 bit. But when i install i get this error "An error occured during the installation of assembly "Microsoft.VC80.CRT.type="win32"version="8.0.50727.6195".publickeyTOken="1fc8b3 b9a1e18e3b".

    I am trying to install itunes on my hp laptop with windows vista 64 bit. But when i install i get this error   "An error occured during the installation of assembly "Microsoft.VC80.CRT.type="win32"version="8.0.50727.6195".publickeyTOken="1fc8b3 b9a1e18e3b".processorArchitecture="x86""

    Repair your Apple Application Support.
    Control Panel > Programs n Features > highlight AAS, click CHANGE the REPAIR

  • When syncing with itunes, got error message saying had error and now ipad2 will not do anything other than showing the USB cable with arrow pointing to Itunes on screen.  have done the reset and restart, but still get same thing.

    when syncing with itunes, got error message saying had error and now ipad2 will not do anything other than showing the USB cable with arrow pointing to Itunes on screen.  have done the reset and restart, but still get same thing.  Ipad does not show up in itunes even though cable plugged in.  Have shut down and restarted Windows 7 computer.

    I had done all of that to no avail.  I did call Apple Tech Support and after he suggested I try a USB port in the rear of the Win 7 computer, things starting working again.  I had tried switching the USB port at the front of the machine but that had not helped.  Everything is good to go again.  thanks for  your reply

  • I got a problem on installing iTune-64bit on WIndows 7, error message says the folder "itunes" is on a locked disk or you do not have write permissions for this folder.

    I got a problem on running the iTune 64bit on Windows 7, error message says " the folder "itunes" is on a locked disk or your do not have write permission for this folder.    Any one ran into this problem ?  
    It worked before.

    Open Disk Utility via Spotlight or in the Applications folder stored within the Utilities folder. Close all applications and 3rd party software and choose "Repair Disk Permissions." Reboot the computer when finished, and test to see if the issue is resolved.

  • ITunes Installation error: "Microsoft VC80.CRT.TYPE="win 32".version=8.0.50727.6195".publicKeyToken='1fc8b3b9a1e18e3b".processorArchitec ture "x86"".Please refer to help and support for more information. HRESULT:0X800700C1

    Hi!
    I am trying to install iTunes on my laptop that runs Windows 8.1
    I have tried several solutions discussed in similar questions but none worked
    -uninstalled and reinstalled
    -cleaned C drive for all Apple products
    -tried to install security update’ Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update’ but the same error appeared
    -Windows module installer is enabled
    I always get this error
    an error occured during the installation fo assembly "Microsoft.VC80.CRT.type="win32", version="8.0.50727.6195, public key token=,1fc8b3b9a1e18e3b", processor architecture="x86", please refer to help and support for more information. HRESULT: 0x80070422
    If i ignore and proceed another error appears
    Service 'Apple Mobile device' failed to start. Verify that you have sufficient privileges to start system services
    If i ignore one more time, itunes is installed but when i try to run it
    Apple application support was not found. Apple Application Support is required to run iTunes Helper- please uninstall iTunes and then install itunes again-error 2
    Can someone help me please? Thank you!

    Hi M2i7guel,
    Welcome to Apple Support Communities.
    It sounds like there is an issue installing iTunes and other Windows updates on your PC. The article linked below provides troubleshooting suggestions that will resolve most issues like the one that you've described.
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    I hope this helps.
    -Jason

  • Can't download latest Itunes 10.5 - Keep receiving following error: An error occurred during the installation of assembly 'Microsoft VC80 CRT.type="win32",version="8.0.50727.6195".publicKeyToken="1fc8b3b9a1e18e3b".pro cessorArchitecture="x86". Please refe

    Can't download latest Itunes 10.5 - Keep receiving following error: An error occurred during the installation of assembly 'Microsoft VC80 CRT.type="win32",version="8.0.50727.6195".publicKeyToken="1fc8b3b9a1e18e3b".pro cessorArchitecture="x86".

    OK.  If both of you are Windows 7.  Make sure you go to Windows update (START button, type in Windows Update). Check for updates and update whatever that are available. (especially Microsoft .NET Framework 4 )
    After that see if you still get this error message.
    The last resort would be to unistall and reinstall the whole thing.
    Follow the steps below:
    1. Go to Microsoft website to fix install and Unistall problems. Click "Run now" from Fix it to remove all iTunes & related installer files:
    http://support.microsoft.com/mats/Program_Install_and_Uninstall
    Be aware that Windows Installer CleanUp Utility will not remove the actual program from your computer. However, it will remove the installation files so that you can start the installation, upgrade, or uninstall over.
    2. You should remove all instances of iTunes and the rest of the components listed below:
    it may be necessary to remove all traces of iTunes, QuickTime, and related software components from your computer before reinstalling iTunes.
    Use the Control Panel to uninstall iTunes and related software components in the following order:
    iTunes
    QuickTime
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Follow the instructions from Apple article listed here: http://support.apple.com/kb/HT1923 to remove all components
    3. Reboot your computer. Next, download iTunes from here:http://www.apple.com/itunes/download/ and install from scratch

  • My IPhone 3GS is unlocked and i went to update the software and it said that an unknown error has occurred and said it needed to be restored to connect with Itunes. When i got to restore it, it gets about 3/4 of the way done, says an unknown error(1015)

    Hey guys. My IPhone 3GS is unlocked and i went to update the software and it said that an unknown error has occurred and said it needed to be restored to connect with Itunes. When i got to restore it, it gets about 3/4 of the way done, says an unknown error has occured(1015). I have no clue what to do and all and any help would be amazing.

    See Here
    https://discussions.apple.com/message/15290457#15290457
    From the More Like This  on the right...

  • Tried to update iTunes on Win7 got a MSVCR80.dll error message.  Tried to reinstall as advised, won't complete installation saying I have to verify that I have sufficient priveleges.  How do I do that?

    I just tried to update iTunes, got an error message MSVCR80.dll and was told to reinstall.  Tried to reinstall, at the end received this message:  "Service 'Apple Mobile Device' failed to start. Verify that you have sufficient privileges to start system services."  There is no place to verify anything.  Logged in to Apple Store with ID and password.  Tried again.  Same message!!  Help!!

    See Troubleshooting issues with iTunes for Windows updates.
    tt2

  • I can't install itunes on my windows 8.. error appears says this : error microsoft. vc80.crt type="win32".version="8.0.50727.6195"

    Why I cant Install itunes in my windows 8? error appears and it says:
    error microsoft. vc80.crt type="win32".version="8.0.50727.6195"
    please healp me

    These ones are typically caused by underlying problems on the PC that also often cause Windows Updates to fail to install. If we can fix the Windows Update trouble, we can usually get the iTunes trouble cleaned up en passant.
    Go into your Windows update and try to check for new updates. If updates install, stock up on the ones you're behind on, restarting the PC if requested to do so. After the restart, try installing iTunes again. Does it go through this time for you?
    If windows updates fail to install, go into your Update History and doubleclick the failures. What alphanumeric codes appear for you? (For example, 8007000B.)

Maybe you are looking for

  • How can I watch an old .mov file made with adobe in 2002? (on PC)

    I can get it to play some video, then it goes blank, and I can hear the audio only.  I think the file might have flash, but my quicktime does not have that option in the advanced settings.  Please help, The file was part of a college project in 2002

  • HP Color laserJet CM1015 MFP printing problem

    Till now my HP Color laserJet CM1015 MFP printer was working perfectly and suddenly prints miss aligned colors. Each color prints a little bit below another. I uninstalled printer's software and reinstalled again but it didn't help. There is no error

  • Pdf javascript in mobile pdf reader

    Hello all, I have embadded some javascript in my pdf and the javascript works in PC adobe reader. I find that the javascript does not work android adobe reader, can i ask how can I preview the pdf open in android adobe reader or I can write some javs

  • One Big Gray  Stripe on right hand side not a year old

    I tried looking for a fix I have a big Grey stripe right of center on my screen. Screen Capture will not pick it up and I have only had the computer bought new since January 2013. Anybody know what can be done or if I take it in will they cover under

  • How do I plug in my cat 5 internet cable to the new MBP?

    I just recently purchased the New MBP retina display laptop.  I cannot locate a port or socket for the cat 5 cable to hardwire into a network. Any suggestions?