Ticket #206 (closed defect: fixed)

Opened 9 months ago

Last modified 3 months ago

Errors when anticipated menu items are not present are confusing

Reported by: rduhon@IU.EDU Assigned to: huangb@IU.EDU
Priority: low Milestone:
Component: Algorithm Version:
Severity: minor Keywords:
Cc:

Description

Someone corresponding with me just downloaded and installed NWB, and received the following (along with numerous other) errors:

Can not find an algorithm package associated with Menu: Kamada-Kawai (JUNG) and pid: edu.iu.nwb.visualization.jungnetworklayout.JUNGKamadaKawaiLayout. Skip to show it on the menu.

We need to be much more circumspect about what we communicate via the console when that happens. At most one minimal message should display, not a huge number.

Change History

(follow-up: ↓ 3 ) 02/20/08 11:46:34 changed by mwlinnem@IU.EDU

Bruce and I were just talking about this problem, and agree that we should no display any error if an algorithm isn't there. If everyone else agrees, we can go ahead and remove this behavior.

07/02/08 10:45:12 changed by huangb@IU.EDU

  • owner changed from nwb to huangb@IU.EDU.
  • priority changed from highest to low.

(in reply to: ↑ 1 ) 07/07/08 14:49:51 changed by huangb@IU.EDU

I have some concerns on the suggested solution. Although all algorithm plugins can be dynamically removed/added in the NWB tool, we package everything in one release. Not many users act as an advanced user and try to remove plugins from nwb installation. Missing an algorithm reveals the potential problem during the installation. When outside users report bugs or ask for help, we always need to identify/duplicate the problem. Be aware of the potential installation problem is helpful and could save us the time for debugging.

Replying to mwlinnem@IU.EDU:

Bruce and I were just talking about this problem, and agree that we should no display any error if an algorithm isn't there. If everyone else agrees, we can go ahead and remove this behavior.

08/13/08 13:14:57 changed by mwlinnem@IU.EDU

  • status changed from new to closed.
  • resolution set to fixed.

Ok. So I changed my mind on this one. The error now reads

"Oops! Network Workbench tried to place an algorithm with the id '" + pid + "' on the menu, but the algorithm could not be found. If you see this error, please contact nwb-helpdesk@googlegroups.com, or post a ticket on our bug tracker at http://cns-trac.slis.indiana.edu/trac/nwb ."

Closing as fixed.