• 1
  • 6
  • 7
  • 8(current)
  • 9
  • 10
  • 26
Facebook-Media - Facebook Photo/Video Addon
arman0223 Wrote:Hi Ruuk, I just installed the Facebook plugin in my apple tv xbmc. But I facing an error called errono 13 permission denied. Please help me solve this problem

Thanks,
Arman

I need more info. When is the error occurring? A log would be helpful also.
Reply
Actually it's started right after I installed the zip file.
I am new to this thing and I dont know how to get the log. Please guide me how to do that.
Reply
arman0223 Wrote:Actually it's started right after I installed the zip file.

Did you install the zip from the System:Settings:Addons:Install from zip file?
And do you mean the error occoured before you started the app?

arman0223 Wrote:I am new to this thing and I dont know how to get the log. Please guide me how to do that.

Go here to find out where your log file is located:

http://wiki.xbmc.org/index.php?title=Log_file

You can post it to pastebin and put the link here.
Reply
It's OK now ... unfortunately something (else) broke and my XBMC started dying on me after a minute inside. Can't test if it actually works...

http://pastebin.com/rJELV1Rt
"can't get new token" ot something

I've the photos-XBMC already added, I quit web viewer right after I get the notification for external login. Otherwise it just sits there.
ATV2 4.3 8F455 Seas0npassed / XBMC 11
Samsung HT-P70 5.1 / Samsung WS-32Z419P
Reply
macf1an Wrote:It's OK now ... unfortunately something (else) broke and my XBMC started dying on me after a minute inside. Can't test if it actually works...

http://pastebin.com/rJELV1Rt
"can't get new token" ot something

I've the photos-XBMC already added, I quit web viewer right after I get the notification for external login. Otherwise it just sits there.

Well I noticed from the log this message from the last HTML:

"Someone recently tried to log in to your account from an unrecognized device or mobile device. Because you enabled login notifications, your account is temporarily locked."

Also what did you mean by: "I quit web viewer right after I get the notification for external login. Otherwise it just sits there." What do you mean by "it just sits there" ? Does it display the facebook login page or nothing...?

Thanks
Reply
yeah, that's due to the many attempts to login I presume..
I open the script, enter user then password, web viewer pops up and starts loading something, then I get a notification on my desktop pc that someone just logged in from unknown device, I approve it, web viewer stops loading and shows an user and pass form with a login button and data filled in. Here I either quit web viewer only to receive the "no new token" message be the script or press login, get a second notification, and then it sits indefinitely "loading" something.
better ? Smile
ATV2 4.3 8F455 Seas0npassed / XBMC 11
Samsung HT-P70 5.1 / Samsung WS-32Z419P
Reply
macf1an Wrote:better ? Smile

Yes, that was very helpful. Smile

What I'd like you to do is temporarily disable Login Approval and see if you get it to work. I'm fairly sure that is at the root of the problem. See if everything works with it disabled, then re-enable and see if it still works. Obviously I need to do something to handle accounts with Login Approval enabled. In the short term perhaps I can let the user know that they need to disable Login Approval to authorize (assuming that works for you) until I can work out how to handle it properly.
Reply
ok - here's a new error. will try disabling approvals later on

http://pastebin.com/QmKhZUSC

hmmm here are my settings before touching anything:

Secure Browsing: Secure browsing is currently disabled.
Login Notifications: Email notifications are enabled.
Login Approvals: Approval is not required when logging in from an unrecognized device.
App Passwords: You haven't created App Passwords.
Recognized Devices: You have 6 recognized devices.
ATV2 4.3 8F455 Seas0npassed / XBMC 11
Samsung HT-P70 5.1 / Samsung WS-32Z419P
Reply
macf1an Wrote:Login Notifications: Email notifications are enabled.

This one then. That's actually what it says in the html of the response in your log.
Reply
macf1an Wrote:ok - here's a new error. will try disabling approvals later on

http://pastebin.com/QmKhZUSC

This error seems like a fluke. It's in the facebook api code and the error is failing to resolve a hostname, which would be the facebook.com hostname. If it keeps happening then we can burn that bridge when we get there Smile
Reply
that did it - got in!
the interface needs getting used to but's it's more functional than I expected

two problems though:
the shrift (or encoding used) does not support cyrillic text (shows in questionmarks)
every time I select for example my albums - they are being reloaded all over again. a simple caching mechanism would be major time saver
ATV2 4.3 8F455 Seas0npassed / XBMC 11
Samsung HT-P70 5.1 / Samsung WS-32Z419P
Reply
This hopefully fixes character encoding problems (ie Cyrillic)

Get it here:

http://facebook-media.googlecode.com/fil...-0.5.8.zip

macf1an Wrote:a simple caching mechanism would be major time saver

Added to the TODO list.
Reply
stoopid me, smart you Smile
by shrift I meant schrift..and by schrift I meant font..glad we understand eachother anyway Big Grin
will try it later on!

edit: yep, cyrillic is shown but it can't open albums with non-latin names..

