Skip to main content
Solved

Failed to run "Mini Box MediaInfo Video Metadata Uploader"


  • New Participant
  • 1 reply

Hi Team,


I got stuck when I tried to run the script from the repository Mini Box MediaInfo Video Metadata Uploader on GitHub. I followed the README instructions step by step, and I also check the Video on YouTube.


When I ran the following command:

python3 src/main.py -c


I got the following error:

ImportError: cannot import name ‘appengine’ from ‘urllib3.contrib’


Can anyone help me understand why I got this? Thanks.

Best answer by rbarbosa Box

Hi @Genex


Welcome to the forum!


This StackOverflow details what is going on.


I’ve updated the requirements.txt to solve this issue.


As a side not, you’ll need to install the MediaInfo library in your operating system.


I’ve also modified the main.py to include the login of the CCG user, so it is easier to share the folder with it.


In my case when I run:


$ python src/main.py -m 267560195015

Logged in as CCG, AutomationUser_1803368_9rbDFPFJSf@boxdevedition.com

Processing file: 1547069322705


Let us know if this helps

View original
Did this topic help you find an answer to your question?

3 replies

rbarbosa Box
  • Developer Advocate
  • 553 replies
  • Answer
  • May 31, 2024

Hi @Genex


Welcome to the forum!


This StackOverflow details what is going on.


I’ve updated the requirements.txt to solve this issue.


As a side not, you’ll need to install the MediaInfo library in your operating system.


I’ve also modified the main.py to include the login of the CCG user, so it is easier to share the folder with it.


In my case when I run:


$ python src/main.py -m 267560195015

Logged in as CCG, AutomationUser_1803368_9rbDFPFJSf@boxdevedition.com

Processing file: 1547069322705


Let us know if this helps


  • Author
  • New Participant
  • 1 reply
  • May 31, 2024

Hi @rbarbosa


The solution did work and I successfully created the metadata template. Thank you!


system
  • Community Manager
  • 22 replies
  • June 4, 2024

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings