zeuschild / cellwriter

Automatically exported from code.google.com/p/cellwriter
GNU General Public License v2.0
0 stars 0 forks source link

cellwriter does not save profile/training #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1) Please describe the problem.
I can use cellwriter as usual. But after restarting my computer and starting 
cellwriter, all the training is gone and I get the start-training again.  

2) What steps will reproduce the problem?
 a) Use training
 b) Restart Computer
 c) Start cellwriter again. 

3) What version are you using? What Linux distribution?
Version:  cellwriter 1.3.4-1.1ubuntu1
Distribution: Ubuntu 12.04.1

Please provide any additional information below.
In case the data is not just saved in the home/ directory – my setup has a 
seperate /home partition which uses the default ubuntu encryption for /home. 

Original issue reported on code.google.com by dittrich...@gmail.com on 1 Oct 2012 at 8:40

GoogleCodeExporter commented 9 years ago
I was able to work around the problem by adding a "profile"-file in the 
"~/.cellwriter" folder. Once the file was created, cellwriter was able to save 
the training files. 

Original comment by dittrich...@gmail.com on 11 Oct 2012 at 7:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have the same issue on my laptop running archlinux and cellwriter 1.3.4-6.

When i set the log-level to maximum i get messages about cellwriter trying to 
move files from /tmp to .cellwiter and vice versa using rename(). This fails 
because /tmp is not on the same Parition as by home folder, but a tmpfs mount. 
Might this cause the loss of training data? If yes, is there a way to tell 
cellwriter to use some other folder for temporary files?

I attached the logfile.

Original comment by Hansert....@googlemail.com on 8 Jan 2013 at 11:19

Attachments:

GoogleCodeExporter commented 9 years ago
Have you tried the workaround mentioned above? Those error messages are common, 
many distros have the /tmp dir in a separate partition. It just means CW is 
using an alternative method to save the data.

Original comment by risu...@gmail.com on 13 Jan 2013 at 3:24

GoogleCodeExporter commented 9 years ago
That file already exists there. Should I delete it and create it again?

Original comment by Hansert....@googlemail.com on 13 Jan 2013 at 10:03

GoogleCodeExporter commented 9 years ago
Give it a try and see if it helps. There may have been something strange about 
how CW created the file or it may be corrupted.

Original comment by risu...@gmail.com on 14 Jan 2013 at 5:53

GoogleCodeExporter commented 9 years ago
I tried and it worked for about 2 reboots, then it lost the training data 
again. So unfortunately it did not help.

Where is the training data supposed to be stored? Maybe there is another way of 
working around that issue...

Original comment by Hansert....@googlemail.com on 22 Jan 2013 at 4:02

GoogleCodeExporter commented 9 years ago
The training data is stored as a plain text file in ~/.cellwriter/profile. You 
can try backing up this file, but I have no idea why it would get corrupted in 
the first place. :-\

Original comment by mele...@google.com on 22 Jan 2013 at 10:06

GoogleCodeExporter commented 9 years ago
Issue 44 has been merged into this issue.

Original comment by risu...@gmail.com on 23 Apr 2013 at 3:50

GoogleCodeExporter commented 9 years ago
I don't know if this is related but i just found the following in my 
systemd-journal (Complete shutdown log attached):

Aug 31 05:29:58 patrick-tp systemd-logind[289]: System is powering down.
Aug 31 05:29:59 patrick-tp systemd[1]: Unmounting Arbitrary Executable File 
Formats File System...
Aug 31 05:29:59 patrick-tp systemd[1]: Deactivating swap /dev/sda8...
[...]
Aug 31 05:30:07 patrick-tp slim[295]: cellwriter: Fatal IO error 11 (Die 
Ressource ist zur Zeit nicht verfügbar) on X server :0.0.
Aug 31 05:30:07 patrick-tp slim[295]: XIO:  fatal IO error 4 (Unterbrechung 
während des Betriebssystemaufrufs) on X server ":0.0"
Aug 31 05:30:07 patrick-tp slim[295]: after 912300 requests (912300 known 
processed) with 0 events remaining.
Aug 31 05:30:07 patrick-tp slim[295]: XIO:  fatal IO error 11 (Resource 
temporarily unavailable) on X server ":0.0"
Aug 31 05:30:07 patrick-tp slim[295]: after 24553773 requests (24553773 known 
processed) with 0 events remaining.
Aug 31 05:30:07 patrick-tp slim[295]: (easystroke:406): Gdk-WARNING **: 
easystroke: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on 
X server :0.0.
Aug 31 05:30:07 patrick-tp slim[295]: dropbox: Fatal IO error 11 (Die Ressource 
ist zur Zeit nicht verfügbar) on X server :0.0.
Aug 31 05:30:07 patrick-tp slim[295]: cellwriter: Caught signal 1, cleaning up
Aug 31 05:30:07 patrick-tp slim[295]: (EE) Server terminated successfully (0). 
Closing log file.

Original comment by Hansert....@googlemail.com on 31 Aug 2013 at 2:41

Attachments: