View Issue Details

IDProjectCategoryView StatusLast Update
0000314SkyChart1-Softwarepublic08-09-18 08:01
ReporterEmil Neata Assigned ToPatrick Chevalley  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Platformx86OSWindowsOS VersionXP SP2
Product Version3.0.1.3 SVN 
Fixed in Version3.0.1.3 SVN 
Summary0000314: Major problem with the Oct 13 snapshot
DescriptionThe program only displays a black screen, with a broken menu.
TagsNo tags attached.
Attached Files
CdC_ini-files.zip (17,917 bytes)
cartesduciel.ini (14,523 bytes)
gdb.zip (1,901 bytes)
mattia_ini.zip (4,477 bytes)
Cartes du Ciel.zip (4,010 bytes)

Relationships

related to 0000312 closedPatrick Chevalley Crashes immediatly after startup 
related to 0000309 closedPatrick Chevalley Crash minimizing to taskbar 

Activities

Patrick Chevalley

07-10-16 16:08

administrator   ~0000492

Can you try with today snapshot.
I corrected an issue with thread management that can give many symptom.

Emil Neata

07-10-16 16:37

reporter   ~0000497

Hello Patrick! Today's snapshot (Oct 16) displays the same black screen. If I try to configure the program from the menu, I get an error ("Access violation").

marc fokker

07-10-17 00:43

reporter   ~0000501

Hi Patrick, it seems that issues 309, 312 and 314 are solved. Many thanks!

marc fokker

07-10-17 00:51

reporter   ~0000502

Uh, oh... I was a bit early with my response. I don't find trouble using CdC as an 'Adminístrator' under Windoze XP, for an ordinary user nothing seems to be changed.. Sorry. Probably some kind of a user-rights issue?

marc fokker

07-10-17 01:01

reporter   ~0000503

Now it starts up with a empty black screen, this time the box "invalid argument" doesn't show up. The program doesn't respond to changes of most configuration item from the menu bar. The box "access violation" appears in some cases, for example after trying to change the time.

Patrick Chevalley

07-10-17 13:49

administrator   ~0000508

I do some testing with user right and I can reproduce the Access Violation problem when the database directory do not exist or is not writable.
Also the directory is not created if "My Documents" is redirected to a network server instead of the local disk.

The new today snapshot do more checking when creating the directory and is also more robust in case of error.

If you have black screen or Access violation error do the following:
- Install October 17 snapshot
- remove the directory "My Documents\Cartes du Ciel"
- start the program

marc fokker

07-10-17 22:06

reporter   ~0000509

The reported problem is solved.
I followed Patrick's suggestions. Everything seems to do fine again, as an administrator and as a user too. Because of removing de configuration directories, you will lose the configurations.
I don't have a proper explanation, I always had my configuration on the same local simple disk as where the rest of the of the program lives: C:. But it 's the result that counts! Thanks.

Patrick Chevalley

07-10-18 19:48

administrator   ~0000511

Thank you for testing Marc!
I close this issue now.

Emil Neata

07-10-18 20:03

reporter   ~0000514

Patrick. If I remove the My Documents\Cartes du Ciel directory, the program works fine. I lose my previous settings, but the program works. However, when I close the program it asks me if I want to save my settings. I say Yes, and when I open the program again it reverts to the black screen and broken menu.

Emil Neata

07-10-18 20:15

reporter   ~0000515

Just tested today's (Oct 18) snapshot. It has the same problem. If I select "save settings" it reverts to the black screen when I next open CdC.

Patrick Chevalley

07-10-18 20:24

administrator   ~0000517

Please upload here your file "My Documents\Cartes du Ciel\cartesduciel.ini"

Do you change any specific setting before to save ?

Emil Neata

07-10-18 20:35

reporter   ~0000518

I have uploaded the ini file. I do not change any settings before saving.

marc fokker

07-10-18 22:09

reporter   ~0000519

Oh dear.. I 'm afraid I have to admit I 've got the same problems as Emil Neata! There are no problems to install everything, running as 'adminstrator' doesn't give trouble. As a ordinary user I can configure and run it the first time without trouble. Closing and restarting the program gives me the black screen that Emil also experienced. At first glance the ini file seems to be OK.
Running CdC as an admin is no problem..

