Opened 10 years ago
Closed 9 years ago
#174 closed defect (worksforme)
Chimera starts with no tools
| Reported by: | Tom Goddard | Owned by: | Conrad Huang |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Component: | Tool Shed | Version: | |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | Mac OS X (Cocoa 64) | |
| Project: | chimera |
Description
About half the time Chimera starts with just a black graphics area and no tools (no command-line) and nothing in the Tools menu. This started happening yesterday. Sometimes doing a make fixes the problem, sometimes doing a make causes the problem -- it seems to be related to the order that files are written to disk in the build!
Some debugging revealed that the determining factor in whether any tools appear is the order that toolshed finds the tools.
Change History (2)
comment:1 by , 10 years ago
comment:2 by , 9 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
Tested all three versions: looping over
- unsorted entries,
- sorted by name, and
- reverse sorted by name.
All three versions worked. Probably fixed by all the code reorganization for toolshed since October 2015.
The tools always appear if I put a line to sort them by name in
in _scan_installed() replacing
with
If I reverse this sorted lists, the tools never appear.
I don't know why the order should matter. Possibly the order is related to doing a Python listdir() to read a directory.