Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
1st July 2011, 13:22 | #541 | Link |
Oz of the zOo
Join Date: May 2005
Posts: 208
|
definition importer also fails at parsing dither.avsi (awesome stuff btw) because of this:
Code:
Function Dither_undef () { return (Dither_undef2 ()) Function Dither_undef2 (val "undef") { return (undef) } } |
1st July 2011, 14:56 | #542 | Link | |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
Quote:
In any case, the Dither_undef function can be written simply as function Dither_undef () {} (see here). From v2.60, the internal function Undefined() can be used. |
|
1st July 2011, 16:55 | #543 | Link | ||
Registered User
Join Date: Mar 2011
Location: Germany
Posts: 64
|
Quote:
|
||
2nd July 2011, 18:53 | #544 | Link |
Oz of the zOo
Join Date: May 2005
Posts: 208
|
It may be related to another error reporting issue:
AvsP instantly and silently closes after launching if any of .avsi autloading scripts has a syntax error. The log is non-informative either: {...skipped...} File "AvsP.pyo", line 4972, in getFilterInfoFromAvisynth Also, syntax highlighting is causing 0.5s delays when typing inside "quotes" or blockcommenting via Ctrl-Q, the avs-script has about 100 lines. Also, with syntax highlighter disabled AvsP doesn't show video after being restarted, and throws an error: File "AvsP.pyo", line 1572, in OnKeyUp AttributeError: 'AvsStyledTextCtrl' object has no attribute 'nonBraceStyles' P.S. How to set up a debug/compile environment for AvsP? I'd like to trace such issues myself so that it'll be fixed sooner. Last edited by wOxxOm; 3rd July 2011 at 08:45. |
3rd July 2011, 20:49 | #545 | Link | |||
Registered User
Join Date: May 2007
Posts: 109
|
Quote:
Quote:
Quote:
Another simple way is just updating /lib/library.zip with the latest/mod py files and you don't need to install anything. |
|||
3rd July 2011, 20:57 | #546 | Link |
Oz of the zOo
Join Date: May 2005
Posts: 208
|
thank you, I'll _try_ to look into it myself :3, meanwhile a typical script looks like this, with a few hundred bookmarks (like this scenecut list)
|
3rd July 2011, 22:03 | #549 | Link |
Registered User
Join Date: Sep 2009
Posts: 378
|
Excellent!, latest version of AVSPmod will give a Video Preview on Linux under Wine, 2.2.0 is the first version to do this, awesome. Don't know what you did but great. :-)
But I'd also like to add a bug report, which started occurring after about version 2.1.0 again it's on Linux with Wine but I'd like to mention it, it's specific to brackets. I get a crash if I delete a bracket, but only if that bracket is associated with a 'known' function ie highlighted light green like ConvertToRGB(), or LoadPlugin(...), deleting the last bracket causes AVSPmod to crash but it doesn't crash deleting a bracket off an unrecognised command, like FFmpegSource2, or Dither(...) again this is just on Linux under Wine. On early versions of AVSPmod pre 2.1.0, on Linux with Wine deleting brackets doesn't cause a crash. I appreciate that trying to bug hunt on Linux + Wine may be considered to be a step too far, but with video preview now working AVSPmod is even more usable on Linux. Thanks for the continued advances being made. Last edited by Yellow_; 3rd July 2011 at 22:06. |
4th July 2011, 17:05 | #551 | Link | |
Registered User
Join Date: Sep 2002
Posts: 88
|
translation.py causes crash since v2.2.0
I tried to use AvsPmod v2.2.0 with Japanese translation.py, but it failed to start.
Error log (avsp_error_log.txt) says: Quote:
Code:
"Zoom" : u"ズーム", "&Zoom" : u"ズーム(&Z)", |
|
4th July 2011, 17:11 | #552 | Link |
Registered User
Join Date: Dec 2001
Posts: 1,219
|
Niiyan: The translation files have not been updated at all for Avspmod. They are still the old translations from Avsp. Because some menu items have changed, maybe this causes the problem.
Someone will probably need to update them in order to be fully compatible. |
4th July 2011, 17:55 | #554 | Link |
Registered User
Join Date: May 2007
Posts: 109
|
@niiyan
My bad. It is actually a bug in AvsPmod v2.2.0. Thanks for your report. P.S. If you have a zip tool, please update lib/library.zip with this file to see if the problem solved. e.g. put the file together with library.zip and run zip.exe like: zip.exe -u library.zip AvsP.pyo Last edited by ANGEL_SU; 5th July 2011 at 14:41. |
6th July 2011, 11:35 | #556 | Link | |||||||
Registered User
Join Date: May 2007
Posts: 109
|
Quote:
Quote:
Fixed (2011-07-12). Quote:
Fixed (2011-07-25). Quote:
Quote:
Quote:
Quote:
2011-11-22: In previous beta version, when you switch tabs or skip frames, AvsPmod will show pixel data if cursor is already inside the preview window. But the color is usually wrong unless you move the cursor again. Fixed. 2011-12-15: Fix a bug in the macro's function - GetTextEntry(). See this post. If anybody would try the latest code, you can use a zip tool to update lib/library.zip with this file (Avsp.pyo 2011-12-15). If you get an error message "Translation file update failed" on every start up , please also update lib/library.zip with this file (__translation_new.pyo 2011-12-15). Last edited by ANGEL_SU; 15th December 2011 at 02:51. |
|||||||
10th July 2011, 13:10 | #557 | Link |
Oz of the zOo
Join Date: May 2005
Posts: 208
|
a handy macro for 2.2+ to shift bookmarks by a given +/- number of frames
Code:
try: shift=int(avsp.GetTextEntry("Shift bookmarks by # frames")) try: bookmarks=[(b+shift, t) for b,t in avsp.GetBookmarkList( title=True )] except TypeError: bookmarks=[(b+shift) for b in avsp.GetBookmarkList()] avsp.GetWindow().DeleteAllFrameBookmarks() avsp.SetBookmark( bookmarks ) except: pass Last edited by wOxxOm; 10th July 2011 at 13:16. |
11th July 2011, 03:17 | #558 | Link |
Registered User
Join Date: Nov 2006
Posts: 773
|
I get an error whenever i don't save a script (save as) and use the same video in two different scripts (not sure it's related), one with no filter in it, the second a bit more complex (with fft3dfilter mainly) but not so much.
Then when i go from one tab to the other it's crashing 9 times out of 10. Please fix this bug, it's really annoying. |
12th July 2011, 09:33 | #560 | Link |
Oz of the zOo
Join Date: May 2005
Posts: 208
|
@Mounir: avisynth plugin autoload
|
|
|