Skip to content

Instantly share code, notes, and snippets.

View X1011's full-sized avatar

dan smith X1011

View GitHub Profile
@X1011
X1011 / gist:c94dc660867a426097fa3ac5ac8e08aa
Created June 19, 2023 00:04
Grist Error: [Sandbox] AttributeError get_one
le[26] BaseView viewSection 11 (Test) lastCursorPos {"rowId":0,"fieldIndex":0}
GristWSConnection.ts:99 GristWSConnection.send[true] {"reqId":40,"method":"fetchTable","args":[0,"Test"]}
GristWSConnection.ts:99 GristWSConnection: onmessage (130 bytes)
4GristWSConnection.ts:99 GristWSConnection.send[true] {"beat":"alive","url":"https://docs.getgrist.com/fY5LtGHsa8Ua/activity-tracker/p/5","docId":"fY5LtGHsa8UayUWYbrpATd"}
GristWSConnection.ts:99 GristWSConnection.send[true] {"beat":"alive","url":"https://docs.getgrist.com/fY5LtGHsa8Ua/activity-tracker/p/5","docId":"fY5LtGHsa8UayUWYbrpATd"}
GristWSConnection.ts:99 GristWSConnection.send[true] {"reqId":41,"method":"autocomplete","args":[0,"1","Test","get_one",1]}
GristWSConnection.ts:99 GristWSConnection: onmessage (33 bytes)
GristWSConnection.ts:99 GristWSConnection.send[true] {"reqId":42,"method":"applyUserActions","args":[0,[["UpdateRecord","_grist_Tables_column",34,{"isFormula":true,"formula":"1"}]],{"desc":null,"linkId":null}]}
GristWSConnection.ts:99 GristWSC
@X1011
X1011 / log.log
Created August 20, 2015 02:22
GDriveFS modification time
unique: 2624, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 12239
getattr /
2015-08-19 21:37:21,305 [gdrivefs.gdfs.fsutility DEBUG] --------------------------------------------------
2015-08-19 21:37:21,305 [gdrivefs.gdfs.fsutility DEBUG] >>>>>>>>>> getattr(4) >>>>>>>>>> (12239)
2015-08-19 21:37:21,305 [gdrivefs.gdfs.fsutility DEBUG] DATA: fh= [None] raw_path= [/]
2015-08-19 21:37:21,306 [gdrivefs.gdfs.fsutility DEBUG] <<<<<<<<<< getattr(4) (12239)
unique: 2624, success, outsize: 120
unique: 2625, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 12239
access / 01
unique: 2625, success, outsize: 16
@X1011
X1011 / gist:167bf93160972ef2da9e
Created August 19, 2015 22:38
GDriveFS export-format error log
~$ sudo GD_DEBUG=1 GD_MONITOR_CHANGES=0 gdfs -o allow_other /var/cache/gdfs.creds /mnt/drive/
2015-08-19 05:32:50,183 [gdrivefs.utility INFO] No mime-mapping was found.
2015-08-19 05:32:50,183 [gdrivefs.utility INFO] No extension-mapping was found.
2015-08-19 05:32:50,188 [__main__ DEBUG] Mounting GD with creds at [/var/cache/gdfs.creds]: /mnt/drive/
2015-08-19 05:32:50,188 [gdrivefs.gdfs.gdfuse DEBUG] Setting option [allow_other] to [True].
2015-08-19 05:32:50,188 [gdrivefs.gdfs.gdfuse DEBUG] Forwarding option [allow_other] with value [True] to FUSE.
2015-08-19 05:32:50,188 [gdrivefs.gdfs.gdfuse DEBUG] FUSE options:
{'allow_other': True}
2015-08-19 05:32:50,189 [gdrivefs.gdfs.gdfuse DEBUG] PERMS: F=777 E=666 NE=444
2015-08-19 05:32:50,194 [gdrivefs.gdtool.drive DEBUG] Getting authorized HTTP tunnel.
@X1011
X1011 / gist:693547bd9bea29aa678b
Created February 1, 2015 10:50
unit-test-example failure
codio@saturn-granite:~/workspace$ cabal test
Running 2 test suites...
Test suite spec: RUNNING...
Test suite spec: PASS
Test suite logged to: dist/test/unit-test-example-0.0.0-spec.log
Test suite doctest: RUNNING...
### Failure in Codec/Base64.hs:14: expression `decode (encode xs) == xs'
<interactive>:37:3:
Not in scope: ‘polyQu