New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

No program name was given error

Report bugs here

No program name was given error

Postby josephine » Sat Jun 01, 2013 9:02 am

Hello.
When I look up some words I get this error "No program name was given" and the program crashes. Could you please help me solve it?
josephine
 
Posts: 5
Joined: Sat Jun 01, 2013 8:59 am

Re: No program name was given error

Postby Tvangeste » Sat Jun 01, 2013 2:23 pm

josephine wrote:When I look up some words I get this error "No program name was given" and the program crashes. Could you please help me solve it?

Very hard to understand what's going on. Need more info. Whan OS do you use, what GoldenDict version (press F1 to figure it out), what exactly do you do when the error occurs? Can you make a screenshot with the error message?
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: No program name was given error

Postby josephine » Sat Jun 01, 2013 4:24 pm

Tvangeste wrote:
josephine wrote:When I look up some words I get this error "No program name was given" and the program crashes. Could you please help me solve it?

Very hard to understand what's going on. Need more info. Whan OS do you use, what GoldenDict version (press F1 to figure it out), what exactly do you do when the error occurs? Can you make a screenshot with the error message?

Hello, thank you for your reply. OS - Linux Debian 7, dictionary version 1.0.1
I type pencil, for example, it's ok, but after I type certain words combinations, such as class of regulators, etc. it gives this error and crashes.
Image
josephine
 
Posts: 5
Joined: Sat Jun 01, 2013 8:59 am

Re: No program name was given error

Postby Tvangeste » Sat Jun 01, 2013 4:45 pm

OK, got it.

Most probably, you have some "Programs"-style dictionaries which are incorrectly configured. Please take a look at Menu -> Dictionaries -> Sources -> Programs. Try to disable such dictionaries one by one and see which one causes the problems.

Once identified, please post the command line you're use in this dictionary and we'll see.
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: No program name was given error

Postby josephine » Sat Jun 01, 2013 4:58 pm

Thank you! The problem was with the audio. It was set to auto-pronounce the word. When I wrote a combination, it just couldn't find the right audio file, I guess.
josephine
 
Posts: 5
Joined: Sat Jun 01, 2013 8:59 am

Re: No program name was given error

Postby Tvangeste » Sat Jun 01, 2013 5:01 pm

Ah, good! :)

Does this happen mostly (or even exclusively) with headwords that contain spaces, by any chance? :)
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: No program name was given error

Postby josephine » Sat Jun 01, 2013 5:06 pm

Yes, you are right! :)
josephine
 
Posts: 5
Joined: Sat Jun 01, 2013 8:59 am

Re: No program name was given error

Postby Tvangeste » Sat Jun 01, 2013 5:22 pm

josephine wrote:Yes, you are right! :)

How do you play the sounds, what's in the Audio tab settings?
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: No program name was given error

Postby josephine » Sat Jun 01, 2013 6:02 pm

Tvangeste wrote:
josephine wrote:Yes, you are right! :)

How do you play the sounds, what's in the Audio tab settings?

Via phonon.
josephine
 
Posts: 5
Joined: Sat Jun 01, 2013 8:59 am

Re: No program name was given error

Postby Tvangeste » Sat Jun 01, 2013 6:16 pm

Hmmmm, so you don't use any external program to play sounds...

Looking at the code, I see the only place where "No program name was given" error could occur, and that's in Programs-based dictionaries.

Do you have anything set in Menu -> Dictionaries -> Sources -> Programs?
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest