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

IPFS: Can't pin files on previously working system #894

Closed
Suika opened this issue May 27, 2021 · 1 comment
Closed

IPFS: Can't pin files on previously working system #894

Suika opened this issue May 27, 2021 · 1 comment
Assignees
Labels
bug dev-notified HyDev has been notified of this system:ipfs IPFS related issues.

Comments

@Suika
Copy link
Collaborator

Suika commented May 27, 2021

Environment

Hydrus version: 441
Platform: docker
OS specifics: docker

What happens

After upgrade to 441 from 338, ipfs stopped pinning files.

Steps to reproduce

  1. Upgrade 338 > 441
  2. Try to pin files to ipfs
  3. Error

Desired outcome

Working ipfs

Error message / Log file / Screenshots

DBException
AttributeError: 'ServiceIPFS' object has no attribute 'GetAccount'
Traceback (most recent call last):
  File "/opt/hydrus/hydrus/core/HydrusThreading.py", line 401, in run
    callable( *args, **kwargs )
  File "/opt/hydrus/hydrus/client/gui/ClientGUI.py", line 213, in THREADUploadPending
    result = HG.client_controller.Read( 'pending', service_key, content_types_to_request )
  File "/opt/hydrus/hydrus/core/HydrusController.py", line 625, in Read
    return self._Read( action, *args, **kwargs )
  File "/opt/hydrus/hydrus/core/HydrusController.py", line 199, in _Read
    result = self.db.Read( action, *args, **kwargs )
  File "/opt/hydrus/hydrus/core/HydrusDB.py", line 1101, in Read
    return job.GetResult()
  File "/opt/hydrus/hydrus/core/HydrusData.py", line 1826, in GetResult
    raise e
hydrus.core.HydrusExceptions.DBException: AttributeError: 'ServiceIPFS' object has no attribute 'GetAccount'
Database Traceback (most recent call last):
  File "/opt/hydrus/hydrus/core/HydrusDB.py", line 727, in _ProcessJob
    result = self._Read( action, *args, **kwargs )
  File "/opt/hydrus/hydrus/client/db/ClientDB.py", line 15050, in _Read
    elif action == 'pending': result = self._GetPending( *args, **kwargs )
  File "/opt/hydrus/hydrus/client/db/ClientDB.py", line 11437, in _GetPending
    account = service.GetAccount()
AttributeError: 'ServiceIPFS' object has no attribute 'GetAccount'


Database Traceback (most recent call last):
  File "/opt/hydrus/hydrus/core/HydrusDB.py", line 727, in _ProcessJob
    result = self._Read( action, *args, **kwargs )
  File "/opt/hydrus/hydrus/client/db/ClientDB.py", line 15050, in _Read
    elif action == 'pending': result = self._GetPending( *args, **kwargs )
  File "/opt/hydrus/hydrus/client/db/ClientDB.py", line 11437, in _GetPending
    account = service.GetAccount()
AttributeError: 'ServiceIPFS' object has no attribute 'GetAccount'
@Suika Suika added bug system:ipfs IPFS related issues. labels May 27, 2021
@hydrusnetwork
Copy link
Owner

Thank you for this report, I am sorry for the trouble! I fixed one thing here for 441, looks like there is something else.

@hydrusnetwork hydrusnetwork added the dev-notified HyDev has been notified of this label May 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug dev-notified HyDev has been notified of this system:ipfs IPFS related issues.
Projects
None yet
Development

No branches or pull requests

2 participants