Skip to content

Can't import tags because value_parts variable is referenced before it's declared #2738

Description

@NoNameHeath

Scraper name

EmbeddedMetadata

Scraper version

f66d194

Which scraper type(s) are affected?

imageByFragment

Specific examples

The main script references value_parts under an if else statement, but the variable is only declared under the if statement, so the script aborts whenever it detects entries in any keyword related EXIF tag.

Logs

Additional details

I've submitted a draft pull request with my simple fix for the problem (#2737). It can probably be improved by someone who actually knows python, unlike me.

Have you looked at existing bug reports?

  • I have searched the existing bug reports.

Are you in a country that may be geoblocked by the site being scraped?

  • I am not in a country that may be geoblocked.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions