?:0: attempt to call upvalue '?' (a nil value)

I can't seem to get rid of this error (' ?:0: attempt to call upvalue '?' (a nil value) ').  What is "?:0:" ?
Thanks in advance for any help!
script:
local LrApplication = import 'LrApplication'
local LrDialogs = import 'LrDialogs'
local LrFileUtils = import 'LrFileUtils'
local catalog = LrApplication.activeCatalog()
local LrTasks = import 'LrTasks'
    function searchNtag()
        local targPhotos = catalog.getAllPhotos()
        for _, photo in ipairs(targPhotos) do
            local status = photo:getPropertyForPlugin('com.jonathonlefaive.tagstatus', 'tagboolean')
            if status then
                if status == nil then
                    local location = photo:getRawMetadata('path')
                    if LrFileUtils.isDeletable(location) == true then
                        photo:setPropertyForPlugin('com.jonathonlefaive.tagstatus', 'tagboolean', false, 2)
                    else
                        photo:setPropertyForPlugin('com.jonathonlefaive.tagstatus', 'tagboolean', true, 2)
                    end
                end
            end
        end
    end
function task()
    catalog.withPrivateWriteAccessDo(searchNtag)
end
LrTasks.startAsyncTask(task)

You're welcome Jonathon,
And, here's my wild guess as to the meaning of the error message:
When you use a dot, the function is still being called, its just that the first argument is nil (the expected 'self' argument), and
- There are no symbols for it - thus the question mark instead of a name.
- The value is zero - thus the zero (nil == 0).
Summary: Not sure what an "upvalue" is, but it makes sense to me in this context that its referring to the missing 'self' argument.
Just a guess.
_R_

