Unable to access registry for system font information

Bug report and feature request
helmut
Beginner
Beginner
Posts: 2
Joined: Tue Oct 02, 2007 10:08 pm

Unable to access registry for system font information

Post by helmut » Tue Oct 02, 2007 10:28 pm

Windows Prof. XP SP2:

If a non provoleged (normal) user starts the MediaCoder the error message above is displayed.
:(

If you start the program with administrator rights, there are no problems.

Not really funny!

User avatar
SirAuron
Expert
Expert
Posts: 798
Joined: Thu Feb 08, 2007 1:39 am
Location: Germany

Post by SirAuron » Tue Oct 02, 2007 11:25 pm

Please don't post this twice (deleted the other one).

Can someone confirm this error (I don't have Windows XP)?
MediaCoder settings:

x264 (backend/source: mencoder, fps: 23,976, Fabio Sonatti's settings) + nero aac 64 in matroska

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Post by stanley » Thu Oct 04, 2007 2:31 pm

This is a known issue. If someone can give a way to enumerate font name and path without accessing registry, please help.
When things work together, things work.

helmut
Beginner
Beginner
Posts: 2
Joined: Tue Oct 02, 2007 10:08 pm

windows registry

Post by helmut » Fri Oct 05, 2007 2:52 am

I'm not a programmer, but maybe the problem is that you want to open the reg for read & write access. Just try to open the reg only for read access...

xerces8
Amateur
Amateur
Posts: 12
Joined: Fri Aug 04, 2006 7:10 pm

Post by xerces8 » Sat Oct 27, 2007 8:14 pm

Had this myself right now with 0.6.0 build 3905.

I don't think the font data is secret and readable on by admins, so you might try the suggestion of opening for read only.

stanley, which keys are you accessing ? I can check if they are accessible by non-admins on my system.

redballoon
Beginner
Beginner
Posts: 1
Joined: Mon Jan 28, 2008 3:06 am

Post by redballoon » Mon Jan 28, 2008 3:09 am

Looking at GetNextNameValue() in fonts.cpp (I only got v 0.5.1, I didn't check 6.1), it looks like it's using KEY_ALL_ACCESS to open the registry key. KEY_ALL_ACCESS is only available to administrators as it includes some administrative features. KEY_READ | KEY_WRITE is usually always enough. In this case, KEY_READ should be enough.

RB

matt84
Beginner
Beginner
Posts: 1
Joined: Wed Feb 06, 2008 2:35 pm

Re: Unable to access registry for system font information

Post by matt84 » Wed Feb 06, 2008 2:37 pm

If I assign administrator rights the error message disappears but I can no longer drag n' drop files from Total Commander into MediaCoder.

Any other workarounds?

User avatar
unschtbr
Beginner
Beginner
Posts: 5
Joined: Sun Mar 30, 2008 4:25 am
Location: Brazil

Post by unschtbr » Sun Mar 30, 2008 4:28 am

SirAuron wrote:Please don't post this twice (deleted the other one).

Can someone confirm this error (I don't have Windows XP)?
I've got the same problem... I've got WinXP and I don't have Admin access... for other situation MediaCoder runs perfectly... :D By this error I can only build video without subtitles... :(

User avatar
unschtbr
Beginner
Beginner
Posts: 5
Joined: Sun Mar 30, 2008 4:25 am
Location: Brazil

Post by unschtbr » Tue May 20, 2008 11:33 pm

Is there anything new related to this problem? :)

doober187
Beginner
Beginner
Posts: 1
Joined: Sun Oct 29, 2006 9:22 pm
Location: mo,usa

"Unable to access registry" indeed

Post by doober187 » Sat Jun 14, 2008 2:44 pm

...but I think it's bigger than just the font issue. I think it has to do with registry permissions period, because when I start it up(any version 0.6.**) on Vista Home Premium on admin account, it gives me that error, and takes me to the first time run web page every time. Then when I close the program, none of the settings are saved. I don't get it.
ugh

Post Reply