Page MenuHomePhabricator

ArgumentException Message: File format is not valid. (in 6.2.1.0)
Closed, DuplicatePublic

Description

Hi, when I log in or start editing a page the following error appears repeatedly:

description:

workaround:

Exception:ArgumentException
Message:File format is not valid.
Call stack:<pre> at System.Windows.Forms.RichTextBox.StreamIn(Stream data, Int32 flags)
at System.Windows.Forms.RichTextBox.StreamIn(String str, Int32 flags)
at System.Windows.Forms.RichTextBox.set_Rtf(String value)
at System.Windows.Forms.RichTextBox.OnHandleCreated(EventArgs e)
at WikiFunctions.Controls.ArticleTextBox.OnHandleCreated(EventArgs e)
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
at System.Windows.Forms.RichTextBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)</pre>

OS: Microsoft Windows NT 6.2.9200.0
version: AutoWikiBrowser (6.2.1.0), WikiFunctions (6.2.1.0), revision 12528 (2021-07-08 14:01:49)
net: 4.0.30319.42000
duplicate:
site: https://fa.wikipedia.org

Event Timeline

When I open the program there is no error, but as soon as I log in my wiki account it gives the above mentioned error.

After clicking on a button to continue, when I start editing a page this bug appears again. It seems that Edit box has problem and there is no option to remove it...

I had edited thousands of pages in recent days and didn't had such a problem and I cannot find any new option that I have used. I tested many options and used default settings, but the problem still persists.

Mojtaba-kd renamed this task from AWB Error in new version to AWB Error in new version (File format is not valid).Jul 21 2022, 11:39 AM

I compiled and used the https://sourceforge.net/code-snapshots/svn/a/au/autowikibrowser/code/autowikibrowser-code-r12538.zip version of AWB (even with newer .Net) and it doesn't have the above problem!

Aklapper renamed this task from AWB Error in new version (File format is not valid) to ArgumentException Message: File format is not valid. (in 6.2.1.0).Nov 22 2022, 5:24 PM