Save As invokes an exception on Win7 HP w/ cyrillic characters

Bug #973275 reported by Denis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Confirmed
Low
Unassigned

Bug Description

Version 1.1
Here is a message:

System.Reflection.TargetInvocationException: Адресат вызова создал исключение. ---> GLib.GException: Failed to open 'D:\My Documents\_Projects\ADG Group\ADG Корневой сайт\Shapka.jpg' for writing: No such file or directory

   в Gdk.Pixbuf.Savev(String filename, String type, String[] option_keys, String[] option_values)

   в Pinta.Core.JpegFormat.DoSave(Pixbuf pb, String fileName, String fileType) в c:\Documents and Settings\rpvn\My Documents\Visual Studio 2010\Projects\Pinta\Pinta.Core\ImageFormats\JpegFormat.cs:строка 46

   в Pinta.Core.GdkPixbufFormat.Export(Document document, String fileName) в c:\Documents and Settings\rpvn\My Documents\Visual Studio 2010\Projects\Pinta\Pinta.Core\ImageFormats\GdkPixbufFormat.cs:строка 80

   в Pinta.Actions.SaveDocumentImplmentationAction.SaveFile(Document document, String file, FormatDescriptor format) в c:\Documents and Settings\rpvn\My Documents\Visual Studio 2010\Projects\Pinta\Pinta\Actions\File\SaveDocumentImplementationAction.cs:строка 201

   в Pinta.Actions.SaveDocumentImplmentationAction.SaveFileAs(Document document) в c:\Documents and Settings\rpvn\My Documents\Visual Studio 2010\Projects\Pinta\Pinta\Actions\File\SaveDocumentImplementationAction.cs:строка 154

   в Pinta.Actions.SaveDocumentImplmentationAction.Activated(Object sender, DocumentCancelEventArgs e) в c:\Documents and Settings\rpvn\My Documents\Visual Studio 2010\Projects\Pinta\Pinta\Actions\File\SaveDocumentImplementationAction.cs:строка 57

   в Pinta.Core.FileActions.RaiseSaveDocument(Document document, Boolean saveAs) в c:\Documents and Settings\rpvn\My Documents\Visual Studio 2010\Projects\Pinta\Pinta.Core\Actions\FileActions.cs:строка 115

   в Pinta.Core.Document.Save(Boolean saveAs) в c:\Documents and Settings\rpvn\My Documents\Visual Studio 2010\Projects\Pinta\Pinta.Core\Classes\Document.cs:строка 694

   в Pinta.Actions.SaveDocumentAsAction.Activated(Object sender, EventArgs e) в c:\Documents and Settings\rpvn\My Documents\Visual Studio 2010\Projects\Pinta\Pinta\Actions\File\SaveDocumentAsAction.cs:строка 48

   --- Конец трассировки внутреннего стека исключений ---

   в System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

   в System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

   в System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

   в System.Delegate.DynamicInvokeImpl(Object[] args)

   в GLib.Signal.ClosureInvokedCB(Object o, ClosureInvokedArgs args)

   в GLib.SignalClosure.Invoke(ClosureInvokedArgs args)

   в GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)

Revision history for this message
Denis (jf-ceo-38) wrote :

Obviously this is a Cyrillic symbols in the Save As path problem. Using a Latin path makes no crashes. But still this bug is very confusing.

Revision history for this message
Robert Nordan (rpvn) wrote :

I agree, the cyrillic is the obvious reason and we've had trouble with with non-latin characters before. We need to look at the culture handling code, I think.

Changed in pinta:
status: New → Confirmed
importance: Undecided → Low
summary: - Save As invokes an exception on Win7 HP
+ Save As invokes an exception on Win7 HP w/ cyrillic characters
Revision history for this message
Robert Nordan (rpvn) wrote :

Turns out this is a duplicate of bug #779427 , marking it as that.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.