XBMC Community Forum
Video Devil plugin status? - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (/forumdisplay.php?fid=154)
+---- Thread: Video Devil plugin status? (/showthread.php?tid=58892)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31


- dtviewer - 2011-02-27 16:37

DigitALL Wrote:Is it just me or this addon does not work right now?
After I confirm I'm 18 or older I get "addon failed to initialize"
I have uninstall it, downloaded again the latest and tried it again but it is the same thing. Do I have to delete some files or change them since I noticed that in the setting of this addon stayed the same as previous activation.

More info needed.
What are you using this on?
What version are you downloading?

And lastly, a pastebin of your xbmc log would help the developers.

Btw, its working great on my windows xp xbmc box.


- ThickHead - 2011-02-27 17:57

Hello,
Here's my xbmc.log after video devil errors out ...

http://pastebin.com/qA4E2m5U

This is a laptop running XBMC 10.0 on Win XP SP3, Video Devil 1.6.9

Thanks!


ATV2 Python Script Error: - cipher_ - 2011-02-28 17:12

Hi!

I took a quick look on the Python Script Error from dtviewer's log:

Quote:16:43:02 T:181399552 M:115961856 ERROR: Error Contents: ("Non-ASCII character '\\xc2' in file /var/mobile/Library/Preferences/XBMC/addons/plugin.video.videodevil/videodevil.py on line 327, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details", ('/var/mobile/Library/Preferences/XBMC/addons/plugin.video.videodevil/videodevil.py', 327, 0, None))

... looks like we want to set an encoding for the py sourcefile in order to parse those non ASCII characters. So i looked into the googlecode pages of videodevil and did a quick test:

http://pastebin.com/EsyUFBaB

Result without the encoding set:
Quote:$ python vd-test1.py
File "vd-test1.py", line 3
SyntaxError: Non-ASCII character '\xc2' in file vd-test1.py on line 3, but no en
coding declared; see http://www.python.org/peps/pep-0263.html for details

Result with encoding set:
Quote:$ python vd-test.py

String before Processing:
Stupid Chars: ÂÁÀÄÃÅâáàäãåÔÓÒÖÕôóòöõðøÊÉÈËêéèëæ

String after Processing:
Stupid Chars: AAAAAAaaaaaaOOOOOoooooooEEEEeeeeae

Since i didn't yet try it on the videodevil.py i don't know if this will actually work. I wonder why the script even works for non ATV2 useres without encoding set?

Greetings
cipher


- Bootsy - 2011-02-28 17:48

thanks, i sent an updated version to dtviewer.
i took the wrong set....i was working with utf-8, let´s see what latin-1 produces Smile


- cipher_ - 2011-02-28 17:57

i also tried utf-8 in the first place and got nowhere. latin-1 seems to do the trick Wink
*fingers crossed*

glad if it helps


ATV2 Fix - cipher_ - 2011-03-01 00:30

Hi

i just want to confirm that videodevil now is working on the ATV2 flawlessly Smile
just add the following line to your videodevil.py at the very begining (until a official fix for that will come in):

Code:
# -*- coding: latin-1 -*-



- dallasnights - 2011-03-01 01:13

Not working for me on ATV get Error running Videodevil

Here is the first couple of lines of code on my PY file


# -*- coding: latin-1 -*-
from string import *
import xbmcplugin, xbmcaddon
import sys, os.path
import urllib,urllib2, filecmp
import re, random, string, shutil
import xbmc, xbmcgui
import re, os, time, datetime, traceback
import cookielib, htmlentitydefs
import socket, base64
ing for me on ATV

Any here is my log

