einstein95 / crunchy-xml-decoder

GNU General Public License v2.0
35 stars 14 forks source link

Can't download anything #35

Closed pantin21 closed 9 years ago

pantin21 commented 9 years ago

Hi, each time I try to download something I get this error:

cr downloader error

Can you help me? I'm using the latest version.

alzamer2 commented 9 years ago

I'm not sure Did you run make cocki.bat first

pantin21 commented 9 years ago

Yes, I did.

alzamer2 commented 9 years ago

that weird i used the last version with the same link but i was able to download did you use "_lxml_crypto_auto_download.bat"? or did you download lxml & crypto manually yourself?

pantin21 commented 9 years ago

I downloaded and installed those two manually. I tried to reinstall them but it didn't change anything.

alzamer2 commented 9 years ago

maybe you used wrong version uninstall them and try to run "_lxml_crypto_auto_download.bat"

pantin21 commented 9 years ago

Nothing happens when I run the auto download bat, the window disappears immediately. It only creates an empty folder named "temp".

alzamer2 commented 9 years ago

"_lxml_crypto_auto_download.bat" first try to detected the version Python then if lxml & crypto installed if not it download them and install them automatically uninstall lxml & crypto from your system (you can manualy delete C:\Python27\Lib\lxml and C:\Python27\Lib\crypto) then run "_lxml_crypto_auto_download.bat"

pantin21 commented 9 years ago

lxml and crypto are removed from my computer. python folder The auto download bat still closes immediately without doing anything.

alzamer2 commented 9 years ago

in the folder of crunchy-xml-decoder from "file" click on "open command line" that will open in command line with crunchy-xml-decoder directory then type _lxml_crypto_auto_download.bat that will run _lxml_crypto_auto_download.bat without closing even if there is error then post the screen here

pantin21 commented 9 years ago

cmd crunchy

alzamer2 commented 9 years ago

if does not work try this one and run start2.bat https://mega.nz/#!s9FCAAqB!AlqT89MQ-qbOW4BQwTmg28SkwE5aLyjIu0TApzZauEE

pantin21 commented 9 years ago

cmd start2

alzamer2 commented 9 years ago

i dont know why put it cant get your Python version give me your windows name 32 or 64bit the name of Python setup (i know its 2.7 but if you know the its32 or 64 bit say it) and i will give you download link for Lxml and crypto

pantin21 commented 9 years ago