Code:
21:25:23 T:110600192 M:134987776  NOTICE: FACEBOOK MEDIA: PHOTOS - STARTED
21:25:27 T:110600192 M:138280960  NOTICE: FACEBOOK MEDIA: PHOTOS - STOPPED
21:25:27 T:110600192 M:136675328  NOTICE: FACEBOOK MEDIA: UNHANDLED ERROR
21:25:27 T:110600192 M:136675328   ERROR: Traceback (most recent call last):
21:25:27 T:110600192 M:136675328   ERROR:   File "/var/mobile/Library/Preferences/XBMC/addons/script.facebook.media/default.py", line 883, in menuItemSelected
21:25:27 T:110600192 M:136675328   ERROR:     self.setPathDisplay()
21:25:27 T:110600192 M:136675328   ERROR:   File "/var/mobile/Library/Preferences/XBMC/addons/script.facebook.media/default.py", line 1061, in setPathDisplay
21:25:27 T:110600192 M:136675328   ERROR:     LOG('PATH - %s' % path)
21:25:27 T:110600192 M:136675328   ERROR:   File "/var/mobile/Library/Preferences/XBMC/addons/script.facebook.media/default.py", line 59, in LOG
21:25:27 T:110600192 M:136675328   ERROR:     print 'FACEBOOK MEDIA: %s' % ENCODE(str(message))
21:25:27 T:110600192 M:136675328   ERROR:   File "/var/mobile/Library/Preferences/XBMC/addons/script.facebook.media/default.py", line 53, in ENCODE
21:25:27 T:110600192 M:136671232   ERROR:     return string.encode(ENCODING,'replace')
21:25:27 T:110600192 M:136671232   ERROR:   File "/Applications/XBMC.frappliance/Frameworks/lib/python2.6/encodings/mac_roman.py", line 12, in encode
21:25:27 T:110600192 M:136671232   ERROR:     return codecs.charmap_encode(input,errors,encoding_table)
21:25:27 T:110600192 M:136671232   ERROR: UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 16: ordinal not in range(128)

btw is it normal not being able to move to previous/next photos while viewing them full screen? It's available in slideshow mode..
ATV2 4.3 8F455 Seas0npassed / XBMC 11
Samsung HT-P70 5.1 / Samsung WS-32Z419P
Reply
macf1an Wrote:edit: yep, cyrillic is shown but it can't open albums with non-latin names..

Code:
21:25:23 T:110600192 M:134987776  NOTICE: FACEBOOK MEDIA: PHOTOS - STARTED
21:25:27 T:110600192 M:138280960  NOTICE: FACEBOOK MEDIA: PHOTOS - STOPPED
21:25:27 T:110600192 M:136675328  NOTICE: FACEBOOK MEDIA: UNHANDLED ERROR
21:25:27 T:110600192 M:136675328   ERROR: Traceback (most recent call last):
21:25:27 T:110600192 M:136675328   ERROR:   File "/var/mobile/Library/Preferences/XBMC/addons/script.facebook.media/default.py", line 883, in menuItemSelected
21:25:27 T:110600192 M:136675328   ERROR:     self.setPathDisplay()
21:25:27 T:110600192 M:136675328   ERROR:   File "/var/mobile/Library/Preferences/XBMC/addons/script.facebook.media/default.py", line 1061, in setPathDisplay
21:25:27 T:110600192 M:136675328   ERROR:     LOG('PATH - %s' % path)
21:25:27 T:110600192 M:136675328   ERROR:   File "/var/mobile/Library/Preferences/XBMC/addons/script.facebook.media/default.py", line 59, in LOG
21:25:27 T:110600192 M:136675328   ERROR:     print 'FACEBOOK MEDIA: %s' % ENCODE(str(message))
21:25:27 T:110600192 M:136675328   ERROR:   File "/var/mobile/Library/Preferences/XBMC/addons/script.facebook.media/default.py", line 53, in ENCODE
21:25:27 T:110600192 M:136671232   ERROR:     return string.encode(ENCODING,'replace')
21:25:27 T:110600192 M:136671232   ERROR:   File "/Applications/XBMC.frappliance/Frameworks/lib/python2.6/encodings/mac_roman.py", line 12, in encode
21:25:27 T:110600192 M:136671232   ERROR:     return codecs.charmap_encode(input,errors,encoding_table)
21:25:27 T:110600192 M:136671232   ERROR: UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 16: ordinal not in range(128)

I need the whole log, or at least all the log from script start to the error. When the script starts, it detects the encoding and logs it.

macf1an Wrote:btw is it normal not being able to move to previous/next photos while viewing them full screen? It's available in slideshow mode..

This is currently normal, but making it do what you are expecting is already in my TODO list. Slideshow mode gives control to XBMC. Viewing the photos is done by the script so that it can overlay the tags.

PS: When you edit a post, I don't get notified so I may miss it. I have 7 addons and I don't check all the threads everyday Smile
Reply
.... I kinda knew you were going to need it .. I withheld it due to privacy concerns(you do print a lot!)..will post a better one later
http://pastebin.com/zMUvtGfx
since you mentioned your other fine addons .. take a look at the pagination of the xbmchub forum Big Grin
ATV2 4.3 8F455 Seas0npassed / XBMC 11
Samsung HT-P70 5.1 / Samsung WS-32Z419P
Reply
  • 1
  • 6
  • 7
  • 8(current)
  • 9
  • 10
  • 26

Logout Mark Read Team Forum Stats Members Help
Facebook-Media - Facebook Photo/Video Addon2