Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[APP SUBMITTED]: ValueError: (u'String does not contain a date:', u'just now') #6881

Closed
pct00 opened this issue Jun 27, 2019 · 8 comments
Closed
Labels

Comments

@pct00
Copy link

pct00 commented Jun 27, 2019

INFO

Python Version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
Operating System: Windows-10-10.0.17763
Locale: cp1252
Branch: master
Database: 44.14
Commit: 74c3f12
Link to Log: https://gist.github.com/822b30567536821e43cc92f51756e72a

ERROR

2019-06-27 02:25:34 ERROR    SEARCHQUEUE-DAILY-SEARCH :: [BTDB] :: [74c3f12] Failed parsing publishing date: just now
Traceback (most recent call last):
  File "C:\Program Files\Medusa\Medusa\medusa\providers\generic_provider.py", line 619, in parse_pubdate
    dt = parser.parse(pubdate, dayfirst=df, yearfirst=yf, fuzzy=True) - timedelta(days=day_offset)
  File "C:\Program Files\Medusa\Medusa\ext\dateutil\parser\_parser.py", line 1358, in parse
    return DEFAULTPARSER.parse(timestr, **kwargs)
  File "C:\Program Files\Medusa\Medusa\ext\dateutil\parser\_parser.py", line 652, in parse
    raise ValueError("String does not contain a date:", timestr)
ValueError: (u'String does not contain a date:', u'just now')

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@triage-new-issues triage-new-issues bot added the triage Untriaged issue label Jun 27, 2019
@p0psicles
Copy link
Contributor

Did btdb switch to relative date / time?

@kfear27
Copy link

kfear27 commented Aug 27, 2019

INFO

Python Version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
Operating System: Windows-10-10.0.18362
Locale: cp1252
Branch: master
Database: 44.14
Commit: 74c3f12
Link to Log: https://gist.github.com/f04215a803a6d0dc85e2da847eff4c05

ERROR

2019-08-27 03:56:55 ERROR    SEARCHQUEUE-BACKLOG-255649 :: [BTDB] :: [74c3f12] Failed parsing publishing date: just now
Traceback (most recent call last):
  File "C:\Medusa\Medusa\medusa\providers\generic_provider.py", line 619, in parse_pubdate
    dt = parser.parse(pubdate, dayfirst=df, yearfirst=yf, fuzzy=True) - timedelta(days=day_offset)
  File "C:\Medusa\Medusa\ext\dateutil\parser\_parser.py", line 1358, in parse
    return DEFAULTPARSER.parse(timestr, **kwargs)
  File "C:\Medusa\Medusa\ext\dateutil\parser\_parser.py", line 652, in parse
    raise ValueError("String does not contain a date:", timestr)
ValueError: (u'String does not contain a date:', u'just now')

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@kfear27
Copy link

kfear27 commented Sep 2, 2019

INFO

Python Version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
Operating System: Windows-10-10.0.18362
Locale: cp1252
Branch: master
Database: 44.14
Commit: 74c3f12
Link to Log: No Log available

ERROR

2019-09-01 20:13:13 ERROR    SEARCHQUEUE-BACKLOG-255649 :: [BTDB] :: [74c3f12] Failed parsing publishing date: just now
Traceback (most recent call last):
  File "C:\Medusa\Medusa\medusa\providers\generic_provider.py", line 619, in parse_pubdate
    dt = parser.parse(pubdate, dayfirst=df, yearfirst=yf, fuzzy=True) - timedelta(days=day_offset)
  File "C:\Medusa\Medusa\ext\dateutil\parser\_parser.py", line 1358, in parse
    return DEFAULTPARSER.parse(timestr, **kwargs)
  File "C:\Medusa\Medusa\ext\dateutil\parser\_parser.py", line 652, in parse
    raise ValueError("String does not contain a date:", timestr)
ValueError: (u'String does not contain a date:', u'just now')

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@scarygary
Copy link

INFO

Python Version: 2.7.15 (default, Oct 2 2018, 01:21:44) [GCC 4.2.1 Compatible FreeBSD Clang 6.0.0 (tags/RELEASE_600/final 326565)]
Operating System: FreeBSD-11.2-STABLE-amd64-64bit-ELF
Locale: UTF-8
Branch: master
Database: 44.14
Commit: baad1e5
Link to Log: https://gist.github.com/a2e06d74019bceaf35f308fe399c972b

ERROR

2019-10-02 22:49:12 ERROR    SEARCHQUEUE-DAILY-SEARCH :: [BTDB] :: [baad1e5] Failed parsing publishing date: just now
Traceback (most recent call last):
  File "/usr/local/medusa/medusa/providers/generic_provider.py", line 619, in parse_pubdate
    dt = parser.parse(pubdate, dayfirst=df, yearfirst=yf, fuzzy=True) - timedelta(days=day_offset)
  File "/usr/local/medusa/ext/dateutil/parser/_parser.py", line 1358, in parse
    return DEFAULTPARSER.parse(timestr, **kwargs)
  File "/usr/local/medusa/ext/dateutil/parser/_parser.py", line 652, in parse
    raise ValueError("String does not contain a date:", timestr)
ValueError: (u'String does not contain a date:', u'just now')

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@triage-new-issues triage-new-issues bot removed the triage Untriaged issue label Oct 11, 2019
@p0psicles
Copy link
Contributor

Okay, verified. Need to switch to fuzzy. Like just now, 1 hour, 1 day, 3 months. etc.

@scarygary
Copy link

INFO

Python Version: 2.7.15 (default, Oct 2 2018, 01:21:44) [GCC 4.2.1 Compatible FreeBSD Clang 6.0.0 (tags/RELEASE_600/final 326565)]
Operating System: FreeBSD-11.2-STABLE-amd64-64bit-ELF
Locale: UTF-8
Branch: master
Database: 44.14
Commit: baad1e5
Link to Log: https://gist.github.com/74a3ab6d2aed9f945ebe00883a3883df

ERROR

2019-10-10 23:31:16 ERROR    SEARCHQUEUE-DAILY-SEARCH :: [BTDB] :: [baad1e5] Failed parsing publishing date: just now
Traceback (most recent call last):
  File "/usr/local/medusa/medusa/providers/generic_provider.py", line 619, in parse_pubdate
    dt = parser.parse(pubdate, dayfirst=df, yearfirst=yf, fuzzy=True) - timedelta(days=day_offset)
  File "/usr/local/medusa/ext/dateutil/parser/_parser.py", line 1358, in parse
    return DEFAULTPARSER.parse(timestr, **kwargs)
  File "/usr/local/medusa/ext/dateutil/parser/_parser.py", line 652, in parse
    raise ValueError("String does not contain a date:", timestr)
ValueError: (u'String does not contain a date:', u'just now')

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@p0psicles p0psicles mentioned this issue Oct 11, 2019
3 tasks
@scarygary
Copy link

INFO

Python Version: 2.7.15 (default, Oct 2 2018, 01:21:44) [GCC 4.2.1 Compatible FreeBSD Clang 6.0.0 (tags/RELEASE_600/final 326565)]
Operating System: FreeBSD-11.2-STABLE-amd64-64bit-ELF
Locale: UTF-8
Branch: master
Database: 44.14
Commit: baad1e5
Link to Log: https://gist.github.com/bc6c3b965a41fa7190a3444d6e2513f9

ERROR

2019-10-20 15:34:44 ERROR    SEARCHQUEUE-DAILY-SEARCH :: [BTDB] :: [baad1e5] Failed parsing publishing date: just now
Traceback (most recent call last):
  File "/usr/local/medusa/medusa/providers/generic_provider.py", line 619, in parse_pubdate
    dt = parser.parse(pubdate, dayfirst=df, yearfirst=yf, fuzzy=True) - timedelta(days=day_offset)
  File "/usr/local/medusa/ext/dateutil/parser/_parser.py", line 1358, in parse
    return DEFAULTPARSER.parse(timestr, **kwargs)
  File "/usr/local/medusa/ext/dateutil/parser/_parser.py", line 652, in parse
    raise ValueError("String does not contain a date:", timestr)
ValueError: (u'String does not contain a date:', u'just now')

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@p0psicles
Copy link
Contributor

Fixed in develop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants
@scarygary @p0psicles @medariox @pct00 @kfear27 and others