[MSNoise] archive scan crash

Pálmi Erlendsson Palmi.Erlendsson at isor.is
Tue Jun 6 11:00:59 UTC 2017


Hi again,

Sorry about this, seems I was back to version 1.4.?. I am not sure how that happened. 
I was trying to get a station map but basemap was missing. Is it possible that conda did a downgrade?

Now I have removed version 1.4 and installed version 1.5 again and it seems to be ok.

thanks

palmi


-----Original Message-----
From: msnoise-bounces at mailman-as.oma.be [mailto:msnoise-bounces at mailman-as.oma.be] On Behalf Of Thomas Lecocq
Sent: 6. júní 2017 09:10
To: msnoise at mailman-as.oma.be
Subject: Re: [MSNoise] archive scan crash

Hi Palmi,

which version are you using ? This should have been fixed in the 1.5 version.

Tom


On 06/06/2017 10:41, Pálmi Erlendsson wrote:
> Hi Tom,
>
> Thanks for your reply!
>
> It crashed but unfortunately I lost the terminal with the messages. When I run again (without the --init) this happens:
>
> [msnoise at gaur ~]$ msnoise -v scan_archive
> 2017-06-06 08:33:43 [INFO] *** Starting: Scan Archive *** raceback 
> (most recent call last):ork on 1 threads
>    File "/home/msnoise/anaconda3/bin/msnoise", line 11, in <module>
>      sys.exit(run())
>    File "/home/msnoise/anaconda3/lib/python3.5/site-packages/msnoise/scripts/msnoise.py", line 614, in run
>      cli(obj={})
>    File "/home/msnoise/anaconda3/lib/python3.5/site-packages/click/core.py", line 722, in __call__
>      return self.main(*args, **kwargs)
>    File "/home/msnoise/anaconda3/lib/python3.5/site-packages/click/core.py", line 697, in main
>      rv = self.invoke(ctx)
>    File "/home/msnoise/anaconda3/lib/python3.5/site-packages/click/core.py", line 1066, in invoke
>      return _process_result(sub_ctx.command.invoke(sub_ctx))
>    File "/home/msnoise/anaconda3/lib/python3.5/site-packages/click/core.py", line 895, in invoke
>      return ctx.invoke(self.callback, **ctx.params)
>    File "/home/msnoise/anaconda3/lib/python3.5/site-packages/click/core.py", line 535, in invoke
>      return callback(*args, **kwargs)
>    File "/home/msnoise/anaconda3/lib/python3.5/site-packages/click/decorators.py", line 17, in new_func
>      return f(get_current_context(), *args, **kwargs)
>    File "/home/msnoise/anaconda3/lib/python3.5/site-packages/msnoise/scripts/msnoise.py", line 262, in scan_archive
>      main(init, threads=ctx.obj['MSNOISE_threads'])
>    File "/home/msnoise/anaconda3/lib/python3.5/site-packages/msnoise/s01scan_archive.py", line 192, in main
>      files = sorted(stdout.replace('\r', '').split('\n'))
> TypeError: a bytes-like object is required, not 'str'
> [msnoise at gaur ~]$
>
>
> /palmi
>
>
>
>
> -----Original Message-----
> From: msnoise-bounces at mailman-as.oma.be 
> [mailto:msnoise-bounces at mailman-as.oma.be] On Behalf Of Thomas Lecocq
> Sent: 6. júní 2017 00:55
> To: msnoise at mailman-as.oma.be
> Subject: Re: [MSNoise] archive scan crash
>
> Hi Pálmi,
>
> well, in theory, it should just skip the unknown format... what is the traceback message you got from the scan_archive step ? did it crash or just warned you ?
>
> Cheers
>
> tom
>
>
> On 06/06/2017 00:14, Pálmi Erlendsson wrote:
>> Greetings!
>>
>> I was doing initial scan of my archive:  msnoise -t 2 scan_archive 
>> --init This is a SDS structured archive and msnoise stumbled upon a shell script, tmp.sh, in the wrong place after successfully scaning 273271 files:
>>
>> [msnoise at gaur SUH]$ pwd
>> /mnt/archive/2016/IM/SUH
>> [msnoise at gaur SUH]$ ls
>> HHE.D  HHN.D  HHZ.D  tmp.sh
>> [msnoise at gaur SUH]$
>>
>> The scan crashed and complained that tmp.sh was not a direcory. Shouldn't msnoise just ignore files of wrong format?
>>
>> I am running msnoise 1.5 on CentOS Linux release 7.2.1511 machine ...
>> if that is of any interest :)
>>
>> cheers
>>
>> palmi
>>
>>
>>     Pálmi Erlendsson
>>      Jarðfræðingur
>>      Sími / Tel: +354 528 1536 gsm: +354 841 2938
>>      ÍSOR / Iceland GeoSurvey
>>      Grensásvegur 9, 108 Reykjavík - www.isor.is
>>      ___________________________________
>> _______________________________________________
>> MSNoise mailing list
>> MSNoise at mailman-as.oma.be
>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> _______________________________________________
> MSNoise mailing list
> MSNoise at mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise
> _______________________________________________
> MSNoise mailing list
> MSNoise at mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise

_______________________________________________
MSNoise mailing list
MSNoise at mailman-as.oma.be
http://mailman-as.oma.be/mailman/listinfo/msnoise


More information about the MSNoise mailing list