Skip to content

Publishing error not clear #34

@adamshostack

Description

@adamshostack

I get an error when trying to publish photos so they go to Fresh. My photos have a title and category set under the "Metadata" panel, and 3 keywords set in the keywording panel. (Three comma separated keywords display when I set the "keywords tags" to either "enter keywords" or "will export" within the "Keywording" panel. So I expected them to publish, but instead I get an error "photos were skipped because they don't have a title, category or three keywords."

I edited the code in 500pxExportServiceProvider.lua as follows to isolate the issue, and so believe the issue might well be I don't have tags set in the "right" way, but the right way isn't clear to me. I think the error should be more clear as to what exactly to fix. (Keywording? Keyword list? Something else?)

Oh, and I've never written LUA code, but only the third fragment fired, so I think this is ok:

if photoInfo.title == "" or photoInfo.title == nil then
        LrDialogs.message(" photo was skipped because it doesn't have a title.")
        photoInfo.isFresh = false
    end

    if photoInfo.category == "" or photoInfo.category == nil then
        LrDialogs.message(" photo was skipped because it doesn't have a category.")
        photoInfo.isFresh = false
    end

    local result, count = photoInfo.tags:gsub( ",", "-" )
    if count <= 2 then
        photoInfo.isFresh = false
        LrDialogs.message(" photo was skipped because it doesn't have enough tags.")
    end

I don't think it matters, but this is 10.10 of the 500px plugin on Lightroom 6.3 on macos 10.11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions