-----原始邮件-----
发件人: "Thomas Lecocq" <thlecocq(a)gmail.com>
发送时间: 2015年8月24日 星期一
收件人: "Python Package for Monitoring Seismic Velocity Changes using Ambient
Seismic Noise" <msnoise(a)mailman-as.oma.be>
抄送:
主题: Re: [MSNoise] Path problem on a windows system
Hi!
It looks like a python problem on your machine. Is your username not-utf8?
It looks like two process don't use the same folder naming. It's a known
problem with python 2 ... msnoise is not yet py 3 compatible. If that is
the case, look for py2/anaconda issues with chinese/other user names.
Cheers
Thomas
On 23 Aug 2015 19:19, "Zhikun Liu" <zkliu(a)cugb.edu.cn> wrote:
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
_______________________________________________
MSNoise mailing list
MSNoise(a)mailman-as.oma.be
http://mailman-as.oma.be/mailman/listinfo/msnoise
_______________________________________________
MSNoise mailing list
MSNoise(a)mailman-as.oma.be