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. |
3rd May 2007, 14:43 | #701 | Link |
ангел смерти
Join Date: Nov 2004
Location: Lost
Posts: 9,558
|
That particular location is trying to find the location of the avisynth install, so whatever location is in HKLM\Software\Avisynth\@Default in the registry is probably pointing to a location with unicode characters in it. value.encode('ascii') fails on those types of conversions.
I guess one fix would be to move avisynth into another place, like the avsp folder, for now. Something that'll help people in the future would be replacing line 3399-3400, Code:
if os.path.isdir('C:\\Program Files\\AviSynth\\'): self.options['avisynthdir'] = 'C:\\Program Files\\AviSynth\\' Code:
if os.path.isdir(os.environ.get("PROGRAMFILES")+'\\AviSynth\\'): self.options['avisynthdir'] = os.environ.get("PROGRAMFILES")+'\\AviSynth\\' |
3rd May 2007, 17:58 | #702 | Link |
Registered User
Join Date: May 2006
Posts: 237
|
Is there a function to get the bookmark list as text?
I know I could make a macro if there isn't, but would rather not reinvent the wheel. Also, I saw a function "Insert bookmark Trims (keyboard shortcut Ctrl-I), AvsP will insert a sequence of Trim commands into your script based on the bookmarks" which appears to not be in the current version, perhaps seen as replaced by the Trim Editor. If so, is there a way for the Trim editor to use bookmarks? And more ambitiously, is there a way to input bookmarks &/or trims as a list instead of through the GUI? Last edited by AlanHK; 3rd May 2007 at 18:21. |
3rd May 2007, 21:26 | #703 | Link | |||
Registered User
Join Date: Oct 2002
Posts: 298
|
Quote:
Quote:
Quote:
Code:
filename = avsp.GetSaveFilename(title='Save bookmarks to text file') f = open(filename, 'w') for bm in avsp.GetBookmarkList(): f.write(str(bm)+'\n') f.close() And currently there's no way to input bookmarks other than the gui or saving a session. If it would be helpful, I could add a macro to set bookmarks, that way you could set bookmarks from a given text file. Last edited by qwerpoi; 3rd May 2007 at 21:30. |
|||
4th May 2007, 04:58 | #704 | Link | |||||
Registered User
Join Date: May 2006
Posts: 237
|
Quote:
How could I just paste the list to the clipboard? Quote:
Quote:
What I'm doing is making a sequence of nologo filters, marking on and off as the logo appears with bookmarks, so the original trim list format was closest to that; I don't actually want to delete anything from the video, just run a filter on different sections. If I persist I can probably work out how to make a Python macro to do it all, but at the moment I use Ultraedit. I just found the "scrap window". It seems that the toggle off control-P doesn't work if the cursor is in the scrap window... An observation: I see a few spelling mistakes in the macro files comments. Eg: Quote:
Quote:
Last edited by AlanHK; 4th May 2007 at 17:52. |
|||||
4th May 2007, 22:33 | #705 | Link | ||
Registered User
Join Date: Apr 2007
Location: Cologne / Germany
Posts: 15
|
Macro, using PIPES, also VB6-Sourcecode attached
Hi,
Quote:
Code:
process = subprocess.Popen([exefile, params], shell=False, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) Quote:
I have attached a sample Macro, with dummy exe and even Sourcecode in VB6 showing how to use stdIn & stdOut. (I also have decided to write my app as a AvsP-Plugin only, because now I have seen how much power there is in AvsP. ) Rachima |
||
6th May 2007, 03:22 | #706 | Link |
Registered User
Join Date: Oct 2002
Posts: 298
|
New version 1.3.9, download from the AvsP download page or from the mirror. This version is actually compatible with both XP and win98. As a result, the directory structure is a little different, so in order to upgrade, you should unzip the file to a new directory and transfer over your *.dat files (you can read a bit more detail at the download page). This is a bugfix version, so the changelog's relatively small:
Code:
* remember the last saved image path (suggested by 3ngel) * changed "Show calltip" to work when cursor is in filter name (thanks AlanHK) * changed editor to properly clear undo buffer when loading a file * merged windows xp and 98 versions + fixed parity info reported by AvsP (thanks krisq, ChiDragon) + fixed crash when switching zoom modes (thanks Alain2) + fixed unnecessary scrollbars with zoom "fit inside window" (thanks foxyshadis) + fixed unicode bug when saving script + fixed unicode bug with recent file list (thanks Henrikx) + fixed unicode bug with Avisynth install directory (thanks Aeolis, foxyshadis) + minor fixes to window layout code In order to make things easier for translators, this version has no new messages, ie, the v1.3.8 translation is compatible with v1.3.9. There were some fairly easy feature requests that did not make it to this version because I didn't want to add any new messages, so for those requesters, I offer a small apology, you'll have to wait patiently for the next version. The main reason I wanted to release this version now is because it seems AvsP wouldn't run at all if you installed AviSynth in a directory with unicode characters, a big mistake. Hopefully everything works properly now. Since it's important, I'll emphasize one last time that to upgrade from an older version you can't simply replace the AvsP.exe anymore since it's no longer contained in a single executable (read more details here). Anyway, I'm guessing the next version won't be for a while, since I still have a lot of work to do on the automated user slider concept. Still, be sure to report back with any new problems or requests. Last edited by qwerpoi; 6th May 2007 at 03:32. |
6th May 2007, 09:32 | #707 | Link |
Registered User
Join Date: May 2005
Posts: 236
|
Thanks qwerpoi, will try asap About the workload for translators, to be honest I don't see the problem, the last release had a few more strings to translate but the amount was similar to previous versions (looking in the translation.py file I see that I translated similar amounts for 1.2.1), it didn't take me long to translate them. Don't restrain yourself for this
|
6th May 2007, 15:23 | #711 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
IMHO,
Rahima's suggestion is important. It wold be great to have language-independen plugin API in AvsP. But implementation may be various.
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. |
6th May 2007, 16:57 | #713 | Link |
Registered User
Join Date: Apr 2007
Posts: 5
|
Hello folks,
It’s me again. I entered the path to a external player in AvsP Program Options: “C:\Arquivos de programas\Edição e Criação de Filmes e DVD\Media Player Classic\mplayerc.exe” and I had the following error after reopening AvsP: [Sun May 06 12:02:23 2007] Traceback (most recent call last): File "AvsP.py", line 9358, in <module> File "wx\_core.pyo", line 7700, in __init__ File "wx\_core.pyo", line 7352, in _BootstrapApp File "AvsP.py", line 9350, in OnInit File "AvsP.py", line 3026, in __init__ UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 28: ordinal not in range(128) So, I decided to erase the option.dat file in AvsP folder and everything went back to normal if I try to enter the external player path the problem gets back. I think there is a Unicode problem to the path of external player too. qwerpoi if you can take a look on that issue I will be really happy and grateful. Thank you one more time for your attention. See you later, Aeolis |
6th May 2007, 17:14 | #715 | Link |
Registered User
Join Date: Aug 2005
Location: Germany
Posts: 306
|
I create a "clean" new German Language file.( 1:1) But nothing.
AvsP will not work with the new,too ? I have no more ideas !! Language files : http://forum.gleitz.info/showpost.ph...3&postcount=14
__________________
Henrikx |
6th May 2007, 19:00 | #716 | Link |
*Space Reserved*
Join Date: May 2006
Posts: 953
|
lolent, have you been able to vent that problem you've been having with AvsP? I have a pretty good idea what's causing the problem, as i've gotten the same exact error message earlier today that you've shown with the screenshot. It has to do with your plugins/scripts, so it's not an avsp problem. You could fix this by manually going to your plugins folder, right-click and choose "Arrange Icons By Modified"; Then either delete or move your latest modified plugins 1 by 1 while hitting F5 with avsp and see if it generates a preview.
|
6th May 2007, 19:55 | #718 | Link | ||||
Registered User
Join Date: Oct 2002
Posts: 298
|
Oh cr**! The new directory structure alters how AvsP looks for python files to import - you'll need to add the translation.py file into the library.zip file in the lib directory (just drag translation.py into the zip file). Very sorry about that. Sigh. I may release another version within a week which will have this fixed up.
Quote:
Quote:
Quote:
Quote:
|
||||
7th May 2007, 00:00 | #720 | Link | |
Registered User
Join Date: Jul 2006
Posts: 30
|
Quote:
I will try that and found which plugin causes the problem by testing them one bye one EDIT : I solve my problem I had some ***SSE3.dll that my cpu doesn't support (PIV 2.4 GHZ) that I had forgotten to delete from my avisynth plugin directory ^^ Thx again Terranigma Last edited by lolent; 7th May 2007 at 00:32. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|