Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

File "/home/rohit/rohit-player/rohit_player/RohitPlayerWindow.py", line 54, in on_open_clicked media_files.append({"File":f, "uri":file_uri, "format":format}) NameError: global name 'media_files' is not defined

i have followed line by line tutorial of rick ! on building a simple player

{http://developer.ubuntu.com/resources/app-developer-cookbook/multimedia/creating-a-simple-media-player/}

but i am stuck on the above mentioned error when i click on open button to select files it just show up on terminal ("the above mentioned error") i have till now worked till displaying the list to user i m on 12.04 lts! thanx in advance

share|improve this question

1 Answer 1

As far as I know that tutorial is now out of date and won't work with the current Quickly. We are currently working to get it updated. I recommend you instead follow the video at http://developer.ubuntu.com/get-started/ for how to get started with our current developer platform.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.