Comments (30)
Shit! ;)
You are always too speedy ;P
You have an exception when service run, and I have forgotten a type cast..ehmm, sorry
I have just commit a new version:
- re-download
- uninstall
- try to remove userdata/addon_data/service.pushbullet/settings.xml
- re-install
- enable kodi debug
- re-config setting
- and post xbmc.log on pastebin ;)
What Kodi version do you have? I'm testing on XBMC 13.2 (Linux machine)
from xbmc.service.pushbullet.
Have several systems running OpenELEC 4.0.7 (13.2) and some android devices. 1 of them is Helix.
Did a clean install on a windows machine running 13.2
http://pastebin.com/zDea3c4B
Latest commit used 51d5373
from xbmc.service.pushbullet.
ok, no more 'encode' issue for what I see...It's just a progress ;)
ehm...Can be strange, but close and restart xbmc ;)
from xbmc.service.pushbullet.
Restarted XBMC, still the same error
from xbmc.service.pushbullet.
Post the whole log...I have to see If you have service restarting
from xbmc.service.pushbullet.
Here it is http://xbmclogs.com/show.php?id=305154
edit:
I'll try it in OpenELEC now
from xbmc.service.pushbullet.
sorry schumi2004 for this tedious work...
I had do another commit: b08f25a
Try this one...and post log
from xbmc.service.pushbullet.
Before that commit it returned the same error code 5 in OpenELEC
Then I did a clean install with fake token which returned 30, updated token and installed latest commit, now it's broken.
In windows 8
http://pastebin.com/tRL69MDw
from xbmc.service.pushbullet.
remember to enable xbmc debug mode...
from xbmc.service.pushbullet.
I don't understand what kind of error is '5'...
If you have time, try latest: aa8d7c0
I hope to have more details on exception
from xbmc.service.pushbullet.
I installed latest commit and error 5 returned, error 5 is Access denied
I also can't edit Device Info so I edited settings.xml and restarted Kodi, still access denied (error 5)
I grabbed the token from my account settings at pushbullet.com
from xbmc.service.pushbullet.
mmhhh...wait
HTTP Status Code Meanings
200 OK - Everything worked as expected.
400 Bad Request - Usually this results from missing a required parameter.
401 Unauthorized - No valid access token provided.
403 Forbidden - The access token is not valid for that request.
404 Not Found - The requested item doesn't exist.
5XX Server Error - Something went wrong on Pushbullet's side.
I think your error code come from httplib2, but I would get something more human readable.
Device info is disabled, my add-on create a new device on first start, with "xbmc device name"...you have only insert access token.
In the setting: device iden, name and model are set by addon
from xbmc.service.pushbullet.
In your pushbullet device list, do you have a new device created by my add-on?
edit:
in linux you can try:
curl -u access_token: https://api.pushbullet.com/v2/users/me
or
curl -u acces_token: https://api.pushbullet.com/v2/devices
In windows you can use something like this: http://curl.haxx.se/dlwiz/?type=bin&os=Win64
from xbmc.service.pushbullet.
No new device created
from xbmc.service.pushbullet.
another thing that can you try is see in addon/service.pushbullet/.cache if there is a file, and open it
from xbmc.service.pushbullet.
curl commands from cli work, no cache folder found,
from xbmc.service.pushbullet.
Please post your latest xbmc.log with debug activate, and your userdata/addon_data/service.pushbullet/settings.xml (hide your acceess token)
edit: use this latest commit: 22ab4b0
from xbmc.service.pushbullet.
Did a clean install since this is a test PC. Installed PB addon, configured token and left the rest default. And received a new entry in PB devices.
I deleted for example device from PB page since I had 2 of them (from ruuk's addon) and wanted to start clean. Then it brakes, error 5 (and now it's 13)
Reinstalled XBMC and installed addon again and it works, at least no errors.
Installed Youtube and started item, xbmc crashed so i needed to restart, PB broken again.
Can't you change to Oauth like ruuk did?
/edit
Resetting access token didn't help either.
from xbmc.service.pushbullet.
Installed Youtube and started item, xbmc crashed so i needed to restart, PB broken again.
this is strange!
I don't know how ruuk's Oauth works...In my addon you only have to add the access_token.
If addon don't finds a client iden (pb_client_iden in settings.xml) it creates a new one and set/save the client iden. It's simple, isn't it? :)
I think, if I understand, is the old installation of ruuk addon to do issue...and also this is quite strange...
At the end, you don't have to unistall, reinstall, clean, etc... if you want "reset" my addon (create a new PB client) you have to erase pb_client_iden
in settings.xml (userdata/addon_data/service.pushbullet/) and at the next xbmc start a new device will be created.
you can rename the device on pusbullet web page, you'll see reflection on addon settings, at the next xbmc start.
You could see xbmc.log with debug mode enabled, you'll see what happen :)
if do you have a time, could you test my add-on on your different kind of hardware and xbmc version? Thanks!
from xbmc.service.pushbullet.
In the next release I'll add a check for test device existence on PB...and all should works good
Now I see, It's already in...
from xbmc.service.pushbullet.
For my understanding, were is the .cache folder located?
It isn't in addons/service.pushbullet.
My mobile complains about read only (error 30) when booting.
Couldn't find .cache folder on other systems either and saw cache errors there also.
from xbmc.service.pushbullet.
yeah, should be in addons/service.pushbullet.
It's managed by httplib2, and created when needed (if web server support cache).
if there is not the folder don't care.
instead post this "read only" and "cache" errors
from xbmc.service.pushbullet.
Cache error windows 8
http://pastebin.com/tjQSCBWi
Read only Android mobile
http://pastebin.com/yF8tqisU
Imo there is something wrong with .cache folder
from xbmc.service.pushbullet.
You are obviously a smarty user...
try to change:
self._h = httplib2.Http(".cache")
=> self._h = httplib2.Http()
row 39 of lib/pushbullet.py
I hope httplib2 don't use cache, with this init
from xbmc.service.pushbullet.
if not we should set addonprofile path as .cache...and hope it's writable
In my machine, addon/service.pushbullet is writable ....
from xbmc.service.pushbullet.
Changing line 39 didn't help. Need to think how i could solve this. Python isn't my best thing
self._h = httplib2.Http(".cache") => self._h = httplib2.Http()
^ is under > in line 39 =>
SyntaxError: invalid syntax
from xbmc.service.pushbullet.
ehehe... you are not a smarty user ;P
Indentation error...or you have to substitute whole string:
/self._h = httplib2.Http(".cache")/self._h = httplib2.Http()/
btw, try latest commit: 53f44da
from xbmc.service.pushbullet.
I agree that i'm not a Python expert but i can handle it.
It wasn't a ident error anyway.
So far your latest commit works, device is registered and doing some tests now.
from xbmc.service.pushbullet.
I joke ;)
Thanks for your patience! But do remote debugging is quite hard :)
...and you have all kind of platforms supported by xbmc 👍
I'm glad that it's works now...keep me updated
from xbmc.service.pushbullet.
I close this issue...it's become too long. Feel free to open a new one for next trouble
from xbmc.service.pushbullet.
Related Issues (20)
- Send notifications? HOT 6
- Playback issues HOT 57
- Action on pushes dismissed (Android) HOT 11
- Gap on XBMC/Kodi closing HOT 3
- Push media don't playback HOT 11
- Service dies on network disconnect/suspend HOT 13
- Service does not connect to push server after authentication - requires Kodi restart HOT 4
- Socket disconnection causing service to stop HOT 4
- the number of caller, in android stock is in the notification title HOT 12
- version 0.8.16b mirror incoming calls no longer works on non android stock phones HOT 6
- Pushed sent to all devices automatically dismissed by plugin: Version 081b HOT 16
- trouble with russian characters (thins thouble with non english characters) HOT 2
- "View Channels" not working HOT 1
- [Feature Request] Switch subtitle on push
- [Feature Request] Add to playlist HOT 1
- Hebrew support HOT 1
- Hebrew default language HOT 4
- EOF occurred in violation of protocol (_ssl.c:590) HOT 12
- Kodi Repository HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xbmc.service.pushbullet.