Patrick Chevalley

07-10-19 12:58

administrator   ~0000522

Can you send me the .ini file by email, it look like there is some problem with the upload here.

marc fokker

07-10-19 20:50

reporter   ~0000523

Patrick, I send you these files also to your email address. I didn't know where you prefer them.. The last separate file is the one that CdC writes without saving after program termination.

Patrick Chevalley

07-10-28 17:09

administrator   ~0000527

Please try again with today snapshot. I add more checking to ensure that read/only file is really open read/only and not induce any permission error.

marc fokker

07-10-28 22:43

reporter   ~0000529

Hi Patrick,

Here my first results. I 'm afraid the problem is not solved. Again, the Administrator user doesn't have trouble using CdC in the way as one would expect. A limited user however only can start CdC succefully as long as there is no complete saved configuration in the ...\My documentents\Cartes du Ciel\ directory. Easiest way for a common user is to delete the cartesduciel.ini file, and configure it every time.

The last ini-file is one that I retrieved today, the only saved items are about the observatory.

Some answers to your questions:
> On the file marc_configured I see you activate Xplanet, can you try without
> that.
Today I threw away the complete personal Cartes du Ciel settings-path, and configured from scratch.
I didn't configure Xplanet this time.

> On the same file the observatory name is not saved, but the coordinates and
> timezone are. Do you remark anything special when you first start the program
> and it show you the observatory setting panel ?
The observatory entry was succesfull saved in the config of the 'Administrator'-user, but it wasn't in the simple 'Marc'-user. I didn't notice anything special when I set the observatory. In today's snapshot 20071028 it is correctly saved for the user 'Marc'.
 
> NumChart is treated the same if 0 or 1 but it is strange the value 1 is not
> saved in this case because the default chart data are. Something is probably
> already wrong on the first run before you save the configuration.
I 'm sorry, my imagination doesn't go far here. Since snapshot 20071016 I rename the .\My documents\Cartes du Ciel\ directory in something like .\My documents\20071016_Cartes du Ciel\ before starting Cartes du Ciel starting the first time.

> With the today snapshot I add code to ensure that any file that only need to
> be read is really open only in read/only mode. This is already implicitly the
> case but I have some problem with that in the past.
> Can you try with that ?
Yes, I will try and go on with testing :-)

Best regards, Marc

Mattia Verga

07-11-04 12:04

reporter   ~0000530

