Re: Problem creating new files, corrupt file?
"rickpricesiliconvalley" <[email protected]> Wed, 26 Apr 2006 02:04:08 -0000
| Newsgroups | gmane.comp.handhelds.palm.progect |
|---|---|
| Message-ID | <[email protected]> |
Seems like a unicode error. Are you able to send me the file that is causing problems to [email protected]? I can then try to track down the issue. My guess is that there is a character that you are using that is causing a failure. Rick --- In [email protected], "grahamsward" <graham.ward@...> wrote: > > When I try a simple two or three task file all seems to be OK. > > I am actually bringing the data in from Treepad using the Treepad > CSV import. > > I have had a look at the log.txt file which has some errors, > attached: > > PluginManager started > Start in C:\Program Files\PDesk > Now in C:\Program Files\PDesk\plugins > got plugs : > ['HTMLInOut.py', 'MSProjectInOut.py', 'TextInOut.py', 'TreepadInOut.p > y'] > imported <module 'HTMLInOut' from 'C:\Program > Files\PDesk\plugins\HTMLInOut.pyo'> successfully > imported <module 'MSProjectInOut' from 'C:\Program > Files\PDesk\plugins\MSProjectInOut.pyo'> successfully > imported <module 'TextInOut' from 'C:\Program > Files\PDesk\plugins\TextInOut.pyo'> successfully > C:\Program Files\PDesk\plugins\TreepadInOut.py:100: RuntimeWarning: > Python C API version mismatch for module csv: This Python has API > version 1012, module csv has version 1011. > imported <module 'TreepadInOut' from 'C:\Program > Files\PDesk\plugins\TreepadInOut.pyo'> successfully > loaded plugins : [<class 'HTMLInOut.HTMLInOut'>, > <class 'MSProjectInOut.MSProjectInOut'>, > <class 'TextInOut.TextInOut'>, <class 'TreepadInOut.TreepadInOut'>] > Trying <class 'HTMLInOut.HTMLInOut'> > Trying <class 'MSProjectInOut.MSProjectInOut'> > Trying <class 'TextInOut.TextInOut'> > Trying <class 'TreepadInOut.TreepadInOut'> > returning output plugins : [<class 'HTMLInOut.HTMLInOut'>, > <class 'MSProjectInOut.MSProjectInOut'>, > <class 'TextInOut.TextInOut'>, <class 'TreepadInOut.TreepadInOut'>] > returning input plugins : [<class 'TextInOut.TextInOut'>, > <class 'TreepadInOut.TreepadInOut'>] > Listening on 127.0.0.1:9999 > Waiting for a request... > Opening last opened file : C:\Program Files\Palm\Graham\Progect\lbPG- > ward10.pdk > Going to users Graham directory : C:\Program Files\Palm\Graham > Traceback (most recent call last): > File "MainFrame.pyo", line 717, in OnFileOpen > File "MainFrame.pyo", line 619, in openDB > File "ntpath.pyo", line 164, in split > File "ntpath.pyo", line 119, in splitdrive > TypeError: unsubscriptable object > Traceback (most recent call last): > File "MainFrame.pyo", line 807, in OnFileSaveAs > File "MainFrame.pyo", line 755, in saveDB > File "Pdb.pyo", line 101, in writePdk > File "Pdb.pyo", line 371, in writeRecordList > File "Record.pyo", line 154, in __len__ > File "RecordV023.pyo", line 120, in pack > File "encodings\cp1252.pyo", line 18, in encode > UnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position > 1850: ordinal not in range(128) > End date : Tue Apr 25 18:55:55 2006 > Session ended normally. > > > Graham > > --- In [email protected], "rickpricesiliconvalley" > <rick_price@> wrote: > > > > Well, I need to be able to reproduce the problem, then I can look > at > > why it's happening. > > > > So, if you create a PDesk file with say two tasks, and notes for > each, > > is it corrupt? > > > > Can you give me a very simple method to reproduce the problem with > > minimal data? I need to know the exact types and so on for each of > the > > tasks etc. > > > > If so, then it should be pretty easy to fix. > > > > Rick > > > > --- In [email protected], "grahamsward" <graham.ward@> wrote: > > > > > > When I create a new PDesk file with notes attached to each of > the > > > tasks, if I save the file which seems to be OK. If I then try to > > > close the file or close PDesk it says the current file is not > saved. > > > > > > When I check the folder with the PDK files, there is a file > there > > > but it is only 1k size. > > > > > > I have had a look in the file and all it contains is the > following > > > line: > > > > > > lbPG-ward7 Às»®Às»®|%° > > > DATAlbPG > > > > > > > > > If I try to open the file again in PDesk the error message > > > is " ...\lbPG-ward7.pdk is not a Progect database" > > > > > > > > > If I create a new file without notes (i.e. just tasks) all seems > to > > > work OK and it saves a valid pdk file. > > > > > > Please advise how I can fix this. > > > > > > Thanks > > > > > > Graham > > > > > > Remember to visit Polls, Files and Bookmarks sections at http://groups.yahoo.com/group/progect. You are welcome to vote, upload your files and submit bookmarks. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/progect/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/