Skip to content

Pushbullet API error: Access token is missing or invalid. on Python 3 #1320

@bfqrst

Description

@bfqrst

Expected behaviour:

It is expected to receive a Pushbullet notification after the FlexGet run.

Actual behaviour:

The error Pushbullet API error: Access token is missing or invalid. is written to the log. The tasks as such are being completed successfully. It's just the notification that isn't firing.

Steps to reproduce:

  • Step 1: Run FlexGet on Python 3 and configure a Pushbullet notification...
  • Step 2: Check log afterwards...
  • Step 3: Rerun on Python 2 and check log afterwards. Notification will be sent...

Config:

  • config.yml:
template-notification:
    pushbullet:
      apikey: 
        - '{{ secrets.pb_apikey }}'
      title: >
        {% if title is defined %}{{ title }} processed.
        {% endif %}
      body: >
        '{{ filename }}'

  • private.yml

---

pb_apikey: 'xXxxxxxxxxxxxxxxxxxxxxx'    <- blanked out.

Log:

2016-08-10 07:38 INFO     manager                       Database upgrade is required. Attempting now.
2016-08-10 07:38 INFO     schema                        Plugin api_tmdb database is not upgradable. Flushing data and regenerating.
2016-08-10 07:38 INFO     schema                        Plugin tvmaze database is not upgradable. Flushing data and regenerating.
2016-08-10 07:39 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2016-08-10 07:39 VERBOSE  filesystem    flicks          Starting to scan folders.
2016-08-10 07:39 VERBOSE  filesystem    flicks          Scanning folder /tmp/outside/1_INCOMING. Recursion is set to False.
2016-08-10 07:39 VERBOSE  details       flicks          Produced 1 entries.
2016-08-10 07:39 VERBOSE  manipulate    flicks          Modified 0 entries.
2016-08-10 07:39 VERBOSE  task          flicks          ACCEPTED: `XXXXXXXXXXXX ` by accept_all plugin
2016-08-10 07:39 VERBOSE  exists_movie  flicks          Scanning path /tmp/outside/FLICKS/ ...
2016-08-10 07:39 VERBOSE  details       flicks          Summary - Accepted: 1 (Rejected: 0 Undecided: 0 Failed: 0)
2016-08-10 07:39 VERBOSE  move          flicks          Adding extension `.mp4` to dst `/tmp/outside/FLICKS/XXXXXXXXXXXX `
2016-08-10 07:39 INFO     move          flicks          `/tmp/outside/1_INCOMING/XXXXXXXXXXXX.mp4` has been moved to `/tmp/outside/FLICKS/XXXXXXXXXXXX.mp4`
2016-08-10 07:39 INFO     move          flicks          `/tmp/outside/1_INCOMING/XXXXXXXXXXXX.srt` has been moved to `/tmp/outside/FLICKS/XXXXXXXXXXXX.srt` as well.
2016-08-10 07:39 ERROR    pushbullet    flicks          Pushbullet API error: Access token is missing or invalid.
2016-08-10 08:42 VERBOSE  task_queue                    There are 2 tasks to execute. Shutdown will commence when they have completed.
2016-08-10 08:42 VERBOSE  filesystem    flicks          Starting to scan folders.
2016-08-10 08:42 VERBOSE  filesystem    flicks          Scanning folder /tmp/outside/1_INCOMING. Recursion is set to False.
2016-08-10 08:42 WARNING  details       flicks          Task didn't produce any entries. This is likely due to a mis-configured or non-functional input.
2016-08-10 08:42 VERBOSE  manipulate    flicks          Modified 0 entries.
2016-08-10 08:42 VERBOSE  details       flicks          Summary - Accepted: 0 (Rejected: 0 Undecided: 0 Failed: 0)

Additional information:

  • Flexget Version: 2.2.14
  • Python Version: 3.5.1
  • Installation method: pip install inside Docker
  • OS and version: Alpine Linux 3.4.1 inside Docker, OSMC (Debian Jessie) is the calling OS
  • Link to crash log: isn't crashing

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