[MSNoise] Path problem on a windows system

Zhikun Liu zkliu at cugb.edu.cn
Sun Aug 23 17:36:35 UTC 2015


Dear Thomas and All,


I am a beginner of MSNoise and Python, but I am very interested in this powerful tool.
I installed msnoise on a windows system. When run "msnoise test", I got the following output.
Please note the line above star line. It seems that the path is wrong (a '\' is replaced by '/' 
as in linux system). How to fix it? Many thanks.




.................................................................................
test_006_get_stations (msnoise.test.tests.MSNoiseTests) ... ok
test_007_update_stations (msnoise.test.tests.MSNoiseTests) ... ok
test_008_scan_archive (msnoise.test.tests.MSNoiseTests) ... 2015-08-24 00:16:02
[INFO] *** Starting: Scan Archive ***
2015-08-24 00:16:02 [INFO] Initializing (should be run only once)
2015-08-24 00:16:02 [INFO] Will work on 1 threads
2015-08-24 00:16:02 [INFO] Started: C:\Users\ZL\Anaconda\lib\site-packages\ms
noise\test\data\2010/UV05\HHZ.D
************************************
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\ZL\Anaconda\lib\multiprocessing\forking.py", line 380, in ma
in
    prepare(preparation_data)
  File "C:\Users\ZL\Anaconda\lib\multiprocessing\forking.py", line 488, in pr
epare
    assert main_name not in sys.modules, main_name
AssertionError: __main__
[INFO/Process-1] process shutting down
[DEBUG/Process-1] running all "atexit" finalizers with priority >= 0
[DEBUG/Process-1] running the remaining "atexit" finalizers
2015-08-24 00:16:02 [INFO] Started: C:\Users\ZKLIU\Anaconda\lib\site-packages\ms
noise\test\data\2010/UV06\HHZ.D
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\ZL\Anaconda\lib\multiprocessing\forking.py", line 380, in ma
in
    prepare(preparation_data)
  File "C:\Users\ZL\Anaconda\lib\multiprocessing\forking.py", line 488, in pr
epare
    assert main_name not in sys.modules, main_name
AssertionError: __main__
[INFO/Process-2] process shutting down

.........................






Zhikun at CUGB


More information about the MSNoise mailing list