Skip to content

All network jobs failing after upgrade to v656 #1953

@mag2340

Description

@mag2340

Hydrus version

v656

Qt major version

Qt 5

Operating system

Linux (specify distro and version in comments)

Install method

Running from source

Install and OS comments

OS: Linux Mint 21.2 x86_64
Kernel: 5.15.0-164-generic

Bug description and reproduction

Upgraded from v654 to v656 a couple days ago. After upgrading, all network jobs (direct URL downloads and subscriptions) fail with the same traceback message, no matter which website is used. Tested on my Windows install (also running source) and had no issues there.

Log output

v656, linux, source
AttributeError
'ExtractResult' object has no attribute 'top_domain_under_public_suffix'
================ Exception ================
AttributeError: 'ExtractResult' object has no attribute 'top_domain_under_public_suffix'
================ Traceback ================
Traceback (most recent call last):
  File "<hydrus_path>/hydrus/client/importing/ClientImportSubscriptions.py", line 1724, in Sync
    self._SyncQueries( job_status )
  File "<hydrus_path>/hydrus/client/importing/ClientImportSubscriptions.py", line 332, in _SyncQueries
    self._SyncQuery( job_status, gug, query_header, query_log_container, status_prefix )
  File "<hydrus_path>/hydrus/client/importing/ClientImportSubscriptions.py", line 417, in _SyncQuery
    ( login_ok, login_reason ) = query_header.GalleryLoginOK( CG.client_controller.network_engine, self._name )
  File "<hydrus_path>/hydrus/client/importing/ClientImportSubscriptionQuery.py", line 442, in GalleryLoginOK
    nj = self._example_gallery_seed.GetExampleNetworkJob( self._GenerateNetworkJobFactory( subscription_name ) )
  File "<hydrus_path>/hydrus/client/importing/ClientImportGallerySeeds.py", line 348, in GetExampleNetworkJob
    network_job = network_job_factory( 'GET', url_to_fetch )
  File "<hydrus_path>/hydrus/client/importing/ClientImportSubscriptionQuery.py", line 136, in network_job_factory
    network_job = ClientNetworkingJobs.NetworkJobSubscription( subscription_key, *args, **kwargs )
  File "<hydrus_path>/hydrus/client/networking/ClientNetworkingJobs.py", line 1996, in __init__
    super().__init__( method, url, body = body, referral_url = referral_url, temp_path = temp_path )
  File "<hydrus_path>/hydrus/client/networking/ClientNetworkingJobs.py", line 170, in __init__
    self._second_level_domain = ClientNetworkingFunctions.ConvertURLIntoSecondLevelDomain( self._url )
  File "<hydrus_path>/hydrus/client/networking/ClientNetworkingFunctions.py", line 364, in ConvertURLIntoSecondLevelDomain
    return ConvertDomainIntoSecondLevelDomain( domain )
  File "<hydrus_path>/hydrus/client/networking/ClientNetworkingFunctions.py", line 138, in ConvertDomainIntoSecondLevelDomain
    return ClientNetworkingDomainTLDExtract.ConvertDomainIntoSecondLevelDomain( domain )
  File "<hydrus_path>/hydrus/client/networking/ClientNetworkingDomainTLDExtract.py", line 26, in ConvertDomainIntoSecondLevelDomain
    return tldextract.extract( domain ).top_domain_under_public_suffix
AttributeError: 'ExtractResult' object has no attribute 'top_domain_under_public_suffix'
================== Stack ==================
  File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap
    self._bootstrap_inner()
  File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "<hydrus_path>/hydrus/core/processes/HydrusThreading.py", line 416, in run
    callable( *args, **kwargs )
  File "<hydrus_path>/hydrus/client/importing/ClientImportSubscriptions.py", line 1855, in Work
    self._DoWork()
  File "<hydrus_path>/hydrus/client/importing/ClientImportSubscriptions.py", line 1841, in _DoWork
    self._subscription.Sync()
  File "<hydrus_path>/hydrus/client/importing/ClientImportSubscriptions.py", line 1754, in Sync
    HydrusData.ShowException( e )
  File "<hydrus_path>/hydrus/client/ClientData.py", line 174, in ShowExceptionClient
    ShowExceptionTupleClient( etype, value, tb, do_wait = do_wait )
  File "<hydrus_path>/hydrus/client/ClientData.py", line 213, in ShowExceptionTupleClient
    message = HydrusData.PrintExceptionTuple( etype, value, tb, do_wait = False )
  File "<hydrus_path>/hydrus/core/HydrusData.py", line 335, in PrintExceptionTuple
    stack_list = traceback.format_stack()
=================== End ===================

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions