Ticket #1121 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Warning about missing NetworkX install can be misleading

Reported by: admackin Owned by: ales
Milestone: 2.5 Component: library
Severity: minor Keywords:
Cc: Blocking:
Blocked By:

Description

I have networkx installed, but I get a bogus UserWarning when I import Orange. Digging through it seems that I can't import orangeom for some reason (botched install? It is a separate problem in any case) but regardless, the warning I get is confusing. I suggest the try/except catching the ImportError should wrap only the networkx imports within Orange/network/network.py, rather than all the network import from Orange/network/__init__.py, as is currently the case.

Change History

comment:1 Changed 3 years ago by admackin

The orangeom problem is in a new ticket at #1122

comment:2 Changed 3 years ago by ales

  • Status changed from new to assigned
  • Owner set to ales
  • Component changed from bioinformatics add-on to library
  • Milestone set to 2.5

comment:3 Changed 3 years ago by Ales Erjavec <ales.erjavec@…>

  • Status changed from assigned to closed
  • Resolution set to fixed

In [33ad07c97b8067d19a405045c9549b3f255fa00f/orange]:

Test the import of networkx itself (fixes #1121).

Note: See TracTickets for help on using tickets.