Skip to content

Instantly share code, notes, and snippets.

View Fenn-CS's full-sized avatar

F. E Noel Nfebe Fenn-CS

View GitHub Profile
@Fenn-CS
Fenn-CS / attribute-error.bash
Last active August 16, 2021 11:04
AttributeError: 'tuple' object has no attribute 'addCallbacks' [Twisted]
Traceback (most recent call last):
Failure: testtools.testresult.real._StringException: Traceback (most recent call last):
File "/home/fenn/opensource/tahoe/tahoe-lafs/venv/lib/python2.7/site-packages/twisted/internet/defer.py", line 151, in maybeDeferred
result = f(*args, **kw)
File "/home/fenn/opensource/tahoe/tahoe-lafs/venv/lib/python2.7/site-packages/testtools/testcase.py", line 723, in _run_test_method
return self._get_test_method()()
File "/home/fenn/opensource/tahoe/tahoe-lafs/src/allmydata/test/eliotutil.py", line 179, in run_with_logging
return test_method(*args, **kwargs)
File "/home/fenn/opensource/tahoe/tahoe-lafs/src/allmydata/test/web/test_root.py", line 111, in test_invalid
succeeded(AfterPreprocessing(bytes, Equals(b"Invalid capability"))),
@Fenn-CS
Fenn-CS / error.bash
Created September 24, 2021 13:00
UncleanReactorError: The reactor still thinks it needs to do things. Close all connections, kill all processes and make sure all delayed calls have either fired or been cancelled:
allmydata.test.mutable.test_filenode
Filenode
test_create ... [OK]
test_create_from_mdmf_readcap ... [OK]
test_create_from_mdmf_writecap ... [OK]
test_create_mdmf ... [OK]
test_create_mdmf_with_initial_contents ... [OK]
test_create_mdmf_with_initial_contents_function ... [OK]
test_create_with_initial_contents ... [OK]
test_create_with_initial_contents_function ... [OK]
@Fenn-CS
Fenn-CS / Review Assist.md
Last active June 6, 2022 18:52
Review Assist DRAFT.md

Manual Test Guide For Generate Unique downloadName

Purpose

We have a downloadName field that was introduced on the record and folder tables. The goal of this field is simply to ensure that each file has a unique name with which it can be downloaded.

Why is that neccesary?

Permanent supports duplicate display names. In other words you can have two files named My File.txt and My File.txt in the same folder. That is not a problem in Permanent because the file id's differentiate them.

@Fenn-CS
Fenn-CS / gist:57a1700c67e8c4468f06a142747e6756
Last active February 21, 2023 21:42
Rclone + Permanent COPY errors.

Errors from VIP archive COPY (rclone-permanent)

  • rclone copy dean-prod:/ dean-sync

First Reported

RCLONE SIDE