Closed dcavar closed 7 years ago
This is weird because main.py
doesn't exist in the aligner. It sounds
like you have a weird installation---can you try removing the package then
just reinstalling from GitHub in a clean directory?
On Sat, Apr 29, 2017 at 7:03 PM, Damir Cavar notifications@github.com wrote:
Any idea, what might be causing this error?
Traceback (most recent call last): File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/usr/lib/python3.5/runpy.py", line 85, in _run_code exec(code, runglobals) File "/usr/local/lib/python3.5/dist-packages/Prosodylab Aligner-2.0-py3.5.egg/aligner/main.py", line 92, in File "/usr/local/lib/python3.5/dist-packages/Prosodylab_ Aligner-2.0-py3.5.egg/aligner/corpus.py", line 66, in init File "/usr/lib/python3.5/re.py", line 163, in match return _compile(pattern, flags).match(string) TypeError: expected string or bytes-like object
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/prosodylab/Prosodylab-Aligner/issues/60, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJuOYaaIn249zptROuKTktk7Aw5DRG2ks5r08HKgaJpZM4NMaNg .
Well, we installed it from scratch on multiple systems, Win 10, Ubuntu 17.04, Mac OSX Sierra, using the git-distro, same issue. Three of us on four different machines. Maybe it is our data, maybe something in the transcription??? Shall I post the link to the data? It is the Chatino data from GORILLA on LINGUIST List, we just prepared it for Prosodylab/HTK. Any help would be very much appreciated. :-) Thanks!
It showing up as 'main.py' is just because github parsing interprets the underscores, making it bold, line 92 of '__main__.py' is the initialization of a Corpus object. Looking at https://github.com/prosodylab/Prosodylab-Aligner/blob/master/aligner/corpus.py#L66, phoneset doesn't have just strings in it, but I don't know why that would be the case.
Yes, please send me something I can replicate (kylebgorman@gmail.com) and I can take a look later today. Sorry you're having trouble.
On Mon, May 1, 2017 at 8:09 PM, Michael McAuliffe notifications@github.com wrote:
It showing up as 'main.py' is just because github parsing interprets the underscores, making it bold, line 92 of 'main.py' is the initialization of a Corpus object. Looking at https://github.com/prosodylab/ Prosodylab-Aligner/blob/master/aligner/corpus.py#L66, phoneset doesn't have just strings in it, but I don't know why that would be the case.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/prosodylab/Prosodylab-Aligner/issues/60#issuecomment-298465090, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJuOcfjiWDjvrQlk7h0yz9Jg21vwgCGks5r1nQxgaJpZM4NMaNg .
Any news? Let me know if I can close the issue.
Hi Kyle,
Yes, it all worked. If I remember correctly, it was only about quoting. We got the aligner for Yiddish and Chatino.
Thanks!
Best wishes
DC
-- Damir Cavar http://damir.cavar.me/
-----Original Message----- From: Kyle Gorman notifications@github.com To: prosodylab/Prosodylab-Aligner Prosodylab-Aligner@noreply.github.com Cc: Damir Cavar dcavar@me.com, Author author@noreply.github.com Sent: Mon, 17 Jul 2017 8:54 PM Subject: Re: [prosodylab/Prosodylab-Aligner] getting an error in re.py (#60)
Any news? Let me know if I can close the issue.
-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/prosodylab/Prosodylab-Aligner/issues/60#issuecomment-315926763
Any idea, what might be causing this error?
Traceback (most recent call last): File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/usr/lib/python3.5/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.5/dist-packages/Prosodylab_Aligner-2.0-py3.5.egg/aligner/main.py", line 92, in
File "/usr/local/lib/python3.5/dist-packages/Prosodylab_Aligner-2.0-py3.5.egg/aligner/corpus.py", line 66, in init
File "/usr/lib/python3.5/re.py", line 163, in match
return _compile(pattern, flags).match(string)
TypeError: expected string or bytes-like object