question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Selecting a source file throws an error

See original GitHub issue

@cdgriffith Nice work. This will become really handy.

Unfortunately I was not able to try it out yet, because it’s throwing an error when I try to select a source file.

Log:

2020-07-13 20:18:06,727 - flix    DEBUG    running probe command: "C:\Program Files\ffmpeg\bin\ffprobe.EXE" -v quiet -print_format json -show_format -show_streams "N:/source.mkv"
2020-07-13 20:18:07,727 - flix    DEBUG    running command: "C:\Program Files\ffmpeg\bin\ffprobe.EXE" -v quiet -print_format json -show_format -show_streams "N:/source.mkv"
2020-07-13 20:18:07,896 - flix    ERROR    Exception in 'update_video_info': from_json requires a string or filename - args: (<flix.widgets.main.Main(0x28b51d44ce0) at 0x0000028B5281DB48>,)
2020-07-13 20:18:07,897 - flix    ERROR    Exception in 'open_file': from_json requires a string or filename - args: (<flix.widgets.main.Main(0x28b51d44ce0) at 0x0000028B5281DB48>,)
Traceback (most recent call last):
  File "flix\widgets\main.py", line 167, in <lambda>
  File "site-packages\reusables\wrappers.py", line 270, in wrapper
  File "site-packages\reusables\wrappers.py", line 262, in wrapper
  File "flix\widgets\main.py", line 472, in open_file
  File "site-packages\reusables\wrappers.py", line 270, in wrapper
  File "site-packages\reusables\wrappers.py", line 262, in wrapper
  File "flix\widgets\main.py", line 579, in update_video_info
  File "flix\flix.py", line 381, in parse_hdr_details
  File "site-packages\box\box.py", line 613, in from_json
  File "site-packages\box\converters.py", line 65, in _from_json
box.exceptions.BoxError: from_json requires a string or filename

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:17 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
temesinkocommented, Jul 14, 2020

I’m gonna do this tonight and paste the output here.

0reactions
cdgriffithcommented, Jul 18, 2020

As hopefully the program at minimum no longer crashes while loading a video, closing this ticket out to focus on @schlotkins color issues in https://github.com/cdgriffith/FastFlix/issues/34

Read more comments on GitHub >

github_iconTop Results From Across the Web

Handling data source errors (Power Query) - Microsoft Support
Find and save the specific error First examine the Queries & Connections pane (Select Data > Queries & Connections, select the connection, and...
Read more >
java - How do I insert error message if no file is selected?
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at Volatility$3.actionPerformed(Volatility.java:204) at javax.swing.AbstractButton.
Read more >
error #1965: cannot open source file "ti/targets/select.h" - Sub ...
But there are errors on build in CCS, I think the reason is CCS can't find the file since the path is different...
Read more >
Excel VBA Error Handling - All You Need to Know!
Learn all about Excel VBA errors and how make sure these are handled properly in your VBA code. Covers all the error types...
Read more >
An overview of Error Handling in SSIS packages - SQLShack
This article explains the process of configuring Error handling in SSIS package.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found