HelloZeroNet / HelloZeroNet/ZeroNet

content publish failed

Open
#535 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
18.8k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

upon this command:

Page.cmd("fileWrite", [inner_path, btoa(json_raw)], function(res) {
console.log(res);
Page.cmd("sitePublish",{"inner_path":inner_path,"sign":false}, function(res) {
console.log(res);
$scope.$apply(function() {
Page.cmd("wrapperNotification", ["done", "Comment posted!", 10000]);
$scope.comments.push(comment);
});
});
});

im getting this console error - content publish failed

terminal log:
`[13:11:12] - Unhandled exception
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(*self.args, **self.kwargs)
File "src/Site/Site.py", line 425, in publish
inner_path, limit, len(self.peers), num_connected_peers, diffs.keys(), float(len(str(diffs))) / 1024
AttributeError: 'NoneType' object has no attribute 'keys'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(*self.args, **self.kwargs)
File "src/Site/Site.py", line 425, in publish
inner_path, limit, len(self.peers), num_connected_peers, diffs.keys(), float(len(str(diffs))) / 1024
AttributeError: 'NoneType' object has no attribute 'keys'
`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.