Similar Messages

  • LR4: error message on import : attempt to call field 'isNSImage' (a nil value)

    I have just installed LR4 on my mac and when I click on import I get the error message -
    : attempt to call field 'isNSImage' (a nil value)
    Can anyone give me any idea what this means or how to rectify it.
    I am new at all this and really don't have a clue
    Thanks

    Forgotten ... Windows 8 64Bit.
    Haven't tried the preferences yet, was thinking about it though. I'll try tonight.
    Thanks so far.

  • While attempting to download and install LR/GMail 2.0 I get the following error: ./LRLib_SelfUpdateV2.lua:865: attempt to call global 'DBG' (a nil value).

    I have been unsuccessful in my attempts to update LR/Gmail to version 2.0 and get the following error message, 'An Internal Error has occurred, ./LRLib_SelfUpdateV2.lua:865: attempt to call gloval 'DBG' (a nil value).

    Hi Bibin,
    Try to unplug, plug the AIM-CUE and settle down again. If it doesn't work, then most probably you should do an RMA.
    HTH
    Iber
    If this helps, please rate

  • An internal error has occurred:  ?:0: attempt to index a nil value after installing LR5.5 update and trying to play or preview slideshow

    An internal error has occurred:  ?:0: attempt to index a nil value after installing LR5.5 update and trying to play or preview slideshow. Never had this problem before. I went to forums and see that this is a problem with previous versions and this only occurred after installing lastest update.

    Jeannine,
         If you follow the advice of the previous poster Julie Kmoch and then gradualy add presets back in one at a time you might be able to find the one that is causing the issue. I may be guessing, but I believe the issue has something to do with either an incompatible Preset setting (eg a older preset in newer version of LR) or a corrupt Preset.
    Say you bought LR2 and imported a bunch of Presets from the internet, cuz 'Hey these effects are cool and I don't have to recreate the wheel', and then you upgraded to LR3 (not a clean install) and now one of the Presets that calls a certain slider setting or value that is different in LR3 doesn't work anymore. This might be why it throws the error, but again I am just speculating.
    Location of LR Preset folder in Windows Vista/ Windows 7
    C:/Users/<YourUserName>/AppData/Roaming/Adobe/Lightroom/Develop Presets
    If you do not see the folder AppData, you may need to change the settings in Windows Explorer to 'Show Hidden Files and Folders'. To do that in Windows Vista/ Windows 7, open a Windows Explorer window, Click on Organize, then Foler and Search Options. Then click on the View tab and select the option button next to Show hidden files, folders and drives.
    Hope this helps a bit,
    Glenn

  • Regarding Lightroom Slideshow module: When I click on the preview button I get the following error: An internal error has occurred: ?:0: attempt at index a nil value. This occurs with any group of images I select in my catalog.

    Regarding Lightroom Slideshow module: When I click on the preview button I get the following error: An internal error has occurred: ?:0: attempt at index a nil value. This occurs with any group of images I select in my catalog.

    Jeannine,
         If you follow the advice of the previous poster Julie Kmoch and then gradualy add presets back in one at a time you might be able to find the one that is causing the issue. I may be guessing, but I believe the issue has something to do with either an incompatible Preset setting (eg a older preset in newer version of LR) or a corrupt Preset.
    Say you bought LR2 and imported a bunch of Presets from the internet, cuz 'Hey these effects are cool and I don't have to recreate the wheel', and then you upgraded to LR3 (not a clean install) and now one of the Presets that calls a certain slider setting or value that is different in LR3 doesn't work anymore. This might be why it throws the error, but again I am just speculating.
    Location of LR Preset folder in Windows Vista/ Windows 7
    C:/Users/<YourUserName>/AppData/Roaming/Adobe/Lightroom/Develop Presets
    If you do not see the folder AppData, you may need to change the settings in Windows Explorer to 'Show Hidden Files and Folders'. To do that in Windows Vista/ Windows 7, open a Windows Explorer window, Click on Organize, then Foler and Search Options. Then click on the View tab and select the option button next to Show hidden files, folders and drives.
    Hope this helps a bit,
    Glenn

  • LR Error "attempt to index a nil value"

    As of this evening, Lightroom has stopped working. At various times including startup (2x) I get a message saying "?:0: attempt to index a nil value". Then when the program is loaded, it appears to have an empty catalog.
    At first I thought the problem might be a corrupted catalog file. However, if I hold down ALT at launch and specify another catalog, or if I create a new one, I get the same results.
    Within the program, I see the message again when I switch modules to DEVELOP, or SLIDESHOW but not when I switch to WEB or PRINT. Once I've moved away from the LIBRARY module, any attempt to move back to it results in the message and staying on the same module I was on.
    I am running Windows XP Pro SP2. There is 2gb RAM on the system and 24gb free disk space on C.
    I tried UNINSTALLING the program then re-installing with the 2.1 update, but that made no difference.
    Something that may be related: I installed the MS .NET 3.5 framework in between the last time I used LR successfully and the first time I saw it fail. I don't know if there is a conflict there... everything else I've tried seems fine and I've got a BUNCH of software installed.

    Jeannine,
         If you follow the advice of the previous poster Julie Kmoch and then gradualy add presets back in one at a time you might be able to find the one that is causing the issue. I may be guessing, but I believe the issue has something to do with either an incompatible Preset setting (eg a older preset in newer version of LR) or a corrupt Preset.
    Say you bought LR2 and imported a bunch of Presets from the internet, cuz 'Hey these effects are cool and I don't have to recreate the wheel', and then you upgraded to LR3 (not a clean install) and now one of the Presets that calls a certain slider setting or value that is different in LR3 doesn't work anymore. This might be why it throws the error, but again I am just speculating.
    Location of LR Preset folder in Windows Vista/ Windows 7
    C:/Users/<YourUserName>/AppData/Roaming/Adobe/Lightroom/Develop Presets
    If you do not see the folder AppData, you may need to change the settings in Windows Explorer to 'Show Hidden Files and Folders'. To do that in Windows Vista/ Windows 7, open a Windows Explorer window, Click on Organize, then Foler and Search Options. Then click on the View tab and select the option button next to Show hidden files, folders and drives.
    Hope this helps a bit,
    Glenn

  • Can't export to SmugMug due to error message "attempt to index a nil value"

    I am trying to export images to SmuMug. I am getting the message that LR can't update files;  an internal error has occurred ?:0 attempt to index a nil value.  I've tried several times with different folders. About half of the original files exported before the problem occurred. Can someone tell me how to fix this? Thanks.

    Here is an update from my original post. I also wrote smugmug and they have never replied; however, I think this has been either a network connection problem or a smugmug bug. Since the first post, I have had AT&T check my modem and they gave me a new one. Even though they replaced it, they did not think I had connection problems and thought my download/upload speeds were at the correct level. I also erased my hard drive and reinstalled my operating system and restored from back up as there seemed to be other issues with my computer. The computer is apparently fine, but before it was all over I bought a new 27" imac. Smugmug has also taken their system down and installed some bug fixes a couple of times lately. In sum, all I know is that now the export to smugmug feature is working fine. To rcheek6: try resetting your modem and see if that corrects the problem. Also email smugmug and see if they'll answer.

  • Debugging advice - attempt to insert nil value

    Hello,
    I have a program that gets its data from a lot of XML files.
    When working on the XML files, if I do something wrong like, misspell a tag, or put a file that doesn't exists between the tags, or something like that, I often get this error.
    iPhone_Comprehension[7991:207] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[NSCFDictionary setObject:forKey:]: attempt to insert nil value (key: TheFilename)'
    Then it also gives some Stack information that I can't grok.
    These are always tough for me to debug because I never know where in the XML file the mistake was made.
    Is there an easier or more efficient way to identify the source of these errors? Or do I have to go through the XML file line by line until I discover my mistake?
    Thanks for any help on this!
    Harvey

    I'll tell you what I've done in the past....
    When I'm working with a data file that suddenly brings down the tent, I split it up* (segments A & B) and try again.
    If it works with segment A, you know that the cruft is in segment B.
    Repeat the split (you now have A, B & C) and try with B. If it works you know the issue is within those 500 lines that represent C. You've just quickly eliminated 1500 lines you don't have to be concerned with. When you stop splitting/segmenting and start manually scanning again depends on your scanning skills.
    I can read/scan 3000 words per minute - the size of my blocks actually depends on the size of the original file. *I really don't bother segmenting as a ts tactic until I get around 5k lines in a data file, so if the total is less, I'll just scan.
    Now, of course, all of this assumes you've given up on undo's or backup files, etc. That part of coding discipline is another topic and at this point, I'm concluding you've decided that they don't work for your current issue(s).

  • .mac sync error msg "attempt to insert nil value

    I've been trying to reset .Mac sync, and I keep getting this error msg
    *(NSCFDictionary setObject:forKey:]: attempt to insert nil value
    what is this?

    A bug; probably the result of a corrupt schema. If you really want to wipe the slate clean you can get rid of ~/Library/Application Support/SyncServices/Local, but you should make sure you have a backup handy just in case you lose something you care about in the process.

  • I get this error message when I try to use or set up publish services... An internal error has occurred: ?:0: attempt to index field 'exportSettings' (a nil value)

    Can anyone help with this error message when trying to use publish services?  An internal error has occurred: ?:0: attempt to index field 'exportSettings' (a nil value)

    Can anyone help with this error message when trying to use publish services?  An internal error has occurred: ?:0: attempt to index field 'exportSettings' (a nil value)

  • When I try to export from LR I get an internal error message :  An internal error has occurred ?:0 attempt to index a nil value

    All of a sudden when I try to export images from LR to my HD...I get the following error
    Unable to Export:
    An internal error has occurred ?:0 atempt to index a nil value.  What does this mean?  How do I fix?

    Hi,
    Same problem here. I am trying to export files from RAW format to JPEG. I am setting the output size to 2000k. I get the error message:
    Attempt to index a nil value
    The behavior is a bit random. If I export a large number of photos, some will work some won't. If I retry a picture that failed, it sometimes works or keeps failing. The input images are fairly similar in sizes.
    In some cases, there is no error message but the new reduced-size image is not created.
    Computer:
    Windows 7 Professional
    Intel Core 2 Duo
    4 GB of memory
    Hard-drive: 1 TB, about 700 GB free.
    Lightroom version 5.5
    Camera Raw 8.5
    This export operation was working previously (i.e., previous version of LR). I installed the 5.5 version on June 28 2014. The bug is probably in the new version of LR.
    System configuration (in French)
    Version de Lightroom : 5.5 [968504]
    Système d'exploitation : Windows 7 Business Edition
    Version : 6.1 [7600]
    Architecture de l'application : x86
    Architecture du système : x86
    Nombre de processeurs logiques: 2
    Vitesse du processeur : 2,6 Ghz
    Mémoire intégrée : 3326,1 Mo
    Mémoire réelle disponible pour Lightroom : 716,8 Mo
    Mémoire réelle utilisée par Lightroom : 446,1 Mo (62,2%)
    Mémoire virtuelle utilisée par Lightroom : 557,4 Mo
    Taille de la mémoire cache : 8,1 Mo
    Nombre maximal de liens utilisé par Camera Raw: 2
    Paramètre PPP du système : 96 PPP
    Composition sur le Bureau activée: Oui
    Affichages : 1) 1680x1050
    Dossier de l'application : C:\Program Files\Adobe\Adobe Photoshop Lightroom 5.5
    Chemin d'accès à la bibliothèque : K:\Images\Lightroom\Lightroom 5 Catalog.lrcat
    Dossier des paramètres : C:\Users\Dominique\AppData\Roaming\Adobe\Lightroom
    Modules installés:
    1) Behance
    2) Facebook
    3) Flickr
    4) Module externe de prise de vue en mode connecté Canon
    5) Module externe de prise de vue en mode connecté Leica
    6) Module externe de prise de vue en mode connecté Nikon
    Marqueurs Config.lua: None
    Adaptateur n° 1: Fournisseur : 10de
      Périphérique : 402
      Sous-système : 50510de
      Révision : a1
      Mémoire vidéo : 243
    AudioDeviceIOBlockSize: 1024
    AudioDeviceName: Haut-parleurs (Périphérique High Definition Audio)
    AudioDeviceNumberOfChannels: 2
    AudioDeviceSampleRate: 44100
    Build: Uninitialized
    CardID: 1026
    Direct2DEnabled: false
    GPUDevice: D3D
    MaxTexture2DSize: 8192
    OGLEnabled: true
    Renderer: NVIDIA GeForce 8600 GT (Microsoft Corporation - WDDM v1.1)
    ShaderModel: 10.0
    Vendor: Nvidia
    VendorID: 4318
    Version: 10de:0402:50510de:00a1

  • Unexpected sign-in failure:  (attempt to index a nil value).

    While trying to link LR and LR mobile, I'm consistently (several trys over a few hours) getting a message: "Lightroom has experienced an unexpected Sign-in failure. Please try again later. (attempt to index a nil value).
    I've verified the Adobe ID and password -- what else should I try?

    Try http://helpx.adobe.com/lightroom/kb/error-unexpected-sign-failure-occurs.html

  • I have an issue login into lightroom mobile on my desktop, it keeps coming up with  Lightroom has experienced an unexpected sign in failure. Please try again later.(Attempt to index a nil value can anyone ahead some light on this please?

    I have an issue login into lightroom mobile on my desktop, it keeps coming up with  Lightroom has experienced an unexpected sign in failure. Please try again later.(Attempt to index a nil value can anyone ahead some light on this please?

    Have you tried this workaround?...Error: "Unexpected Sign in failure...nil value" when syncing to Lightroom mobile | Mac OS

  • No me funciona la opcion de impresion tengo instalado en windows vista 64 y me da un error "?:0: attempt to index field ´?´(a nil value)" alguien pude decirme que pasa ?

    No me funciona la opcion de impresion de lightroom, tengo windows vista 64 , me da el siguiente error ?:0:attempt to index field ´?´ (a nil value)
    alguien pude decirme como puede solucinarlo?

    Bienvenido al foro!
    Puedes subir una foto de la RAM que compraste? El Link provisto dice "compatible", pero no especifica la marca, por ende querria ver la foto.
    Ebay, Mercado Libre y otras plataformas ofrecen muchas veces RAM "compatibles" de marca desconocida, esto causa problemas en varios equipos de Lenovo. Generalmente yo recomiendo comprar las marcas conocidas como Elpida, Samsung, Hynix, Crucial, AData, Corsair (pero excluyendo la linea "Value Select") y Kingston (pero excluyendo la linea "Value RAM").
    Saludos
    /L40SX/240/240X/2*340CSE/360PE/365XD/380D/380E/380XD/380Z/390/560E/560X/2*570/2*600/600E/750Cs/755C/760CD/760EL/760XD/770E/A20p/A22p
    A31/i1600/G40/R50p/R61i/S30/SL510/2*T22/4*T4x/11*T6x/6*T4x0x/6*T5x0/3*W5x0/W700/3*X2x/4*X3x/3*X4x/5*X6x/3*X6xT/10*X2xx/2*X200T/4*X30x/Z60m/3*Z61x
    Comunidad en Español  English Community  Deutsche Community   Русскоязычное Сообщество

  • Lightroom mobile login not working (attempt to index a nil value)

    I tried to login in to lightroom mobile on my mac, but lightroom keeps rejecting my login, saying I "attempt to index a nil value". This problem is independent from the catalog I use. Any advice?

    Hi de Lachos,
    1. Launch LR. Go to Edit > Preferences > Presets tab > click "Show Lightroom Presets Folder"
    2.  rename the "Lightroom" presets folder to "Lightroom-x"
    3. Quit and relaunch LR. It will ask you to manually find your catalog.
    4. See if the problem went away.

Maybe you are looking for

  • ME05 How to schedule source list job with steps?

    Can someone please give me instructions on how to create source list ME05 in background using "Steps"? I know how to create a background job in ME05 but need to have several jobs run back to back in the middle of the night. I am reluctant to shedule

  • How can I download the data to Application Server and Network Drive

    Hi Experts I am having problem with download the data to Application Server and Network Drive in back ground. its working in foregorund but not in back ground.please suggest me . Thanks for advance. Thanks & Regards Raghava

  • Digital Sigunature in WD Abap .

    hi Guru, i want to implement the Server side Digital Sigunature in WD Abap . Can u guess help me in this senario. Is there any Blog available.Can u explain How to  do that? Advance Thanx, Regards Vivekananthan.S

  • Adding video to my podcast

    I have a blog on my site with Youtube embedded videos on it.  I created a feed from feedburner.  I now understand Youtube videos are not compatible with iTunes.  blog is located at: http://www.productivitycubed.com/blog/  2 questions: 1. Is there a v

  • Can't mount external firewire drive on MacBook Pro

    I cannot get my OWC 1.5TB Serial ATA hard drive to mount any longer. What is the best mounter utility for the following Macbook Pro running 10.6.8: Hardware Overview:   Model Name:    MacBook Pro   Model Identifier:    MacBookPro8,2   Processor Name: