Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publishing error not clear #34

Open
adamshostack opened this issue Feb 14, 2016 · 0 comments
Open

Publishing error not clear #34

adamshostack opened this issue Feb 14, 2016 · 0 comments

Comments

@adamshostack
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant