J. F. Zhang

Results 18 comments of J. F. Zhang

@mousycoder 这样折腾真的很累, 其实想想我们只是想找个干净的地方写写文字, 记录生活点滴而已. 推荐farbox+dropbox, 非广告, 确实简单好用不折腾.

@mgorny well, I have fix this in PR: #129

> > 推荐直接用chrome应用 - wechat > > 有的人是没法登陆网页版wechat的 比如我,网页版微信被封两年多了。。。

> Is the same Dateparser version run locally and in the Docker image? Is the Python version the same? Does it work with the `master` branch of Dateparser? Does it...

Well, after several hours of debugging, I found the reason: https://github.com/scrapinghub/dateparser/blob/43fbc6a39f46a05ed2c74091275f4a198eb32ce6/dateparser/freshness_date_parser.py#L93 call this func https://github.com/scrapinghub/dateparser/blob/43fbc6a39f46a05ed2c74091275f4a198eb32ce6/dateparser/freshness_date_parser.py#L41 and `get_localzone()` func raise a `ValueError` exception: ```shell File "/usr/local/lib/python3.6/dist-packages/dateparser/freshness_date_parser.py", line 43, in get_local_tz return...

> could this be the reason behind this? 🤔 #857 yep, and I recommend printing the exception here instead of eat it with `None`:-) https://github.com/scrapinghub/dateparser/blob/43fbc6a39f46a05ed2c74091275f4a198eb32ce6/dateparser/date.py#L196 ```python ... def _try_freshness_parser(self): try:...

u need install this binary by `brew` ```shell brew install libusb ```

a valid install log should be like this: ```shell Vieux git:(master) ./vieux -i ~/Downloads/iPhone_4.0_64bit_10.3.3_14G60_Restore.ipsw /(//* / /(%@&/*((//*/ (((((* %(&@@(*,/// ((,((((((((/%%/,/(/// ((((((((/*.((((////////** (((((((((((((((((///////**. ((((((((((((((((//////*** . ((((((((((((((//*//(%#(/*.. (((((((((((////** /%%#(* . (////////////**..##(/* .....

@jams2 I have fix this in [fix: restore reader position after retrieving signature bytes](https://github.com/h2non/filetype.py/commit/bb8fe4cd3b147f4c88ec29bd6662c8995c3dc854) But it seems we need @h2non to push the latest code to [pypi](https://pypi.org/project/filetype/#history)