bugcastget - Bugs: bug #16795, Castget cannot find or open the...

 
 

bug #16795: Castget cannot find or open the configuration file

Submitted by:  None
Submitted on:  Fri 09 Jun 2006 05:57:50 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Marius L. Jøhndal <mariuslj>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 09 Jun 2006 10:22:52 PM UTC, comment #1:

Fixed in CVS.

It seems I've been a little too fast when I wrote the configuration file loading function: Any error reported by the glib function g_key_file_load_from_file, e.g. a parse error, will generate the erroneous error message.

Marius L. Jøhndal <mariuslj>
Project AdministratorIn charge of this item.
Fri 09 Jun 2006 05:57:50 PM UTC, original submission:

Clean compile (./configure && make && make install). Castget seems to be confused about where to look for the config file:

radio@studio-a:~> castget -l
Configuration file /home/radio/.castgetrc not found.
radio@studio-a:~> pwd
/home/radio
radio@studio-a:~> ls -l .castgetrc
-rw-r--r-- 1 radio users 194 2006-06-09 19:53 .castgetrc
radio@studio-a:~> id
uid=1000(radio) gid=100(users) groups=16(dialout),33(video),100(users),170(audio)

radio@studio-a:~> strace castget -l
[snip]
uname({sys="Linux", node="studio-a", ...}) = 0
stat64("/home/radio/.castget", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/home/radio/.castgetrc", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=194, ...}) = 0
read(3, "[*]\nid3contenttype=Podcast\nspool"..., 4096) = 194
close(3) = 0
write(2, "Configuration file /home/radio/."..., 53Configuration file /home/radio/.castgetrc not found.
) = 53
exit_group(1) = ?

This is SUSE 10.0 on x86.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 12 Nov 2006 08:28:08 PM UTCmariusljOpen/ClosedOpen=>Closed
Fri 09 Jun 2006 10:22:52 PM UTCmariusljStatusNone=>Fixed
Fri 09 Jun 2006 10:10:31 PM UTCmariusljAssigned toNone=>mariuslj
  Carbon-Copy-=>Added -unavailable-

Back to the top


Powered by Savane 3.1-cleanup1