News:

--

Main Menu

Can't open .py file

Started by BG Davis, January 08, 2018, 11:16:46 PM

Previous topic - Next topic

BG Davis

  :(
I made some changes to a clip (using v2.7 for Windows).
I saved as project.  Gave it a simple name (Project A1).
Project was saved to designated destination folder.
Now project can't be opened.  I can see the .py file in the folder.  But if I look under "Recent Projects" via the Avidemux program (Recent>Recent Projects) it is not there.  ("Recent Files" shows the clips I was working on.)
If I try to use File>Open, Avidemux v2.7 says "Can't find demuxer" for this file.   Even though v2.7 created the file.
What did I do wrong?

I also tried to open the .py file using File>Project Script>Run Project.
Got an error message (details below; image attached) followed by a crash.
[DETAILS]
ADM_setCrashHook  [libADM_core6.dll]
ADM_setCrashHook  [libADM_core6.dll]
ADM_backTrack  [libADM_core6.dll]
ADM_Composer::addSegment(unsigned int, unsigned long long, unsigned long long)  [avidemux.exe]
unknown function  [libADM_script_tinyPy.dll]
unknown function  [libADM_script_tinyPy.dll]
unknown function  [libADM_script_tinyPy.dll]
unknown function  [libADM_script_tinyPy.dll]
unknown function  [libADM_script_tinyPy.dll]
unknown function  [libADM_script_tinyPy.dll]
unknown function  [libADM_script_tinyPy.dll]
unknown function  [libADM_script_tinyPy.dll]
unknown function  [libADM_script_tinyPy.dll]
unknown function  [libADM_script_tinyPy.dll]
unknown function  [libADM_script_tinyPy.dll]
unknown function  [libADM_script_tinyPy.dll]
unknown function  [libADM_script_tinyPy.dll]
unknown function  [libADM_script_tinyPy.dll]
A_appendVideo(char const*)  [avidemux.exe]
A_openVideo(char const*)  [avidemux.exe]
ADM_QT4_fileSel::GUI_FileSelReadExtension(char const*, char const*, void (*)(char const*))  [avidemux.exe]
HandleAction(Action)  [avidemux.exe]
MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)  [avidemux.exe]
QMetaObject::activate(QObject*, int, int, void**)  [Qt5Core.dll]
MainWindow::actionSignal(Action)  [avidemux.exe]
MainWindow::searchFileMenu(QAction*)  [avidemux.exe]
MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)  [avidemux.exe]
QMetaObject::activate(QObject*, int, int, void**)  [Qt5Core.dll]
QMenu::setIcon(QIcon const&)  [Qt5Widgets.dll]
QMenu::leaveEvent(QEvent*)  [Qt5Widgets.dll]
QMenu::mouseReleaseEvent(QMouseEvent*)  [Qt5Widgets.dll]
QWidget::event(QEvent*)  [Qt5Widgets.dll]
QMenu::event(QEvent*)  [Qt5Widgets.dll]
QApplicationPrivate::notify_helper(QObject*, QEvent*)  [Qt5Widgets.dll]
QApplication::notify(QObject*, QEvent*)  [Qt5Widgets.dll]
QCoreApplication::notifyInternal2(QObject*, QEvent*)  [Qt5Core.dll]
QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool)  [Qt5Widgets.dll]
QDesktopWidget::qt_metacall(QMetaObject::Call, int, void**)  [Qt5Widgets.dll]
QDesktopWidget::qt_metacall(QMetaObject::Call, int, void**)  [Qt5Widgets.dll]
QApplicationPrivate::notify_helper(QObject*, QEvent*)  [Qt5Widgets.dll]
QApplication::notify(QObject*, QEvent*)  [Qt5Widgets.dll]
QCoreApplication::notifyInternal2(QObject*, QEvent*)  [Qt5Core.dll]
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)  [Qt5Gui.dll]
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)  [Qt5Gui.dll]
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)  [Qt5Gui.dll]
QEventDispatcherWin32Private::sendTimerEvent(int)  [Qt5Core.dll]
TranslateMessageEx  [USER32.dll]
TranslateMessage  [USER32.dll]
QEventDispatcherWin32::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)  [Qt5Core.dll]
qt_plugin_instance  [qwindows.dll]
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)  [Qt5Core.dll]
QCoreApplication::exec()  [Qt5Core.dll]
UI_RunApp()  [avidemux.exe]
startAvidemux(int, char**)  [avidemux.exe]
SDL_main  [avidemux.exe]
ms2timedisplay(unsigned int)  [avidemux.exe]
unknown function  [avidemux.exe]
unknown function  [avidemux.exe]
BaseThreadInitThunk  [kernel32.dll]
RtlUserThreadStart  [ntdll.dll]
.............
If I try to use File>Open, Avidemux v2.7 says "Can't find demuxer" for this file.   Even though v2.7 created the file.
What did I do wrong?

eumagga0x2a

Most likely you have moved one of the source videos to another location or deleted it. Projects are added to "Recent Projects" once they have been run via "File" --> "Project Script" --> "Run Project".

BG Davis

Quote from: eumagga0x2a on January 08, 2018, 11:31:28 PM
Most likely you have moved one of the source videos to another location or deleted it. Projects are added to "Recent Projects" once they have been run via "File" --> "Project Script" --> "Run Project".

Nothing was moved or deleted.
I do see the project in "Recent Projects" but I get the same error message and crash when I try to open it.
I also created another project with a different clip, just to be sure.  Same result (error message and crash.)

Jan Gruuthuse

#3
see next posting by eumagga0x2a ! A .py script is ......

Try deleting the .idx2 files of the used video files (could be something changed between different commit builds)
What are you doing in the project? Hard to make an opinion while guessing what is going on?

Sometimes a program or computer restart, does help if you use hw acceleration in avidemux
a last resource: find:
- config2 in related avidemux folder: delete this (previous avidemux config)
- config3 in related avidemux folder: delete this (previous avidemux config)

this all from previous experiences as user.

eumagga0x2a

#4
The latest win64 nightly doesn't crash when loading a valid project script file. Please attach the script which results in a crash on your system as well as the log file (admlog.txt, located in %localappdata%\avidemux) from the Avidemux session ending in this crash.

The Avidemux version you test should be the latest nightly, not the 2.7.0 release.

QuoteIf I try to use File>Open, Avidemux v2.7 says "Can't find demuxer" for this file.   Even though v2.7 created the file

A .py script is a text file, not a video. "File" --> "Open" is used only for videos.

BG Davis


"The Avidemux version you test should be the latest nightly, not the 2.7.0 release."

I will run another test with later version.
If a .py file is created with one version of Avidemux, will it not work with a later iteration?

I appreciate your patience with all this.


BG Davis

Just downloaded latest nightly build and repeated test.  Everything worked fine.
Thanks to both of you for the mentoring!