[bt-devel] Problem with Restoring windows from last session

Steven P. Ulrick bt-devel@crosswire.org
Fri, 14 Feb 2003 11:12:26 -0600


On Fri, 14 Feb 2003 16:40:37 +0100
Joachim Ansorg <joachim@ansorgs.de> wrote:

> Steven,
> thank for the testing!
> It seems there's another bug somewhere in the code or in your config. 
> 
> Does the directory $HOME/.kde/share/apps/bibletime/profiles exist?
> What does it contain? Are there any other dirs under profiles?
> Thanks,
> Joachim

Joachim :)
The following directorys exist in $HOME/.kde/share/apps/bibletime/:
file:/home/elizabet/.kde/share/apps/bibletime/cache
file:/home/elizabet/.kde/share/apps/bibletime/printing
file:/home/elizabet/.kde/share/apps/bibletime/profiles
file:/home/elizabet/.kde/share/apps/bibletime/sessions
file:/home/elizabet/.kde/share/apps/bibletime/bookmarks.xml

/home/elizabet/.kde/share/apps/bibletime/profiles is empty

And by the way, here's something interesting:
/home/elizabet/.kde/share/apps/bibletime/sessions contains both sessions
that I tried to save and reload when you asked me to do that earlier.  I
opened one of them in KATE, and the session appears to be saved
correctly:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE DOC>
<BibleTimeProfile syntaxVersion="2" name="afolkey" >
<MAINWINDOW fullscreen="0" >
<GEOMETRY width="1145" x="3" y="29" height="781" /> </MAINWINDOW>
 <BIBLE windowSettings="3" writeWindowType="0" >
<GEOMETRY width="308" x="0" y="0" isMaximized="0" height="352" />
  <MODULES separator="|" list="AKJV" />
  <KEY name="Genesis 1:1" />
  <SCROLLBARS horizontal="144243768" vertical="135835520" /> </BIBLE>
 <BIBLE windowSettings="3" writeWindowType="0" >
<GEOMETRY width="308" x="312" y="0" isMaximized="0" height="352" />
  <MODULES separator="|" list="ACV" />
  <KEY name="Genesis 1:1" />
  <SCROLLBARS horizontal="144243992" vertical="135835520" /> </BIBLE>
 <BIBLE windowSettings="3" writeWindowType="0" >
<GEOMETRY width="308" x="624" y="0" isMaximized="0" height="352" />
  <MODULES separator="|" list="ALT" />
  <KEY name="Matthew 1:1" />
  <SCROLLBARS horizontal="144238544" vertical="135835520" /> </BIBLE>
 <BIBLE windowSettings="3" writeWindowType="0" >
<GEOMETRY width="308" x="0" y="376" isMaximized="0" height="352" />
  <MODULES separator="|" list="ASV" />
  <KEY name="Genesis 1:1" />
  <SCROLLBARS horizontal="144238088" vertical="144235600" /> </BIBLE>
 <BIBLE windowSettings="3" writeWindowType="0" >
<GEOMETRY width="308" x="312" y="376" isMaximized="0" height="352" />
  <MODULES separator="|" list="Amp" />
  <KEY name="Genesis 1:1" />
  <SCROLLBARS horizontal="137775560" vertical="144235600" /> </BIBLE>
 <BIBLE windowSettings="3" writeWindowType="0" >
<GEOMETRY width="308" x="624" y="376" isMaximized="0" height="352" />
  <MODULES separator="|" list="ASV" />
  <KEY name="Genesis 1:1" />
  <SCROLLBARS horizontal="144237632" vertical="144237968" />
</BIBLE></BibleTimeProfile>

I obviously quoted the file above for the purpose of proving that the
session was saved, but for some reason I'm not being allowed to load it.
The only other information I have to add is that I just made sure that
the user that I am logged in has ownership, and read, write and execute
permissions for the above mentioned directories and files, and
everything is in order.

That's all I have for now, except to clarify some things concerning what
you said about something possibly being wrong with my configuration,
before I sent my original message on this thread to you, I renamed my
BibleTime configuration files/directories for the purpose of seeing what
would happen if BibleTime wrote completly new config files.  The
directories/file that I renamed, and consequently were completely new
when I sent my original message are the following:
/home/elizabet/.kde/share/apps/bibletime
/home/elizabet/.kde/share/config/bibletimerc

I'm sure the above files have proper ownership/permissions.  If there
are other config files I should check, feel free to let me know.  The
only other possibilities I found was the following:
/usr/share/apps/bibletime
But upon investigation similar to the type mentioned above, nothing
there seemed applicable :)

Anyway, I'll check my e-mail again soon to see if there is anything else
I can do for you :)

Steven P. Ulrick