Running as user with administrator privileges gives the same error.
In the attached gdb.zip you will find:
cdc_trace1: first run, program creates database and works fine.
cdc_trace2: second run, program doesn't work.
debug: output of gdb (program won't even start, it freezes on the splash screen).

Patrick Chevalley

07-11-05 07:45

administrator   ~0000531

Mattia,
the gdb trace is very useful thanks!
It think you want a FOV of 3E19 which indeed is not possible.

Can you upload the cartesduciel.ini file when this error occur. This is very important to understand if the wrong value was saved on the last session, or badly initialized in this session.

Mattia Verga

07-11-05 16:53

reporter   ~0000532

I think the value is badly initialized: if I look in the right place, in the cdc.ini the fov is set to 1.57079632679489.

See the mattia_ini.zip file.

Frank Schmidt

07-11-15 20:30

reporter   ~0000537

Im having the same Problem since October.

Its all like mentioned above.

Deleting My Documents\Cartes Du Ciel solves the problem , but only for one startup.

As soon as i save settings. Screen is black and menu is mixed up.

I attached cartesduciel.ini and cdctrace.txt

Cartes du Ciel.zip [^] (4,010 bytes) 07-11-15 20:29

MFG

Smithsonian

PS: Great Project.

marc fokker

07-11-20 08:12

reporter   ~0000539

A few minutes ago I downloaded de 20071118 snapshot, at first appearance it seems to be OK, for both the Administrator as a user. Today I will do some more extensive testing. Thanks!

marc fokker

07-11-20 13:37

reporter   ~0000540

I 'm convinced that this bug is solved with the 20071118 snapshot. I am going to use it, looking for the less annoying bugs. :-)

Frank Schmidt

07-11-20 14:17

reporter   ~0000541

I tested the last Snapshot to.

It works.

Fine Work.

thanx

Smithsonian

Mattia Verga

07-11-21 18:51

reporter   ~0000542

I can confirm that the last snapshot resolve the bug, although it seems to be sluggish compared to previous versions moving the fov with sliders.

Patrick Chevalley

07-11-22 07:22

administrator   ~0000543

Last edited: 07-11-22 07:23

Thank you very much for your report, it is very difficult for me to solve a bug a never encouter myself and your help was very precious.

There is a problem with the display refresh with last snapshot because I remove double buffering to solve a Mac OS problem and miss to reactivate it.

Issue History

Date Modified Username Field Change
07-10-15 02:17 Emil Neata New Issue
07-10-16 16:08 Patrick Chevalley Note Added: 0000492
07-10-16 16:08 Patrick Chevalley Assigned To => Patrick Chevalley
07-10-16 16:08 Patrick Chevalley Status new => feedback
07-10-16 16:12 Patrick Chevalley Relationship added related to 0000312
07-10-16 16:13 Patrick Chevalley Relationship added related to 0000309
07-10-16 16:37 Emil Neata Note Added: 0000497
07-10-17 00:43 marc fokker Note Added: 0000501
07-10-17 00:51 marc fokker Note Added: 0000502
07-10-17 01:01 marc fokker Note Added: 0000503
07-10-17 13:49 Patrick Chevalley Note Added: 0000508
07-10-17 22:06 marc fokker Note Added: 0000509
07-10-18 19:48 Patrick Chevalley Status feedback => resolved
07-10-18 19:48 Patrick Chevalley Fixed in Version 0.3.0 => 3.0.1.3 SVN
07-10-18 19:48 Patrick Chevalley Resolution open => fixed
07-10-18 19:48 Patrick Chevalley Note Added: 0000511
07-10-18 20:03 Emil Neata Status resolved => feedback
07-10-18 20:03 Emil Neata Resolution fixed => reopened
07-10-18 20:03 Emil Neata Note Added: 0000514
07-10-18 20:15 Emil Neata Note Added: 0000515
07-10-18 20:24 Patrick Chevalley Note Added: 0000517
07-10-18 20:35 Emil Neata Note Added: 0000518
07-10-18 22:09 marc fokker Note Added: 0000519
07-10-19 12:58 Patrick Chevalley Note Added: 0000522
07-10-19 20:47 marc fokker File Added: CdC_ini-files.zip
07-10-19 20:50 marc fokker Note Added: 0000523
07-10-19 20:50 marc fokker File Added: shut_without_saving_config_cartesduciel.ini
07-10-28 17:09 Patrick Chevalley Note Added: 0000527
07-10-28 22:40 marc fokker File Added: cartesduciel.ini
07-10-28 22:43 marc fokker Note Added: 0000529
07-11-04 12:04 Mattia Verga Note Added: 0000530
07-11-04 12:04 Mattia Verga File Added: gdb.zip
07-11-05 07:45 Patrick Chevalley Note Added: 0000531
07-11-05 16:53 Mattia Verga Note Added: 0000532
07-11-05 16:53 Mattia Verga File Added: mattia_ini.zip
07-11-15 20:29 Frank Schmidt File Added: Cartes du Ciel.zip
07-11-15 20:30 Frank Schmidt Note Added: 0000537
07-11-20 08:12 marc fokker Note Added: 0000539
07-11-20 13:37 marc fokker Note Added: 0000540
07-11-20 14:17 Frank Schmidt Note Added: 0000541
07-11-21 18:51 Mattia Verga Note Added: 0000542
07-11-22 07:22 Patrick Chevalley Status feedback => resolved
07-11-22 07:22 Patrick Chevalley Resolution reopened => fixed
07-11-22 07:22 Patrick Chevalley Note Added: 0000543
07-11-22 07:23 Patrick Chevalley Note Edited: 0000543
08-09-18 08:01 Patrick Chevalley Status resolved => closed