Saving footprint in pcb footprint library editor crashes on linux
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When saving footprint to my new footprints library (*.mod) on linux I've received following error:
IO_ERROR: Unable to rename tempfile '/tmp/EMDR_
from /build/
At first I've checked access permissions to /tmp directory and my project directory.
Then I've checked this part of code and there is a function:
if( wxRename( tempFileName, m_lib_name ) )
{
THROW_IO_ERROR( wxString::Format(
_( "Unable to rename tempfile '%s' to to library file '%s'" ),
tempFileNa
m_
}
The function wxRename returns different results on Windows, MacOs and Linux.
Consider this function: wxRenameFile
http://
Changed in kicad: | |
status: | New → Fix Committed |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
On Tue, Aug 28, 2012 at 06:09:32AM -0000, kuba.fra wrote:
> The function wxRename returns different results on Windows, MacOs and
> Linux.
Yay for portability XD this almost beats the hashtable issue...
--
Lorenzo Marcantonio
Logos Srl