import file picture

Asked by mabra

Hi Steven,
I have a problem with whyteboard version 0.40 and 0.40.1.
If I click on File>import file>picture I receive an error msg:
*** Fri Sep 10 13:03:07 2010 ***
Traceback (most recent call last):
  File "whyteboard\gui.pyo", line 360, in <lambda>
  File "whyteboard\gui.pyo", line 576, in on_open
  File "whyteboard\functions.pyo", line 76, in file_dialog
  File "wx\_windows.pyo", line 711, in ShowModal
PyAssertionError: C++ assertion "wxAssertFailure" failed at ..\..\src\common\filefn.cpp(1746) in wxParseCommonDialogsFilter(): missing '|' in the wildcard string!
Whyteboard 0.40.1
Operating System: Windows XP (build 2600, Service Pack 3)
Screen Resolution: 1024x768
Python Version: 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)]
wxPython Version: 2.8.10.1 (msw-unicode)
wxPython Info: (__WXMSW__, wxMSW, unicode, wx-assertions-on, SWIG-1.3.29)
Python Encoding: Default=ascii File=mbcs
wxPython Encoding: utf-8
System Architecture: 32bit x86
Byte order: little
Frozen: windows_exe
#---- End System Information ----#

#---- Preferences ----#
imagemagick_path = C:\Programmi\ImageMagic
last_opened_dir = C:\Documents and Settings\mabra\Desktop\co_erickson\3cb\ac_base
language = Italian

#---- Traceback Info ----#

*** Fri Sep 10 13:03:07 2010 ***
Traceback (most recent call last):
  File "whyteboard\gui.pyo", line 360, in <lambda>
  File "whyteboard\gui.pyo", line 576, in on_open
  File "whyteboard\functions.pyo", line 76, in file_dialog
  File "wx\_windows.pyo", line 711, in ShowModal
PyAssertionError: C++ assertion "wxAssertFailure" failed at ..\..\src\common\filefn.cpp(1746) in wxParseCommonDialogsFilter(): missing '|' in the wildcard string!

*** Fri Sep 10 13:07:22 2010 ***
Traceback (most recent call last):
  File "whyteboard\gui.pyo", line 360, in <lambda>
  File "whyteboard\gui.pyo", line 576, in on_open
  File "whyteboard\functions.pyo", line 76, in file_dialog
  File "wx\_windows.pyo", line 711, in ShowModal
PyAssertionError: C++ assertion "wxAssertFailure" failed at ..\..\src\common\filefn.cpp(1746) in wxParseCommonDialogsFilter(): missing '|' in the wildcard string!

#---- End Traceback Info ----#
With Whyteboard 0.39.3 all is ok. I'm working with EeePC Asus
Thanks in advance
Maurizio Bracardi (Mabra)

Question information

Language:
English Edit question
Status:
Solved
For:
Whyteboard Edit question
Assignee:
No assignee Edit question
Solved by:
mabra
Solved:
Last query:
Last reply:
Revision history for this message
Steven Sproat (sproaty) said :
#1

It's fine for me, but that's in English. Gonna try the program in Italian, now. Can't see why it would fail though, that bit of code hasn't changed in a long time.

Could also be a problem due to a bad translation. I'll check it.

Revision history for this message
Steven Sproat (sproaty) said :
#2

Nope. I set my language to Italian, installed Italian support to my Ubuntu build and it loaded fine.
Oh, you're using Windows. Hmmm - I'll try on my virtualbox Windows 7 in work.

I'm sure I have received a report of this bug before; but I'm not sure how it can happen. It could be due to bad characters in the translations; but I just checked the Italian ones and they're fine.

You're running the EXE version of the program which makes it difficult for you to report additional information - if you were running the source code I could ask you to stick some "print" statements in the program to output information that could help me figure out what's going wrong.

I just tried the program on Windows 7, with a system language of Italian. The program started up into Italian by default (hurrah - no need for users to set their language!) and I brought up the file dialog from File->Import->Image

No crash for me......kinda hard to see what's going wrong and where.

Revision history for this message
Steven Sproat (sproaty) said :
#3

p.s. does the problem happen with version 0.41, released at the end of August?

Revision history for this message
mabra (maurizio-bracardi) said :
#4

Yes, I used released 0.41 at the and of August. If I use this release in my desktop with the same file all is fine, but in my netbook Asus Eee PC with Win XP I have a crash with the error that I have send you before. I don't Know why.
But don't mind for now I'm working with release 0.39.3.
Thanks
Mabra

Revision history for this message
mabra (maurizio-bracardi) said :
#5

Eureka Steven,
I have unistall Whytebord and than install again release 0.41 and allis fine
sorry if you have spent time for my mistake.
Thanks again, have a good day
Bye
Mabra

Revision history for this message
Steven Sproat (sproaty) said :
#6

It's a little discerning that uninstalling and reinstalling fixed it.

i'll be releasing 0.41.1 this weekend; there's a few bugs that crept in....whoops!

Glad to hear your problem's fixed
have a great weekend