#8 no default initialization

v0.8beta
closed-invalid
data import (1)
5
2005-06-06
2005-05-20
Leon
No

The program simply fails if there is no database set up
already. I would rather have it initialize the
database to something clean if the database does not
exist, as this would be much easier for new users. I
had to struggle through the conversion scripts, which
was a pain in the butt.

Discussion

    • assigned_to: nobody --> harry_b
    • status: open --> closed-invalid
     
  • Logged In: YES
    user_id=1175558

    Ahm, what exactly did you import?

    You can just start cpm, it reports that it can not open the
    database file as a warning and starts up.

    I can't see any reason why you had to struggle with any
    import scripts.

     
  • Logged In: NO

    When I started cpm, it reported that it could not open the
    database file and immediately exited. I had to make up a
    configuration file in one of the other forms and use an
    import script to convert it to the database file.

    The failure sequence was like this.
    It popped up a box saying "file error: error 2 (No such file
    or directory) reading file /home/leon/.cpmdb". I clicked OK.
    Then, it printed a line at the bottom saying "t-error: can
    not create alpha list".
    Then it exited.

     
    • status: closed-invalid --> open-invalid
     
  • Logged In: YES
    user_id=1175558

    Hi Leon,

    what machine did you run cpm on and what terminal size did
    you use?
    One more thing - did you modify the InfoboxHeight
    configuration in the cpmrc file?

    Harry

     
  • Leon
    Leon
    2005-05-24

    Logged In: YES
    user_id=1279976

    I'm running CPM on an x86 (Athlon 800MHz, 512 MB RAM) Gentoo
    system.

    It fails at my default terminal size (24x80) and with a huge
    terminal (roughly twice that in each dimension).

    No, I didn't modify the InfoboxHeight value. It is still at
    5. I'm attaching a copy of my .cpmrc file, but I don't
    think it's very interesting.

    Do you want me to recompile with debugging support and see
    what GDB has to say? Would you like an account on my
    computer so you can test it out yourself?

     
  • Leon
    Leon
    2005-05-24

    Logged In: YES
    user_id=1279976

    Sorry. Here's my .cpmrc file.

     
  • Leon
    Leon
    2005-05-24

    My .cpmrc configuration file

     
    Attachments
  • Logged In: YES
    user_id=1175558

    Until I don't know which unstable libraries are used on the
    bugging system, I won't track this error any further.

     
    • status: open-invalid --> closed-invalid