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

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

Closed
bfqrst opened this issue Aug 10, 2016 · 4 comments
Closed

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

bfqrst opened this issue Aug 10, 2016 · 4 comments

Comments

@bfqrst
Copy link

bfqrst commented Aug 10, 2016

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
@liiight
Copy link
Member

liiight commented Aug 10, 2016

Try running with --test flag and see if the API key is correctly ouput to the log

@bfqrst
Copy link
Author

bfqrst commented Aug 10, 2016

Positive, the API key output in the --test run corresponds to the API key in the private.yml

@cvium cvium closed this as completed in e1d054b Aug 10, 2016
@cvium
Copy link
Contributor

cvium commented Aug 10, 2016

Should be fixed in the next release.

@bfqrst
Copy link
Author

bfqrst commented Aug 10, 2016

@cvium Cheers mate, much appreciated.

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

No branches or pull requests

3 participants