Python write_stream sample returns AttributeError when run
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
調査の方向性
ドキュメントに記載された Docker コマンドで起動したサーバーに対して write_stream.py を実行して失敗を再現し、その後 list_streams.py と比較します。write_stream.py のストリーム検索を調査し、サンプルで想定されているストリームの設定を確認します。サンプルが新しいサーバーに対して動作するか、AttributeError が発生しないために必要な設定を明確に文書化できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Hi,
I am running a local timebase server using docker using the following command:
docker run --rm -d -p 8011:8011 --name=timebase-server --ulimit nofile=65536:65536 finos/timebase-ce-server:6.1
This allows me to run the list_streams.py sample successfully.
However, when I run the write_stream.py sample I get the following error:
Connected to dxtick://localhost:8011
Connection dxtick://localhost:8011 closed.
Traceback (most recent call last):
File "write_stream.py", line 28, in <module>
loader = stream.createLoader(tbapi.LoadingOptions())
AttributeError: 'NoneType' object has no attribute 'createLoader'
A cursory look at the code leads me to believe that the bitfinex stream does not exist in the timebase server so the person who wrote this sample was probably pointing to a timebase server that had already been primed in some way. So this sample does not stand by itself and needs some unknown setup.
I have attempted to create a stream instead of opening it but I get further errors due to the stream not being setup correctly (as expected):
No message types defined for stream at DxApiImpl::TickLoaderImpl *DxApiImpl::TickLoaderImpl::open(
I hope that is enough info to reproduce.
- 主要言語
- Java
- スター
- 9
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
infinispan/infinispan#18150 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
opensearch-project/k-NN#3597 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100