xml.etree.ElementTree.ParseError: syntax error
Closed this issue · 2 comments
GoogleCodeExporter commented
= Versions
youtube-upload:0.7.1
python:2.7.3
python-gdata:2.0.17
= Describe the steps (including the command you run) that will reproduce
the problem?
I am new to python and while searching i found that i can upload a video to
youtube in command line in linux and i am using centos 5.7
i first installed python 2.7 and face many problems in doing it but i search it
on google and find answers
one main problem had faced and solved the httpsconnection and after installing
the open ssl and openssl-devel it is ok i am using this command in order to
Upload the video:
>python youtube_upload.py --email="test.for.utube@gmail.com" --password="****"
--title="test" --category="test" test.mp4
and getting this result:.
Login to Youtube API: email='test.for.utube@gmail.com', password='********'
Traceback (most recent call last):
File "youtube_upload.py", line 449, in <module>
sys.exit(catch_exceptions(EXIT_CODES, main_upload, sys.argv[1:]))
File "youtube_upload.py", line 105, in catch_exceptions
fun(*args, **kwargs)
File "youtube_upload.py", line 381, in main_upload
captcha_response=options.captcha_response)
File "youtube_upload.py", line 183, in login
self.categories = self.get_categories()
File "youtube_upload.py", line 255, in get_categories
xml = ElementTree.XML(xmldata)
File "/usr/local/lib/python2.7/xml/etree/ElementTree.py", line 1301, in XML
parser.feed(text)
File "/usr/local/lib/python2.7/xml/etree/ElementTree.py", line 1643, in feed
self._raiseerror(v)
File "/usr/local/lib/python2.7/xml/etree/ElementTree.py", line 1507, in _raiseerror
raise err
xml.etree.ElementTree.ParseError: syntax error: line 1, column 49
can anybody help??
Original issue reported on code.google.com by test.for...@gmail.com
on 29 Sep 2012 at 7:30
- Merged into: #80
GoogleCodeExporter commented
Original comment by tokland
on 29 Sep 2012 at 9:10
- Changed state: Duplicate
GoogleCodeExporter commented
Original comment by tokland
on 13 May 2014 at 2:55