I had these three installed (and it used to work with an old version but I can't remember when it has started to stop working, maybe the May 14, 2015 update):

alzamer2 commented 9 years ago

if i remember the version of crypto that the script was written with is 2.6 try this one http://www.voidspace.org.uk/downloads/pycrypto26/pycrypto-2.6.win32-py2.7.exe side note:it seam that because your system was localized _lxml_crypto_auto_download.bat did not work i will work on it

pantin21 commented 9 years ago

Oh I'm sorry I messed up with the link and version for crypto on my previous message, it is the one you just gave. I tried to uninstall completely Python for Python 2.7.10 64 bit with the right crypto and lxml, still the same problem whe I try to download a video from Crunchyroll.

alzamer2 commented 9 years ago

why not try from scratch uninstall Python, lxml and crypto and use this https://www.python.org/ftp/python/2.7.5/python-2.7.5.msi and this (fix the localized problem-i hope-) https://mega.nz/#!d4NynRoD!spo4gKdpdyZgFkXMaalC2kChrBRzhaM5_oSRIu21e6c if you want to try manually use this http://www.voidspace.org.uk/downloads/pycrypto26/pycrypto-2.6.win32-py2.7.exe https://pypi.python.org/packages/2.7/l/lxml/lxml-3.2.5.win32-py2.7.exe#md5=00536d2ff2b5e9e0b221a936b6fff169

pantin21 commented 9 years ago

cmd crunchy2 So the fix seems to make the auto download bat work now, but the error is still here.

alzamer2 commented 9 years ago

nop this error is different this about crypto can you run it again i want to see the top something like this Start up python directory="C:\Python27\python.exe" python version=2.7 32Bit system type=AMD64 Crypto installed lxml installed

pantin21 commented 9 years ago

cmd crunchy3 I think it downloads it everytime I launch _start2.bat or _lxml_crypto_auto_download.bat.

alzamer2 commented 9 years ago

it should not tell you what, try this this one i tried and was able to download with Python 2.7 32bit https://mega.nz/#!0tsnzQyB!X16kUnUa_auiSoBBxlzpQr2izfn6dDl9shIjrzH-sc8

pantin21 commented 9 years ago

cmd crunchy4

alzamer2 commented 9 years ago

ok this how it should be try it

pantin21 commented 9 years ago

cmd crunchy5 Sorry to bother you with that...

alzamer2 commented 9 years ago

ok i want to try this delete cookies and when ask about account press n lets see what it give

pantin21 commented 9 years ago

cmd crunchy6 cmd crunchy7

alzamer2 commented 9 years ago

well i'm sorry i dont know any more the last one i sent it to you i was able to download 2min preview with it i recommended to wait for einstein95 to see where is the problem last one your windows 8 or 10?

pantin21 commented 9 years ago

Well, thank you for your patience. I'm using Windows 10, but I already had this issue when I still was on Windows 8.1.

I'm currently using the very old version on the darkztar forum with a VPN software to make it work, but it's not really convenient.

alzamer2 commented 9 years ago

mine is Windows 8.1 hmm i'm sorry again

pantin21 commented 9 years ago

No problem, I can wait. Thank you for your hard work.

alzamer2 commented 9 years ago

hi its me again while i was working on the code i got the same error i want you to try some thing for me open command line at folder of crunchy-xml-decoder then type ".\crunchy-xml-decoder\ultimate.py" and input the url when asked

pantin21 commented 9 years ago

cmd crunchy8 Hi, still the same error (I used the downloader from your last link).

alzamer2 commented 9 years ago

wana try to change the windows language to English (maybe the code have localized problem like autodownload) https://www.youtube.com/watch?v=Zxe3GgNh0QM

pantin21 commented 9 years ago

cmd crunchy9

alzamer2 commented 9 years ago

this rar contain file replace with old one and run then post what you get (the file was modified for the debug) https://mega.nz/#!9ll3TJBI!RiY4Lv0N43iNwoUvtaukcA5AoEYgeuVA7oD1j8N74Xs

pantin21 commented 9 years ago

cmd crunchy10

alzamer2 commented 9 years ago

hi can you go and download clone from https://github.com/alzamer2/crunchy-xml-decoder/tree/subtitletag it has debug function just add debug after _start2.bat in the command prompt

pantin21 commented 9 years ago

cmd crunchy11 http://dl.free.fr/kPeMe4GuX

alzamer2 commented 9 years ago

it seam the problem is in windows 10 commands can you download it again I modified it https://github.com/alzamer2/crunchy-xml-decoder/tree/subtitletag just add debug after _start2.bat in the command prompt oh and there is two file debug.c and debug.p and can you type this in command prompt I want to check windows 10 commands help>win10.new.txt it will generate win10.new.txt can you send it to me

MidgardSerpent commented 9 years ago

i just did a clean windows 10 (64bit) install on a virtual machine

here is the command prompt output http://pastebin.com/revJF422 also when trying to use _lxml_crypto_auto_download.bat (from your fork) i got this error auto downloader

after installing PyCrypto and lxml manually it worked fine in windows 10 screenshot 1

pantin21 commented 9 years ago

http://dl.free.fr/bz21mCabl I didn't find any debug.p file though, was it supposed to be in the same folder as the debug.c file?

Edit I installed manually lxml and crypto, here are the new debug files: http://dl.free.fr/r3Vj0nQ16

alzamer2 commented 9 years ago

ok I update the fork https://github.com/alzamer2/crunchy-xml-decoder/tree/subtitletag let hope it work can you try it

pantin21 commented 9 years ago

Unfortunately it's still not working. http://dl.free.fr/ftsJmPMqy

alzamer2 commented 9 years ago

hi try delete the settings.ini

alzamer2 commented 9 years ago

lol I made some change in code but forget to change the settings.ini just delete settings.ini and run _start2.bat

alzamer2 commented 9 years ago

how about after you run it once you zip the he folder and send it to me (don't forget to delete the cookies)

pantin21 commented 9 years ago

Here's the folder you've asked: https://mega.nz/#!2RsmGYSL!qlyK6TMk1oTAjM6e0T47hxubojJoiXo6OGrTpDdQpqM

alzamer2 commented 9 years ago

ok I have good news and bad news the good news I found where the error happen its happen at pickle.py the bad news I don't know how to use pickle.py you need to wait for einstein95 for this one and yes the debug was successful

pantin21 commented 9 years ago

Well, I can wait. Thank you very much for everything, you were really patient.

einstein95 commented 9 years ago

Okay, can you try it with the latest master of the main branch, I've made it dump the page html if it can't find the player revision. It doesn't seem to be an issue with the cookies/pickle as I am able to get the page with no cookies sent, but who knows, I'm probably wrong.