17:11:18 T:176107520 M:113836032 NOTICE: Initializing VideoDevil
17:11:18 T:176107520 M:113836032 NOTICE: VideoDevil initialized
17:11:18 T:176107520 M:113836032 NOTICE: VideoDevil running
17:11:18 T:176107520 M:113868800 INFO: Loading skin file: DialogYesNo.xml
17:11:18 T:97320960 M:113864704 DEBUG: ------ Window Init (DialogYesNo.xml) ------
17:11:20 T:97320960 M:113594368 DEBUG: ------ Window Deinit (DialogYesNo.xml) ------
17:11:20 T:176107520 M:113594368 NOTICE: Settings directory: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.video.videodevil/
17:11:20 T:176107520 M:113594368 NOTICE: Cache directory: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.video.videodevil/cache
17:11:20 T:176107520 M:113594368 NOTICE: Resource directory: /var/mobile/Library/Preferences/XBMC/addons/plugin.video.videodevil/resources
17:11:20 T:176107520 M:113594368 NOTICE: Image directory: /var/mobile/Library/Preferences/XBMC/addons/plugin.video.videodevil/resources/images
17:11:20 T:176107520 M:113594368 NOTICE: Creating cache directory /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.video.videodevil/cache
17:11:20 T:176107520 M:113594368 NOTICE: Traceback (most recent call last):
17:11:20 T:176107520 M:113594368 NOTICE: File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.videodevil/videodevil.py", line 1600, in run
17:11:20 T:176107520 M:113594368 NOTICE: os.mkdir(settingsDir)
17:11:20 T:176107520 M:113594368 NOTICE: OSError: [Errno 17] File exists: '/var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.video.videodevil/'
17:11:20 T:176107520 M:113594368 INFO: Loading skin file: DialogOK.xml
17:11:20 T:97320960 M:113590272 DEBUG: ------ Window Init (DialogOK.xml) ------

Thank for your help


- Bootsy - 2011-03-01 01:17

dallasnights Wrote:Not working for me on ATV get Error running Videodevil

Here is the first couple of lines of code on my PY file


Code:
# -*- coding: latin-1 -*-
from string import *
import xbmcplugin, xbmcaddon
import sys, os.path
import urllib,urllib2, filecmp
import re, random, string, shutil
import xbmc, xbmcgui
import re, os, time, datetime, traceback
import cookielib, htmlentitydefs
import socket, base64
ing for me on ATV
Any here is my log

Code:
17:11:18 T:176107520 M:113836032  NOTICE: Initializing VideoDevil
17:11:18 T:176107520 M:113836032  NOTICE: VideoDevil initialized
17:11:18 T:176107520 M:113836032  NOTICE: VideoDevil running
17:11:18 T:176107520 M:113868800    INFO: Loading skin file: DialogYesNo.xml
17:11:18 T:97320960 M:113864704   DEBUG: ------ Window Init (DialogYesNo.xml) ------
17:11:20 T:97320960 M:113594368   DEBUG: ------ Window Deinit (DialogYesNo.xml) ------
17:11:20 T:176107520 M:113594368  NOTICE: Settings directory: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.video.videodevil/
17:11:20 T:176107520 M:113594368  NOTICE: Cache directory: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.video.videodevil/cache
17:11:20 T:176107520 M:113594368  NOTICE: Resource directory: /var/mobile/Library/Preferences/XBMC/addons/plugin.video.videodevil/resources
17:11:20 T:176107520 M:113594368  NOTICE: Image directory: /var/mobile/Library/Preferences/XBMC/addons/plugin.video.videodevil/resources/images
17:11:20 T:176107520 M:113594368  NOTICE: Creating cache directory /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.video.videodevil/cache
17:11:20 T:176107520 M:113594368  NOTICE: Traceback (most recent call last):
17:11:20 T:176107520 M:113594368  NOTICE:   File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.videodevil/videodevil.py", line 1600, in run
17:11:20 T:176107520 M:113594368  NOTICE:     os.mkdir(settingsDir)
17:11:20 T:176107520 M:113594368  NOTICE: OSError: [Errno 17] File exists: '/var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.video.videodevil/'
17:11:20 T:176107520 M:113594368    INFO: Loading skin file: DialogOK.xml
17:11:20 T:97320960 M:113590272   DEBUG: ------ Window Init (DialogOK.xml) ------

Thank for your help

that´s an other problem i´m working on...
i think i found the prob, i gave the new version to a tester, let´s see what he says...
i´ll release version 1.7.0 tomorrow or so if it´s running again


- DigitALL - 2011-03-01 03:23

I have a dual boot system, Windows 7 and Ubuntu 10.10 and I use it the most on Ubuntu. I noticed that the Video Devil works fine in Windows but not in Ubuntu.
Do you think a log will help or you guys found the problem?


- DigitALL - 2011-03-01 04:18

Actually, here is my log. Thank you.
http://pastebin.com/EbN9FSKw