einstein95 / crunchy-xml-decoder

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

Possible to use this on linux debian ? #51

Closed ghost closed 8 years ago

ghost commented 8 years ago

It works fine in windows, but is it possible to use this on linux (debian) ? I've python 2.7.9, lxml and pycrypto, and i got this error:

Traceback (most recent call last): File "crunchy-xml-decoder.py", line 9, in import functtest File "crunchy-xml-decoder/functtest.py", line 23, in pythonbit=re.findall("[0-9][0-9] bit",sys.version).pop() IndexError: pop from empty list

alzamer2 commented 8 years ago

Ok i'm windows user and i did not test it at unix And you are the first unix user who said this problem

Can test someting for me Go to python dir Run it consle Type 2 line >>

Import sys Sys.version

And then tell me what you get at output

alzamer2 commented 8 years ago

lol i dont know how i closed any way i edit the code so can you test it out and see what happen

ghost commented 8 years ago

Hello, thank you to help me. Now i got this:

python version=4.9.2 64 bit OS Version=Linux 3.16.0 4 amd64 x86_64 with debian 8.2 Traceback (most recent call last): File "crunchy-xml-decoder.py", line 9, in import functtest File "crunchy-xml-decoder/functtest.py", line 35, in print "System Type="+os.environ['PROCESSOR_ARCHITECTURE'] File "/usr/lib/python2.7/UserDict.py", line 23, in getitem raise KeyError(key) KeyError: 'PROCESSOR_ARCHITECTURE'

alzamer2 commented 8 years ago

ok this info is for debug and you can skip this line by adding # before the line (35) but can you help me to fix it so that it does not repeat can you post the output of this line here

import os;os.environ

alzamer2 commented 8 years ago

ok i did some research in internet and it seem linux dose mot have value PROCESSOR_ARCHITECTURE in its environment variables can you test the code now and tell me what you get

ghost commented 8 years ago

Sorry, dunno how to do import os:os.environ

With the new code:

python version=4.9.2 64 bit OS Version=Linux 3.16.0 4 amd64 x86_64 with debian 8.2 System Type=x86_64 Can't find the Binary Folder Crypto installed lxml installed Do you have an account [Y/N]?y Username: Gonner- Password(don't worry the password are typing but hidden: Login as Free Member successfully. Options: 0.- Exit 1.- Download Anime 2.- Download Subtitle only 3.- Login 4.- Login As Guest 5.- Run Queue 6.- Settings

2 Please enter Crunchyroll video URL: http://www.crunchyroll.com/the-perfect-insider/episode-6-crimson-resolve-686455


---- Start New Export ----

CrunchyRoll Downloader Toolkit DX v0.98

Crunchyroll hasn't changed anything.

If you don't have a premium account, go and sign up for one now. It's well worthit, and supports the animators.


Booting up...

Traceback (most recent call last): File "crunchy-xml-decoder.py", line 354, in makechoise() File "crunchy-xml-decoder.py", line 292, in makechoise decode.decode(raw_input('Please enter Crunchyroll video URL:\n')) File "crunchy-xml-decoder/decode.py", line 42, in decode lang1, lang2, forcesub, forceusa, localizecookies, vquality, onlymainsub = altfuncs.config() File "crunchy-xml-decoder/altfuncs.py", line 18, in config quality = configr.get('SETTINGS', 'video_quality') File "/usr/lib/python2.7/ConfigParser.py", line 607, in get raise NoSectionError(section) ConfigParser.NoSectionError: No section: 'SETTINGS'

alzamer2 commented 8 years ago

three points 1-did you change any thing in video-engine? like change the name of rtmpdump.exe to rtmpdump or download linux version of it 2- can you see settings.ini in the code directory? 2-are you sure you want to continue? this code was written as windows base but because we use Python we can make it support linux directly but if you are willing to help i can try that but as i said i dont have linux so all the testing will be on you

ghost commented 8 years ago

I change anything, i've install linux a 2 weeks ago. I just found another program who works on linux. Thank you for trying to help me!

alzamer2 commented 8 years ago

no problem at all