GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sat Dec 20, 2014 11:34 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: GtkFileChooserDialog Unable to retrieve the file info
PostPosted: Thu Feb 07, 2013 6:55 pm 
Offline

Joined: Thu Feb 07, 2013 3:05 am
Posts: 2
I'm having trouble tracking down the source of this warning:

"Gtk-WARNING **: Unable to retrieve the file info for `file:///home/user/...': Error stating file '/home/user/...': No such file or directory"

I'm using a GtkFileChooserDialog of type GTK_FILE_CHOOSER_ACTION_SAVE. I've connected to the 'response', 'confirm-overwrite', and 'file-activate' signals before my call to gtk_dialog_run() and this warning insists on coming up before anything else.

I understand how GTK+ could be confused, but I thought GTK_FILE_CHOOSER_ACTION_SAVE would tell my GtkFileChooserDialog that when a user makes up a new name and starts to save a new file in a Save As dialog, it would understand that there is no file info to stat because the file hasn't been written yet.

Are there other signals I can connect to. I think I need to look deeper into the inner workings of GtkFileChooserDialog. What am I missing?

~Thanks


Top
 Profile  
 
 Post subject: Re: GtkFileChooserDialog Unable to retrieve the file info
PostPosted: Thu Feb 07, 2013 10:01 pm 
Offline

Joined: Thu Feb 07, 2013 3:05 am
Posts: 2
While I'd still like to know how to debug this warning, I believe I was able to isolate and confirm that it is specific to the particular platform I was working on.

After compiling all my test code on Windows, the warning went away.

This possible bug is in the Gtk2 libraries on Ubuntu 11.10 32-bit. I don't know how to give more precise library version information, but the machine has all the latest package updates.


Top
 Profile  
 
 Post subject: Re: GtkFileChooserDialog Unable to retrieve the file info
PostPosted: Wed Feb 13, 2013 11:06 am 
Offline
GTK+ Guru

Joined: Sun Jul 08, 2012 3:14 pm
Posts: 107
Location: Coventry, UK
I don't think you are going to get much help here unless you actually show what you are doing.
Post the code is the best way I guess.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Exabot [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group