ipython/ipython — Issue #1279: ImportError: cannot import name S1 (from logging)
Author: risa2000
Created: 2012-01-17 14:57:37+00:00
State: open

This one was working until recently fine. Now, when I run my app, I am receiving following error (below). Running directly from command line works fine. I am running python 2.7.2, Windows XP SP3 and latest stable IPython 0.12. Directly trying, ```logging``` or ```S1``` does not seem to defined, but I assume that they collide somewhere down the road of the IPython invocation.

```
In [9]: import icao
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
M:\Work\python\apps\icao\ in ()
----> 1 import icao

M:\Work\python\apps\icao\icao.py in ()
12 import ossl
13 import oids
---> 14 from logging import S1, S2, LOG_INFO
15 # RM utils

16 from scsim.iso import smapdu, acmd

ImportError: cannot import name S1

In [10]:```