File import exception

"Jerad Clark" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <[email protected]>
I was trying to generate an error message to see about updating the
screenshot of the file: screen-invalidimagefile.png

In doing so I got an exception by doing the following:

1) Run a clean BitPim instance from source
2) Go to Media -> images
3) Choose Add image
4) Select any image file (BitPim wont display non-image files) and
change the extension.

The exception is in the attached file.

Jerad

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
BitPim-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
exception.txt (text/plain, 2.9 KB)
BitPim version: trunk-bitpim-developer build
An unexpected exception has occurred.
Please see the help for details on what to do.

Traceback (most recent call last):
  File "C:\projects2\bitpim\src\phone_root.py", line 239, in OnEditAddEntry
    self.active_panel.OnAdd(evt)
  File "C:\projects2\bitpim\src\wallpaper.py", line 122, in OnAdd
    super(WallpaperView, self).OnAdd(evt)
  File "C:\projects2\bitpim\src\fileview.py", line 960, in OnAdd
    self.OnAddFiles(dlg.GetPaths())
  File "C:\projects2\bitpim\src\wallpaper.py", line 290, in OnAddFiles
    file_stat=os.stat(file)
OSError: [Errno 2] No such file or directory: u'C:\\Documents and Settings\\All Users\\Documents\\My Pictures\\Sample Pictures\\Winter.asd'

Variables by last 8 frames, innermost last

Frame run in C:\projects2\bitpim\src\gui.py at line 641
           argv =  ['C:\\projects2\\bitpim\\src\\bp.py']
         kwargs =  Keys []
                   {}

Frame MainLoop in C:\PYTHON23\Lib\site-packages\wx-2.6-msw-unicode\wx\_core.py at line 7720
           self =  <gui.MainApp; proxy of C++ wxPyApp instance at _503fa701_p_wxPyApp>

Frame MainLoop in C:\PYTHON23\Lib\site-packages\wx-2.6-msw-unicode\wx\_core.py at line 7153
           args =  (<gui.MainApp; proxy of C++ wxPyApp instance at _503fa701_p_wxPyApp>,)
         kwargs =  Keys []
                   {}

Frame MyWndProc in C:\projects2\bitpim\src\gui.py at line 1305
         wparam =  144
         lparam =  2492236
           self =  <gui.MainWindow; proxy of C++ wxFrame instance at _b0b0f500_p_wxFrame>
           hwnd =  5113320
            msg =  273

Frame OnEditAddEntry in C:\projects2\bitpim\src\phone_root.py at line 239
           self =  <phone_root.PhoneTree; proxy of C++ wxPyTreeCtrl instance at _8850f201_p_wxPyTre
            evt =  <wx._core.CommandEvent; proxy of C++ wxCommandEvent instance at _d4eb1200_p_wxCo

Frame OnAdd in C:\projects2\bitpim\src\wallpaper.py at line 122
           self =  <wallpaper.WallpaperView; proxy of C++ wxPanel instance at _b0e48302_p_wxPanel>
            evt =  <wx._core.CommandEvent; proxy of C++ wxCommandEvent instance at _d4eb1200_p_wxCo

Frame OnAdd in C:\projects2\bitpim\src\fileview.py at line 960
           self =  <wallpaper.WallpaperView; proxy of C++ wxPanel instance at _b0e48302_p_wxPanel>
            dlg =  <wx._windows.FileDialog; proxy of C++ wxFileDialog instance at _5082bc01_p_wxFil
              _ =  <wx._core.CommandEvent; proxy of C++ wxCommandEvent instance at _d4eb1200_p_wxCo

Frame OnAddFiles in C:\projects2\bitpim\src\wallpaper.py at line 290
           self =  <wallpaper.WallpaperView; proxy of C++ wxPanel instance at _b0e48302_p_wxPanel>
           file =  u'C:\\Documents and Settings\\All Users\\Documents\\My Pictures\\Sample Pictures
      filenames =  [u'C:\\Documents and Settings\\All Users\\Documents\\My Pictures\\Sample Picture
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.