HelloZeroNet / HelloZeroNet/ZeroNet

content publish failed

オープン
#535 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
18.8k
フォーク
2.3k
PR マージ指標
30日以内にマージされた PR はありません

説明

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'
`

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。