text:
If during synchronization wallet, the network has a new block, the error occurs.

If during synchronization wallet, the network has a new block, the error occurs.

may be block form net not converted from bytes

public static Transaction Parse(byte[] data) throws Exception{

Closing this in favour of issue #65 which looks like it could be similar and also contains logfile dumps.

authors: agran catbref icreator

repo: Qoracoin/Qora


text:
[FR] Mixing compiled NNF formulas with bauhaus statements

Willingness to contribute
The Bauhaus Community encourages new feature contributions. Would you be willing to contribute an implementation of this feature?

[ ] Yes. I can contribute this feature independently.
[ ] Yes. I would be willing to contribute this feature with guidance from the Bauhaus community.
[x] No. I cannot contribute this feature at this time.

Proposal Summary
Ability to use compiled and simplified NNF statements in future constraints.
Motivation
I attempted to use bauhaus in an iterative algorithm, where the formulas needed to be compiled to NNF and simplified each time for use in the next iteration. However, I would run into the issue in the next iteration where I would need to combine a formula with bauhaus propositions with a compiled NNF formula, and as it stands you can only add constraints using bauhaus propositions. Below is a simple example of the error:
a = Bauhaus("a")
b = Bauhaus("b")
e.add_constraint(a | b)
# get NNF
f = e.compile()
# attempt to use it again, results in the error: 'And' object has no attribute 'compile'
e.add_constraint(f & (a | b))
e = e.compile()
Describe the solution you'd like
Ideally, the functionality to use either NNF statements or statements with bauhaus propositions (or both) as needed when adding constraints.
Why is it currently difficult to achieve this with Bauhaus?
Bauhaus currently only allows the user to add constraints using statements with bauhaus propositions.

Not exactly sure what the right solution is, but do agree that an issue exists for iterative processing. It's more than just adding constraints dynamically, as this would kind of do the same as what's suggested above (but work now):
a = Bauhaus("a")
b = Bauhaus("b")
e.add_constraint(a | b)
e.add_constraint(a | b)
e = e.compile()

I mean, the example on the line e.add_constraint(f & (a | b)) makes it look a little odd (same constraint twice), but the point is you can iteratively add constraints. Where it runs into trouble is when we want to compile, processing, then augment. Specifically, if you just keep combining things, the theory blows up by the end. So you need to simplify at every iteration:
a = Bauhaus("a")
b = Bauhaus("b")
e.add_constraint(a | b)
theory = e.compile()
theory = theory.simplify()
# ?? add some more constraints to theory using bauhaus ??

source: gharchive/issue

authors: beckydvn haz

repo: QuMuLab/bauhaus

license: MIT

license_type: permissive

license_source: github-api


text:
Team update - Jul 05, 2023

This is a @Quansight-Labs/czi-a11y-grant team sync 🎉🎉🎉! This is a way for the Team Members to provide status reports on what they've been up to this week and request help and attention for things they are working on. This issue will be closed at the end of the day.
Copy and paste the template below, and answer questions as you wish!

Response Template
**Thanks I'd like to give 🙌**
- So-and-so helped me out a lot with foo...

**Updates from last week :heavy_check_mark:**
- I worked towards deliverable: <link-to-deliverable>

**Challenges I faced and things I'd like assistance with 🙏**
- I had a hard time figuring out ...

**My availability for next week**
- I'll be off on foo day...

**Important items for discussion 💬**
- I have a question about goal <link-to-goal>
- Can @foo give a comment on issue #NN ?
- I opened #NN for discussion, please chime in
- I need to discuss foo

:mag: Needs Triage
The Needs Triage issues require an initial assessment and labeling.
No issues need triage! 🎉
:dart: Project boards
Please make sure the boards reflect the current status of the project.
Jupyter a11y grant project

Thanks I'd like to give 🙌
Thanks to @trallard for keeping us updated with work priorities.
Updates from last week :heavy_check_mark:

#184 A PR exists. Results exist! Review is probably needed.

Challenges I faced and things I'd like assistance with 🙏

I don't have anything right now.

My availability for next week

I will be here, but I will have partial availability next week due to SciPy. I'm assuming I won't be staring at my screen the entire time.

Important items for discussion 💬

I don't think I have anything right now.

Thanks I'd like to give 🙌

@trallard for solving me doubts earlier this week

Updates from last week :heavy_check_mark:

Open PR for updating readme https://github.com/Quansight-Labs/jupyterlab-accessible-themes/pull/60
Open PR fixing schema error https://github.com/Quansight-Labs/jupyterlab-accessible-themes/pull/61
Open PR fixing color issues in the existing themes https://github.com/Quansight-Labs/jupyterlab-accessible-themes/pull/62
Add review changes in PR for Github dark - https://github.com/Quansight-Labs/jupyterlab-accessible-themes/pull/53
Decided to put pause on this one - Waiting review for notebook authoring guidelines https://github.com/jupyter/accessibility/pull/127
Modified the 400% Zoom documentation PR to also add the keyboard navigation audit and resources to other available audits - https://github.com/jupyter/accessibility/pull/133

Challenges I faced and things I'd like assistance with 🙏

I'm ok

My availability for next week

I'll be here

Important items for discussion 💬

Everything is ready for review!

authors: isabela-pf steff456 trallard


text:
Update McMcall II

Having issues with the LaTeX other than that good.

@jlperla Maybe working with LaTeX and Jupinx is something Adam could help out with.

The latex issue is in the notebook itself, and not with labels?

source: gharchive/pull-request

authors: Nosferican arnavs jlperla

repo: QuantEcon/lecture-source-jl


text:
Why does xt::diff modify the size of the adpated vector

example, using master branch
  std::vector<double> x = {1, 2, 3};
  auto xx = xt::adapt(x);
  std::cout << x.size() << " " << xx.shape() << std::endl; // 3 [3]

  auto d = xt::diff(xx);
  std::cout << x.size() << " " << d.shape() << std::endl; // 2 [3], why does xt::diff modify x.size()?

  double a = xt::mean(d)();
  std::cout << x.size() << " " << xx.shape() << std::endl; // 2 [3]

That's a bug ;)

repo: QuantStack/xtensor

license_source: bigquery


text:
Reimplement Kolmogorov Smirnov query logic with sqlalchemy's Language Expression API

See linked issues for context.
Importantly, I have high hopes that the isolation and explicit testing of _cross_cdf_selection will now be useful for other kinds of Constraints, e.g. https://github.com/Quantco/datajudge/issues/45.

I find the SQLAlchemy code incredibly difficult to follow. Not saying that it is because you are writing complicated SQLAlchemy. Maybe it's just more difficult for me (with little SQLAlchemy experience) to follow than to follow SQL.

I definitely understand where you're coming from. A couple of hopefully related comments from my side:

Personally, I see multiple upsides of using the language expression API.

Firstly, it conveniently enables the use of abstractions such as ref.get_selection(engine). IIrc not being able to use this abstraction caused a lot of the development effort in the raw-sql version of this query logic. Moreover, it caused a bug in relation to Conditions.
Secondly, some raw sql queries might actually run just fine against multiple dialects. Yet, this is definitely not the case for all of our queries. When it is not possible, the language expression API actually allows us to 'write once, run everywhere™'. I'm not sure whether having a patchwork of raw sql and language expression api would be desirable in the long run.
Thirdly, I find it easier to share logic between different queries than with raw sql queries - see comment about reusing _cross_cdf_selection for another hypothesis test.

As you gently allude to, I think I have indeed seen a development on my end when it comes to reading language expression code. I believe to find it easier to read now than two years ago.

I still don't find it easy to read.

To me, this very example seems to be on one side of the query logic complexity spectrum, at least in how far datajudge is concerned.

Personally - even though I admire the rigid structure and invaluable comments introduced by @YYYasin19 - I didn't find the raw sql code easy to follow either. It took me some debugging and reimplementing to understand some of the intricacies.

Maybe it would help people like me if we had a simplified version of the query in SQL somewhere in a docstring to help get an overview of the code.

I'm definitely open to the idea.
I made a point out of mostly preserving @YYYasin19's structure of iterative steps - in contrast to recursion - to allow the curious developer to create, read and run these intermediate steps. What I often do is to set breakpoints and run str(intermediate_selection) or even engine.connect().execute(intermediate_selection) via pdb while executing the integration tests. Moreover, I hoped to have made the query building a little more clear with this[0] example as well as the dedicated test case[1].
Nevertheless, if you have a concrete suggestion I'm happy to follow your lead. :)
[0] https://github.com/Quantco/datajudge/pull/44/files#diff-74c4ccf9b9cba732c4562df6e1e05a5ecdee4e9c04f38276b54e85f850155660R943-R945
[1] https://github.com/Quantco/datajudge/pull/44/files#diff-294af7c1d98bcac87ae111bebc4c13a1b1d8155cce13ea48446397e950f9db32R7-R28

Maybe it would help people like me if we had a simplified version of the query in SQL somewhere in a docstring to help get an overview of the code.

I'm definitely open to the idea.

Why not put a link to the full version in Yasin's repository containing the SQL version?

Very nice (re-)implementation in the expression language API!
I agree with the fact that it is hard to parse without having experience with the API. I think we can split the query up as much as possible here, since the final compilation and optimization will still be done by the database engine(s), so our goal should be readability and maintainability -- though I don't see any obvious wins left here.

authors: YYYasin19 ivergara kklein

repo: Quantco/datajudge


text:
Problem with build process

Well, the build process does not work.
The elements can be imported, but the data field is not accessible, resulting in errors for some elements (for TypeScript syntax for Vue.js, much nicer)

https://stackoverflow.com/questions/56804072/rollup-typescript-decorators-support
https://github.com/rollup/rollup-plugin-typescript/issues/88
https://github.com/rollup/rollup/issues/1763
https://github.com/vuejs/rollup-plugin-vue/issues/153

Though, it may be something different, as I now see - for ket it works (even with data). Strange.

More insight:

https://github.com/vuejs/vue-class-component/issues/294
https://forum.vuejs.org/t/vue-class-component-vue-cli-3-with-es7-does-not-work/57262

Will check these routes as well

ba4ab7d didn't work (to the point that the component does not work at all)
Next pointers:

https://github.com/kaorun343/vue-property-decorator/issues/26
https://github.com/kaorun343/vue-property-decorator/issues/290

And:

https://github.com/kaorun343/vue-property-decorator/issues/263
https://webdevelop.pro/blog/vuejs-and-typescript-problems-collection - but it seems there are similar problems

In general, vue-property-decorator seems to be a tricky choice. While I love its cleaner syntax:

it is not officially supported,
results in various errors here and there.

Also, it is possible that the issue was due to a generator having side effects (and, in fact, issues with linter for vue-property-decorator) than anything else.

In any case, solved by removing vue-property-decorator syntax - see #17 and in particular 79dec27.

repo: Quantum-Game/bra-ket-vue


text:
improvements to GeneralizedStabilizer API

There are a few interfaces not yet supported for GeneralizedStabilizer but which are easy to add. Here are operations which we can and can not do -- the goal is to have all of them implemented.

[X] sm = GeneralizedStabilizer(S"-X")
[ ] sm⊗sm
[ ]  sm⊗S"X"
[ ] pcT*sm
[ ] tHadamard*sm
[ ] pcT⊗tId1
[ ] pcT⊗P"X"
[ ] embed(..., sm)

@hongyehu pinging just for reference as this is related to #259

For documentation of Generalized Stabilizer, the paper by ted yoder can be helpful. I will be to work on this documentation as well.
''" The generalized stabilizer representation of an arbitrary state τ is a two-tuple (χ, B(S, D)). Here χ is a density matrix and B(S, D) = B(T ) is the basis in which χ is expressed. A generalized stabilizer (χ, B(T )), in some sense, separates the “classical” part of the quantum state from the quantum. The quasi-classical tableau T updates through Clifford gates and measurements, while the the χ-matrix is updated by non-Clifford operations.""
Is implementation inspired from this paper (A generalization of the stabilizer formalism for simulating arbitrary quantum circuits) while building generalized stabilizer ?
Non-clifford and non-stabilizer/non-stabilizerness mean the same thing right?

Hi Feroz,  Yes, it is largely inspired by Ted’s paper.Hong-Ye Hu, Ph.D.Department of Physics,Harvard University, Cambridge, MAOn Jun 21, 2024, at 9:55 AM, Feroz @.***> wrote:
For documentation of Generalized Stabilizer, the paper by ted yoder can be helpful. I will be to work on this documentation as well.
''" The generalized stabilizer representation of an arbitrary state τ is a two-tuple (χ, B(S, D)). Here χ is a density matrix and B(S, D) = B(T ) is the basis in which χ is expressed. A generalized stabilizer (χ, B(T )), in some sense, separates the “classical” part of the quantum state from the quantum. The quasi-classical tableau T updates through Clifford gates and measurements, while the the χ-matrix is updated by non-Clifford operations.""
Is implementation inspired from this paper (A generalization of the stabilizer formalism for simulating arbitrary quantum circuits) while building generalized stabilizer ?
Non-clifford and non-stabilizer/non-stabilizerness mean the same thing right?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

@Krastanov, Would it be better to implement these tasks as separate PRs as that would make review easier? Completed sm⊗sm, should I submit a PR about this second task for review? I would value your input before proceeding.
julia> sm1 = GeneralizedStabilizer(S"X")
A mixture ∑ ϕᵢⱼ Pᵢ ρ Pⱼ† where ρ is
𝒟ℯ𝓈𝓉𝒶𝒷
+ Z
𝒮𝓉𝒶𝒷
+ X
with ϕᵢⱼ | Pᵢ | Pⱼ:
 1.0+0.0im | + _ | + _

julia> sm2 = GeneralizedStabilizer(S"-Z")
A mixture ∑ ϕᵢⱼ Pᵢ ρ Pⱼ† where ρ is
𝒟ℯ𝓈𝓉𝒶𝒷
+ X
𝒮𝓉𝒶𝒷
- Z
with ϕᵢⱼ | Pᵢ | Pⱼ:
 1.0+0.0im | + _ | + _

julia> sm1 ⊗ sm2
A mixture ∑ ϕᵢⱼ Pᵢ ρ Pⱼ† where ρ is
𝒟ℯ𝓈𝓉𝒶𝒷
+ Z_
+ _X
𝒮𝓉𝒶𝒷
+ X_
- _Z
with ϕᵢⱼ | Pᵢ | Pⱼ:
 1.0+0.0im | + __ | + __

julia> sm1 ⊗ sm2 ⊗ sm1
A mixture ∑ ϕᵢⱼ Pᵢ ρ Pⱼ† where ρ is
𝒟ℯ𝓈𝓉𝒶𝒷
+ Z__
+ _X_
+ __Z
𝒮𝓉𝒶𝒷━
+ X__
- _Z_
+ __X
with ϕᵢⱼ | Pᵢ | Pⱼ:
 1.0+0.0im | + ___ | + ___

This interface can also be added as we can do this operation as well!

[x] P"-Y" * sm

julia> sm = GeneralizedStabilizer(S"-X")
A mixture ∑ ϕᵢⱼ Pᵢ ρ Pⱼ† where ρ is
𝒟ℯ𝓈𝓉𝒶𝒷
+ Z
𝒮𝓉𝒶𝒷
- X
with ϕᵢⱼ | Pᵢ | Pⱼ:
 1.0+0.0im | + _ | + _

julia> P"-Y" * sm
A mixture ∑ ϕᵢⱼ Pᵢ ρ Pⱼ† where ρ is
𝒟ℯ𝓈𝓉𝒶𝒷
- Z
𝒮𝓉𝒶𝒷
+ X
with ϕᵢⱼ | Pᵢ | Pⱼ:
 1.0+0.0im | + _ | + _

Inner product between generalized stabilizers (Section V of Ted's paper):

[ ] dot(sm1, sm2)

[ ] Stabilizer Union U of T' = (S', D'), and T = (S, D) (Theorem 16)

Since pauligroup method is now defined which corresponds to the G(U), Theorem 16 provide an algorithm for StabilizerUnion of two Generalized Stabilizers.
Based on the algorithm and available methods (rowdecompose, pauligroup), the simplified version is  as follows:

input: T' = (S', D'),  T = (S, D)
output:  U
Procedure: ⬇

Start

Initialize tableau $U$ to $T$.
Mark all stabilizer generators from  $S$.

Generator Decomposition

For each generator $s'_i$ in $S'$:

Decompose $s'_i$ in terms of $U$ using the rowdecompose.

Decomposition Contents

If the decomposition of $s'_i$ contains only marked items:

Check if either $s'_i$ or $-s'_i$ is in $G(U)$, using the pauligroup:

If  $-s'_i$ $\in$ $G(U)$:

Report that $T$ and $T'$ represent orthogonal states (since $G(U)$ contains $-I$).

Otherwise, $s'_i$ is in $G(U)$ and no further action is needed.

If the decomposition of $s'_i$ contains unmarked generators:

Replace one of these unmarked generators, say $\delta_k$, from the destabilizer of $U$ with $s'_i$.
Mark $s'_i$ as part of the stabilizer union.
Preserve the commutation algebra of the tableau $U$ to enable further decompositions:

Multiply any other generators from $U$ that anticommute with $s'_i$ by $\sigma_k$, the stabilizer generator from $U$ that is conjugate to $\delta_k$.

Note: No generator of $S'$ can anticommute with these marked destabilizers, as they themselves are members of $S'$.

Repeat

Repeat this procedure for all generators $s'_i$ of $S'$.

Hopefully, the following organizes the above details with less specificity:
graph TD
    A[Start] --> B[Initialize tableau U to T]
    B --> C[Mark all stabilizer generators from S]

    C --> D[Generator Decomposition]
    D -->|For each generator sᵢ in S′| E[Decompose sᵢ in terms of U using rowdecompose]

    E --> F[Decomposition Contents]
    F -->|If decomposition of sᵢ contains only marked items| G[Check if either sᵢ or -sᵢ is in G of U using pauligroup]

    G -->|If -sᵢ is in G of U| H[Report that T and T prime represent orthogonal states]
    G -->|Otherwise| I[sᵢ is in G of U, no further action needed]

    F -->|If decomposition of sᵢ contains unmarked generators| J[Replace unmarked generator δₖ from destabilizer of U with sᵢ]
    J --> K[Mark sᵢ as part of stabilizer union]
    K --> L[Preserve commutation algebra of tableau U]
    L --> M[Multiply other generators from U that anticommute with sᵢ by σₖ]

    F --> N[Repeat for all generators sᵢ of S′]

authors: Fe-r-oz Krastanov hongyehu


text:
🛑 Strava stats is down

In 5de7b88, Strava stats (https://strava-stats.quentinp.me/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Strava stats is back up in 457ab75.

repo: QuentinPhilipp/uptime


text:
Maximum video size & Length of video uploading?

I want to know what is maximum video size and Length of video uploading in Quickblox Android SDK 3.3.5

Note: The maximum size of the uploaded file is 100 mb

Please read documentation before post issue.

I have already read the documentation. I just wanted to know is there limit for Length as well?

for attachments functionality used module Content it means other parameters of file (duration, width, hight, etc.) doesn't matter, only file size.

repo: QuickBlox/q-municate-android


text:
"$QF: Could not create synchronized statement" when the last statement in synchronized is a throw

example source:
  public void test() {
    synchronized (this) {
      throw new RuntimeException();
    }
  }

result:
   // $QF: Could not create synchronized statement, marking monitor enters and exits
   public void test() {
      synchronized(this){} // $QF: monitorenter

      try {
         throw new RuntimeException();
      } finally {
         // $QF: monitorexit
      }
   }

Partially fixed by 1050a6d2

Fixed entirely by 3d9b2e1. Thanks for the report!

repo: QuiltMC/quiltflower


text:
Backprop

めちゃくちゃよくなった。高速化もできたし、バグも見つけて直した。　最強。

#92 is trying to merge the same functionality
https://github.com/Qulacs-Osaka/scikit-qulacs/pull/92

authors: WATLE kosukemtr

repo: Qulacs-Osaka/scikit-qulacs


text:
Bug Description
很高兴能发现这么好的应用,解决了ob上的痛点，特别是复制时间戳的功能很赞。使用中发现了一个bug，和作者反馈一下： 右键复制突出显示内容链接时， 当字体过多时（实测大概50汉字左右）生成的链接跳转不到对应的字段位置（仅跳到网站），同样的文字chrome浏览器可以正常跳转。。不知道是我的操作问题还是bug。
Relevant Screenshot
No response
To Reproduce
No response
Obsidian Version
0.8.11
web-browser-only

[X] Did you install only one web browser plugin?

Checklist

[X] I updated to the latest version of the plugin.

应该是bug，事实上现在的复制高亮链接的算法是我自己抄着实现的，希望有时间能再琢磨一下怎么最有效地实现原生的算法进去。

authors: Quorafind morgancheung

repo: Quorafind/Obsidian-Surfing


text:
Add reproxying support

This adds a new !reproxy command along with a valid-reproxy-targets option to control whom it may target.
The reference user is always allowed as a target and the command must be prefixed if a command prefix is specified in order to avoid multiple Séance instances competing for a reproxy.

This is based on the emoji PR and needs to be handled after that one

repo: Qyriad/Seance


text:
Add clang-format config to pack constructor initializers

This is how it currently looks:
Plugin::Plugin(HMODULE lib, int handle, std::string identifier)
	: name(GetSymbolValue<char*>(lib, Symbol::NAME)), logName(GetSymbolValue<char*>(lib, Symbol::LOG_NAME)),
	  dependencyName(GetSymbolValue<char*>(lib, Symbol::DEPENDENCY_NAME)), description(GetSymbolValue<char*>(lib, Symbol::DESCRIPTION)),
	  api_version(GetSymbolValue<uint32_t>(lib, Symbol::REQUIRED_ABI_VERSION)), version(GetSymbolValue<char*>(lib, Symbol::VERSION)),
	  handle(handle), runOnContext(GetSymbolValue<uint8_t>(lib, Symbol::CONTEXT)), run_on_client(runOnContext & PluginContext::CLIENT),
	  run_on_server(runOnContext & PluginContext::DEDICATED), init(GetSymbolValue<PLUGIN_INIT_TYPE>(lib, Symbol::INIT)),
	  init_sqvm_client(GetSymbolValue<PLUGIN_INIT_SQVM_TYPE>(lib, Symbol::CLIENT_SQVM_INIT)),
	  init_sqvm_server(GetSymbolValue<PLUGIN_INIT_SQVM_TYPE>(lib, Symbol::SERVER_SQVM_INIT)),
	  inform_sqvm_created(GetSymbolValue<PLUGIN_INFORM_SQVM_CREATED_TYPE>(lib, Symbol::SQVM_CREATED)),
	  inform_sqvm_destroyed(GetSymbolValue<PLUGIN_INFORM_SQVM_DESTROYED_TYPE>(lib, Symbol::SQVM_DESTROYED)),
	  inform_dll_load(GetSymbolValue<PLUGIN_INFORM_DLL_LOAD_TYPE>(lib, Symbol::LIB_LOAD)),
	  run_frame(GetSymbolValue<PLUGIN_RUNFRAME>(lib, Symbol::RUN_FRAME)),
	  valid(api_version && name && description && version && init && logName && runOnContext)
{}

The setting will set each initializer in a new line if all of them don't fit in one line

What clang-format version is the workflow using

The workflow is using clang-format 13 but that setting is only available in 14+

You need to update the value here ig
https://github.com/R2Northstar/NorthstarLauncher/blob/da7061a846759cd63dd1907a9df163f4c5b17cf6/.github/workflows/ci.yml#L49C31-L49C31

Actually, we should probably also update the action version to like 0.16 or something ^^

sure

authors: GeckoEidechse uniboi


text:
Hello The Code God

could you teach me how to set up visual studio to debug this all ?

This is not stackoverflow.


text:
Default lock

Set default lock options, as well as default percentage.

This is like my PR but better :)

authors: chunderstruck cribbstechnologies


text:
[IMPROVEMENT] Adding Webhook handler for Gogs/Gitea

In raising this pull request, I confirm the following (please check boxes):

[x] I have read and understood the contributing guidelines?
[x] I have checked that another pull request for this purpose does not exist.
[x] I have considered, and confirmed that this submission will be valuable to others.
[x] Do the TravisCI tests pass?
[x] Does the StyleCI test pass?

Description of change
Adding a Gogs/Gitea handler for Webhook.
Please provide a description of the change here.
Github handler doesn't work for Gogs as the "head_commit" doesn't exist in the Payload.

Fixes issue #288

👍 I'll get it merged this evening and tag a new release also. One minor thing, would you be able to update https://github.com/REBELinBLUE/deployer/blob/master/resources/views/projects/dialogs/webhook.blade.php#L46 to list Gogs/Gitea as well

Oops, and I didn't notice that either 🙊
Stephen Ball
stephen@rebelinblue.com

On 24 Nov 2016, at 18:44, axeloz notifications@github.com wrote:
@axeloz commented on this pull request.
In app/Http/Webhooks/Gogs.php:

@@ -0,0 +1,51 @@
+<?php

+namespace REBELinBLUE\Deployer\Http\Webhooks;
+
+/**

Class to handle integration with Github webhooks.
Pushed too fast earlier, let mentions of Github in comments, dirty work, sorry

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

authors: REBELinBLUE axeloz

repo: REBELinBLUE/deployer

license: mit


text:
Bug: Width of editor and preview

Describe the bug
When longs are too line, the preview panel takes up too much width.

There is word wrapping in the preview panel, but the table makes the panel too wide.


text:
Update Webpack

Full webpack Implementation has been done.

STATUS: APPROVED 👍🎯
Hello @RHK-MICROVERSE 👋
Your project is complete! There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights ⭐
✔ correct use of gitflow
✔ linters are passing
✔ professional documentation
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

authors: OnlyUnknown RHK-MICROVERSE

repo: RHK-MICROVERSE/food-menu


text:
🛑 Cleanse Drops Kidney is down

In 637a514, Cleanse Drops Kidney (http://cleansedropskidney.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Cleanse Drops Kidney is back up in 5ace2c6 after 1 hour, 28 minutes.

repo: RJVCA/uptime


text:
🛑 CEOTR Home Page loads is down

In ffa8566, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 4598d07 after 2 minutes.

repo: RKTowse/upptime


text:
🛑 Sensor Tracker login is down

In d6b38a0, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 874a48c after .


text:
🛑 CEOTR Home Page loads is down

In 84963a4, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in c14049b after .


text:
🛑 CEOTR Home is down

In ef1c0a9, CEOTR Home (https://ceotr.ca) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home is back up in daca2b6 after 1 day, 16 hours, 50 minutes.


text:
🛑 Sensor Tracker login is down

In f4bae8e, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 6983518 after 1 minute.


text:
🛑 CEOTR Home Page loads is down

In af215b1, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 3767431 after 2 minutes.


text:
🛑 CEOTR Home Page loads is down

In 2fb3383, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 43a6f7c after 2 minutes.


text:
🛑 CEOTR Home Page loads is down

In bcc1b37, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 177d22c after 2 minutes.


text:
🛑 Sensor Tracker login is down

In dd2cc91, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 502
Response time: 46 ms

Resolved: Sensor tracker login is back up in a33ec1d.


text:
🛑 Sensor Tracker login is down

In 864e892, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 502
Response time: 99 ms

Resolved: Sensor tracker login is back up in 6126cb3.


text:
🛑 CEOTR Home Page loads is down

In d3bd8c6, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in a62a75e.


text:
🛑 CEOTR Home Page loads is down

In f4aa15c, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 485ad72.


text:
🛑 CEOTR Home Page loads is down

In 401f816, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 3849106.


text:
🛑 Sensor Tracker login is down

In 7614a48, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 502
Response time: 46 ms

Resolved: Sensor tracker login is back up in 48045eb.


text:
🛑 CEOTR Home Page loads is down

In 75d81f9, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 746bbf0.


text:
🛑 CEOTR Home Page loads is down

In 03913ce, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 8567514 after 2 minutes.


text:
🛑 CEOTR Home Page loads is down

In 26c1289, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in ffe063e after 2 minutes.


text:
hipblaslt-bench: new option "skip_slow_solution_ratio" to skip slow solution

Example:
hipblaslt-bench --use_gpu_timer --transA N --transB N -r f16_r -m 4096 -n 4096 -k 4096 --algo_method all --rotating 512 --flush -i 1000 -j 100 --skip_slow_solution_ratio 0.5

[----------] Global test environment tear-down
[==========] 48206 tests from 13 test suites ran. (458990 ms total)
[  PASSED  ] 48206 tests.
hipBLASLt version: 1100

repo: ROCm/hipBLASLt


text:
Use builtins instead of inline asm for readlane

I currently have a compiler patch up for review (https://github.com/llvm/llvm-project/pull/89217) which will break with inline asm. This patch is a prerequisite

ping..

@vikramRH Can this PR be made in rocALUTION-internal instead?

@jsandham , I dont seem to have permissions to rocALUTION-internal and no merge permissions here. could you help me land these changes ? (Im okay with either creating new PR directly to internal repo or cherry picking this, whichever seems proper to you)

authors: jsandham vikramRH

repo: ROCm/rocALUTION


text:
exception reading frequencies on Renoir APU 4650G

$ /opt/rocm/bin/rocm-smi -d 1 --showall
======================= ROCm System Management Interface =======================
========================= Version of System Component ==========================
Driver version: 5.11.10-gentoo
====================================== ID ======================================
GPU[1]          : GPU ID: 0x1636
================================== Unique ID ===================================
GPU[1]          : Unique ID: N/A
==================================== VBIOS =====================================
GPU[1]          : VBIOS version: 113-RENOIR-033
================================= Temperature ==================================
GPU[1]          : Temperature (Sensor edge) (C): 28.0
GPU[1]          : Temperature (Sensor junction) (C): N/A
GPU[1]          : Temperature (Sensor memory) (C): N/A
========================== Current clock frequencies ===========================
Exception caught: map::at
ERROR: GPU[1]           : dcefclk clock is unsupported
python3: /storage/work/local/rocm_smi_lib/src/rocm_smi.cc:894: rsmi_status_t get_frequencies(amd::smi::DevInfoTypes, uint32_t, rsmi_frequencies_t*, uint32_t*): Assertion `f->frequency[i-1] <= f->frequency[i]' failed.
Aborted (core dumped)

this is no longer asserted

authors: dmitrii-galantsev yodor


text:
Does MIOpen support CPU via OpenCL interface?

Possible CPU models include AMD CPU and Intel CPU.

No, MIOpen is a GPU ML library.

authors: daniellowell ghostplant

repo: ROCmSoftwarePlatform/MIOpen


text:
Fix for PR #775. Disable xdlops for non gfx908

Fixes bug in tests (partially unblocks #944)
Stage: FP32 OpenCL install all vega 20
and other non gfx908
Failed tests:
test_conv_igemm_dynamic_xdlops_fwd
test_conv_igemm_dynamic_xdlops_bwd
test_conv_igemm_dynamic_xdlops_wrw
Convolution cannot be executed due to incorrect params

Merge conflicts

@shurale-nkn Basically, this looks good. Let's have a quick call tomorrow.

First run passed CI

@shurale-nkn We'll need to explain the new features introduced in this PR -- the values of new attributes and their meanings, for example. Can you please prepare some internal documentation? Let's have a quick call tomorrow and discuss. Thanks.

authors: atamazov shurale-nkn


text:
[Phase 2] Implementation of Triton IR to RocDL

This task captures the effort needed to convert the triton specific IR to RocDL MLIR.

Expected working time: 2 weeks

Porting NVVM MLIR APIs to RocDL MLIR APIs [Finished]
Porting PTX inline asm -> GCN inline asm [In progress]

repo: ROCmSoftwarePlatform/triton


text:
[Formula1Bridge] Minor fixes

Hello,
A few changes in my bridge:

removed useless returnServerError according to your recommendation
made use of the caption property if present
fixed link URL

gj!

repo: RSS-Bridge/rss-bridge

license: unlicense


text:
sizing problem

width is set to equal to height, not able to use use for different size (200 width and 300 height)

Yes, this is intended. The only way to make an HSV picker that is not 1:1 would be to render it and then stretch it (or have a bunch of useless pixels, like the corners in square mode). This has to do with the math behind generating the HSV view.
However, we will need to support this if/when we allow custom implementations (something like #31).

authors: RSully razzzsharma

repo: RSully/RSColorPicker


text:
Gradle 没有将依赖编译进jar

如题， Gradle并没有把依赖项编译进jar

只有源代码class文件在jar文件内

已经修复了问题， 但是还是没办法正常使用， 只能使用search子命令

repo: RTAkland/RMusic


text:
v2导出onnx报错

使用onnx_export.py脚本无法导出v2模型：
python onnx_export.py

输出：
G:\GPT-SoVITS\.venv\Lib\site-packages\gradio_client\documentation.py:103: UserWarning: Could not get documentation group
 for <class 'gradio.mix.Parallel'>: No known documentation group for module 'gradio.mix'
  warnings.warn(f"Could not get documentation group for {cls}: {exc}")
G:\GPT-SoVITS\.venv\Lib\site-packages\gradio_client\documentation.py:103: UserWarning: Could not get documentation group
 for <class 'gradio.mix.Series'>: No known documentation group for module 'gradio.mix'
  warnings.warn(f"Could not get documentation group for {cls}: {exc}")

------------------------------------------------------------------------------------------------------------------------
onnx_export.py 332 <module>
export(vits_path, gpt_path, exp_path)

onnx_export.py 271 export
vits = VitsModel(vits_path)

onnx_export.py 201 __init__
self.vq_model = SynthesizerTrn(

models_onnx.py 842 __init__
self.enc_p = TextEncoder(

models_onnx.py 210 __init__
self.text_embedding = nn.Embedding(len(symbols), hidden_channels)

TypeError:
object of type 'module' has no len()

把那个
from text import symbols

改成
from text.symbols2 import symbols

试试看？

重新试试 https://github.com/RVC-Boss/GPT-SoVITS/pull/1604

现在这个脚本好像不是很好用，是否能实现CLI模式，因为这边有一些路径要手动写死到文件里面，不是很方便，现在测试好像也无法正常导出看到生成了onnx文件夹，但是里面是空的。
所以我无法找到我导出的onnx模型文件，没办法把这个路径替换成自己的onnx/koharu/koharu_vits.onnx。
onnx_export.py 343 <module>
export(vits_path, gpt_path, exp_path)

onnx_export.py 303 export
a, b = gpt_sovits(ref_seq, text_seq, ref_bert, text_bert, ref_audio_sr, ssl_content, debug=debug)

module.py 1511 _wrapped_call_impl
return self._call_impl(*args, **kwargs)

module.py 1520 _call_impl
return forward_call(*args, **kwargs)

onnx_export.py 239 forward
sess = onnxruntime.InferenceSession("onnx/koharu/koharu_vits.onnx", providers=["CPU"])

onnxruntime_inference_collection.py 419 __init__
self._create_inference_session(providers, provider_options, disabled_optimizers)

onnxruntime_inference_collection.py 472 _create_inference_session
sess = C.InferenceSession(session_options, self._model_path, True, self._read_config_from_model)

onnxruntime.capi.onnxruntime_pybind11_state.NoSuchFile:
[ONNXRuntimeError] : 3 : NO_SUCHFILE : Load model from onnx/koharu/koharu_vits.onnx failed:Load model onnx/koharu/koharu
_vits.onnx failed. File doesn't exist

你是要导出到别的语言使用吗？
其实这个 onnx_export 也不完整，要运行还得导出很多其他的模型

没错，我准备导出onnx模型后，使用rust来推理。
之前我使用这个脚本导出过v1模型，但是好像bert的模型没有包含在内。

没错，我准备导出onnx模型后，使用rust来推理。 之前我使用这个脚本导出过v1模型，但是好像bert的模型没有包含在内。

我刚刚提的 https://github.com/RVC-Boss/GPT-SoVITS/pull/1640
我用 rust 试过了，可以run.
use std::collections::HashMap;

use tch::{IValue, Tensor};
use tokenizers::Tokenizer;

fn split_zh_ph(ph: &str) -> (&str, &str) {
    if ph.starts_with("zh") || ph.starts_with("ch") || ph.starts_with("sh") {
        ph.split_at(2)
    } else {
        ph.split_at(1)
    }
}

fn phones(symbels: &HashMap<String, i64>, text: &str, device: tch::Device) -> (Tensor, Tensor) {
    use pinyin::ToPinyin;

    let mut word2ph = Vec::new();

    let mut sequence = Vec::new();

    for c in text.chars() {
        if let Some(p) = c.to_pinyin() {
            let (y, s) = split_zh_ph(p.with_tone_num_end());
            sequence.push(symbels.get(y).map(|id| *id).unwrap_or(0));
            sequence.push(symbels.get(s).map(|id| *id).unwrap_or(0));
            word2ph.push(2);
        } else {
            let s = c.to_string();
            sequence.push(symbels.get(&s).map(|id| *id).unwrap_or(0));
            word2ph.push(1);
        }
    }

    let word2ph = Tensor::from_slice(&word2ph);
    let t = Tensor::from_slice(&sequence).to_device(device);
    (t.unsqueeze(0), word2ph)
}

fn infer(
    tokenizer: &Tokenizer,
    symbels: &HashMap<String, i64>,
    gpt_sovits: &tch::CModule,
    ssl_content: &Tensor,
    ref_audio_sr: &Tensor,
    bert: &tch::CModule,
    text: &str,
    ref_seq: &Tensor,
    ref_bert: &Tensor,
    output: &str,
    device: tch::Device,
) {
    let (text_ids, text_mask, text_token_type_ids) = encode_text(text, &tokenizer, device);
    let (text_seq, text_word2ph) = phones(&symbels, text, device);

    let text_bert = bert
        .forward_ts(&[text_ids, text_mask, text_token_type_ids, text_word2ph])
        .unwrap();

    println!("start gpt_sovits");
    let audio = gpt_sovits
        .forward_ts(&[
            ssl_content,
            ref_audio_sr,
            ref_seq,
            &text_seq,
            ref_bert,
            &text_bert,
        ])
        .unwrap();

    let audio_size = audio.size1().unwrap() as usize;
    println!("audio size: {}", audio_size);

    println!("start save audio");
    let mut samples = vec![0f32; audio_size];
    audio.f_copy_data(&mut samples, audio_size).unwrap();

    println!("start write file");
    let mut file_out = std::fs::File::create(output).unwrap();
    let header = wav_io::new_header(32000, 16, false, true);
    wav_io::write_to_file(&mut file_out, &header, &samples).unwrap();
}

fn main() {
    let tokenizer =
        Tokenizer::from_file("./pretrained_models/chinese-roberta-wwm-ext-large/tokenizer.json")
            .unwrap();

    let symbels = load_symbel();

    let device = tch::Device::cuda_if_available();
    println!("device: {:?}", device);

    let ref_text = "声音,是有温度的.夜晚的声音,会发光~";
    let (ref_text_ids, ref_text_mask, ref_text_token_type_ids) =
        encode_text(ref_text, &tokenizer, device);
    let (ref_seq, ref_text_word2ph) = phones(&symbels, ref_text, device);

    let (ref_audio, sr) = load_ref_audio();
    println!("ref_audio size: {:?}", ref_audio.size());
    let ref_audio = IValue::Tensor(ref_audio.to_device(device));

    let (bert, ssl, gpt_sovits) = check_vits_model(device);
    let ref_audio_16k = ssl
        .method_is(
            "resample",
            &[&ref_audio, &IValue::Int(sr as i64), &IValue::Int(16000)],
        )
        .unwrap();
    let ref_audio_16k = match ref_audio_16k {
        IValue::Tensor(ref_audio_16k) => ref_audio_16k,
        _ => unreachable!(),
    };

    let ref_audio_sr = ssl
        .method_is(
            "resample",
            &[&ref_audio, &IValue::Int(sr as i64), &IValue::Int(32000)],
        )
        .unwrap();
    let ref_audio_sr = match ref_audio_sr {
        IValue::Tensor(ref_audio_sr) => ref_audio_sr,
        _ => unreachable!(),
    };

    let ssl_content = ssl.forward_ts(&[&ref_audio_16k]).unwrap();

    println!("done ssl");
    let ref_bert = bert
        .forward_ts(&[
            &ref_text_ids,
            &ref_text_mask,
            &ref_text_token_type_ids,
            &ref_text_word2ph,
        ])
        .unwrap();

    println!("start infer");
    let text = "我有一个奇怪的问题.你们谁知道什么是春晚?";
    tch::no_grad(|| {
        infer(
            &tokenizer,
            &symbels,
            &gpt_sovits,
            &ssl_content,
            &ref_audio_sr,
            &bert,
            &text,
            &ref_seq,
            &ref_bert,
            "output.wav",
            device,
        );
    });

    println!("start infer 2");
    let text = "你们谁知道什么是春晚吗？第一年的春晚是什么时候?";
    tch::no_grad(|| {
        infer(
            &tokenizer,
            &symbels,
            &gpt_sovits,
            &ssl_content,
            &ref_audio_sr,
            &bert,
            &text,
            &ref_seq,
            &ref_bert,
            "output.wav",
            device,
        );
    });
}

fn encode_text(text: &str, tokenizer: &Tokenizer, device: tch::Device) -> (Tensor, Tensor, Tensor) {
    let encoding = tokenizer.encode(text, true).unwrap();
    let ids = encoding
        .get_ids()
        .into_iter()
        .map(|x| (*x) as i64)
        .collect::<Vec<i64>>();
    let text_ids = Tensor::from_slice(&ids);
    let text_ids = text_ids.unsqueeze(0).to_device(device);

    let mask = encoding
        .get_attention_mask()
        .into_iter()
        .map(|x| (*x) as i64)
        .collect::<Vec<i64>>();
    let text_mask = Tensor::from_slice(&mask);
    let text_mask = text_mask.unsqueeze(0).to_device(device);

    let token_type_ids = encoding
        .get_type_ids()
        .into_iter()
        .map(|x| (*x) as i64)
        .collect::<Vec<i64>>();
    let text_token_type_ids = Tensor::from_slice(&token_type_ids);
    let text_token_type_ids = text_token_type_ids.unsqueeze(0).to_device(device);
    (text_ids, text_mask, text_token_type_ids)
}

fn check_vits_model(device: tch::Device) -> (tch::CModule, tch::CModule, tch::CModule) {
    let mut gpt_sovits = tch::CModule::load_on_device(
        "/home/csh/ai/python/GPT-SoVITS/onnx/xw/gpt_sovits_model.pt",
        device,
    )
    .unwrap();
    gpt_sovits.set_eval();
    println!("load gpt_sovits model success");

    let mut bert =
        tch::CModule::load_on_device("/home/csh/ai/python/GPT-SoVITS/onnx/bert_model.pt", device)
            .unwrap();
    bert.set_eval();
    println!("load bert model success");

    let mut ssl = tch::CModule::load_on_device(
        "/home/csh/ai/python/GPT-SoVITS/onnx/xw/ssl_model.pt",
        device,
    )
    .unwrap();
    ssl.set_eval();
    println!("load ssl model success");

    (bert, ssl, gpt_sovits)
}

fn load_symbel() -> HashMap<String, i64> {
    let f = std::fs::File::open("/home/csh/ai/python/GPT-SoVITS/onnx/symbols_v2.json").unwrap();
    serde_json::from_reader(f).unwrap()
}

fn load_ref_audio() -> (Tensor, u32) {
    let ref_path = "/home/csh/ai/python/GPT-SoVITS/chen1_ref.t.wav";
    let file = std::fs::File::open(ref_path).unwrap();

    let (head, samples) = wav_io::read_from_file(file).unwrap();
    println!("head: {:?}", head);

    let t = Tensor::from_slice(&samples);
    (t.unsqueeze(0), head.sample_rate)
}

[package]
name = "gpt_sovits_rs"
version = "0.1.0"
edition = "2021"

[dependencies]
anyhow = "1.0.87"
# ort = "1.16.3"
tokenizers = { version = "0.20.0", features = ["http"] }
tch = { version = "0.17.0" }
pinyin = "0.10.0"
wav_io = "0.1.14"
serde_json = "1.0"

#1640 非常给力！
其实我是想使用onnx格式，然后使用ort库来加载，感觉性能更好，不知道您是否对比过tch和ort的性能表现，因为我还打算部署到移动设备。

为什么我编译会报错：
error: linking with `link.exe` failed: exit code: 1169

报错输出很长很长，但是大致的意思就是因为在链接过程中发现了重复定义的符号：
= note: "D:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX64\\x64\\link.exe" "/NOLOGO" "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\rustc9Gy0BZ\\symbols.o" "G:\\workspace\\gpt_sovit\\target\\release\\deps\\gpt_sovits.gpt_sovits.51f8ba67aab9e335-cgu.00.rcgu.o" ...
  = note: libtorch_sys-fa3fcb1194669bdb.rlib(19072f24a82f85ae-torch_api.o) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MT_StaticRelease”(libesaxx_rs-3728ae13b4f0b997.rlib(2e40c9e35e9506f4-esaxx.o) 中)
          libtorch_sys-fa3fcb1194669bdb.rlib(19072f24a82f85ae-dummy_cuda_dependency.o) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MT_StaticRelease”(libesaxx_rs-3728ae13b4f0b997.rlib(2e40c9e35e9506f4-esaxx.o) 中)
          libtorch_sys-fa3fcb1194669bdb.rlib(19072f24a82f85ae-torch_api_generated.o) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MT_StaticRelease”(libesaxx_rs-3728ae13b4f0b997.rlib(2e40c9e35e9506f4-esaxx.o) 中)
          msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: struct _Cvtvec __cdecl std::_Locinfo::_Getcvt(void)const " (?_Getcvt@_Locinfo@std@@QEBA?AU_Cvtvec@@XZ) 已经在 libcpmt.lib(locale.obj) 中定义
          msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: unsigned short const * __cdecl std::_Locinfo::_W_Getdays(void)const " (?_W_Getdays@_Locinfo@std@@QEBAPEBGXZ) 已经在 libcpmt.lib(wlocale.obj) 中定义
          msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: unsigned short const * __cdecl std::_Locinfo::_W_Getmonths(void)const " (?_W_Getmonths@_Locinfo@std@@QEBAPEBGXZ) 已经在 libcpmt.lib(wlocale.obj) 中定义
          msvcprt.lib(MSVCP140.dll) : error LNK2005: "protected: __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::basic_streambuf<char,struct std::char_traits<char> >(void)" (??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAA@XZ) 已经在 libcpmt.lib(cout.obj) 中定义
...
          msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: __cdecl std::basic_ostream<char,struct std::char_traits<char> >::basic_ostream<char,struct std::char_traits<char> >(class std::basic_streambuf<char,struct std::char_traits<char> > *,bool)" (??0?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAA@PEAV?$basic_streambuf@DU?$char_traits@D@std@@@1@_N@Z) 已经在 libcpmt.lib(cout.obj) 中定义
          msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: virtual __cdecl std::basic_ostream<char,struct std::char_traits<char> >::~basic_ostream<char,struct std::char_traits<char> >(void)" (??1?$basic_ostream@DU?$char_traits@D@std@@@std@@UEAA@XZ) 已经在 libcpmt.lib(cout.obj) 中定义
            正在创建库 G:\workspace\gpt_sovit\target\release\deps\gpt_sovits.lib 和对象 G:\workspace\gpt_sovit\target\release\deps\gpt_sovits.exp
          LINK : warning LNK4098: 默认库“LIBCMT”与其他库的使用冲突；请使用 /NODEFAULTLIB:library
          G:\workspace\gpt_sovit\target\release\deps\gpt_sovits.exe : fatal error LNK1169: 找到一个或多个多重定义的符号

我尝试在tch和tokenizers的仓库查找问题，他们可以使用release模式构建，但我这边没有作用。

libcpmt.lib

lib冲突了，看起来像是 torch 静态编译，然后和 libcpmt.lib 冲突了。
我是在 wsl2 里面弄的。你这个我不太清楚。你翻翻源码让它动态链接吧。实在不行就 fork 下来

@L-jasmine 请问你的代码是不是不支持英文的？

@L-jasmine 请问你的代码是不是不支持英文的？

对 支持英文的我这两天就更新上去。然后我会publish一个独立的库。希望大家可以一起维护

@L-jasmine 请问你的代码是不是不支持英文的？

对 支持英文的我这两天就更新上去。然后我会publish一个独立的库。希望大家可以一起维护

导出的模型在gpu运行有问题
Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!\n

@L-jasmine 请问你的代码是不是不支持英文的？

对 支持英文的我这两天就更新上去。然后我会publish一个独立的库。希望大家可以一起维护

导出的模型在gpu运行有问题 Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!\n

https://github.com/L-jasmine/gpt_sovits_rs/blob/main/src/main.rs 试试这样

@L-jasmine 请问你的代码是不是不支持英文的？

对 支持英文的我这两天就更新上去。然后我会publish一个独立的库。希望大家可以一起维护

导出的模型在gpu运行有问题 Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!\n

https://github.com/L-jasmine/gpt_sovits_rs/blob/main/src/main.rs 试试这样

试过了，还是一样，报错是原因是因为导出TorchScripts脚本里有的Tensor没有转换成cuda布局，我对这个不是很熟悉，所以还没找到解决办法

@L-jasmine gpt_sovits_rs在windows上无法链接，我一直没能解决，能不能把tch改用ort实现呢，感觉tch有点复杂了。

@L-jasmine gpt_sovits_rs在windows上无法链接，我一直没能解决，能不能把tch改用ort实现呢，感觉tch有点复杂了。

windows上我是git clone了esaxx-rs和tokenizer库，然后在esaxx-rs里面的build.rs里static_crt(true)改成false。然后在tokenizer库和你rust项目引用你clone的esaxx-rs和tokenizer的地址就行了。

@L-jasmine export_torch_script.py里T2SModel里的forward在返回的时候是不是应该改成-idx:-1，把最后一个删掉。因为我推理的时候有时会报out of index，然后发现这里最后一个会是1024，导致embedding的时候越界。但我不知道怎么改最好，改成到-1至少没有报错。

@L-jasmine 请问你的代码是不是不支持英文的？

对 支持英文的我这两天就更新上去。然后我会publish一个独立的库。希望大家可以一起维护

导出的模型在gpu运行有问题 Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!\n

https://github.com/L-jasmine/gpt_sovits_rs/blob/main/src/main.rs 试试这样

试过了，还是一样，报错是原因是因为导出TorchScripts脚本里有的Tensor没有转换成cuda布局，我对这个不是很熟悉，所以还没找到解决办法

我自己电脑上是可以运行的。你在我那个repo里面提issue吧 我们到那边讨论

@L-jasmine export_torch_script.py里T2SModel里的forward在返回的时候是不是应该改成-idx:-1，把最后一个删掉。因为我推理的时候有时会报out of index，然后发现这里最后一个会是1024，导致embedding的时候越界。但我不知道怎么改最好，改成到-1至少没有报错。

y[0, -1] = 0 这样可以吗？我其实也不懂这些是啥东西，我只是抄别的部分的代码。我看 onnx_export.py 里面有这样一段

@L-jasmine export_torch_script.py里T2SModel里的forward在返回的时候是不是应该改成-idx:-1，把最后一个删掉。因为我推理的时候有时会报out of index，然后发现这里最后一个会是1024，导致embedding的时候越界。但我不知道怎么改最好，改成到-1至少没有报错。

y[0, -1] = 0 这样可以吗？我其实也不懂这些是啥东西，我只是抄别的部分的代码。我看 onnx_export.py 里面有这样一段

应该也可以吧，你之前没遇到过偶尔推理报错？

@L-jasmine export_torch_script.py里T2SModel里的forward在返回的时候是不是应该改成-idx:-1，把最后一个删掉。因为我推理的时候有时会报out of index，然后发现这里最后一个会是1024，导致embedding的时候越界。但我不知道怎么改最好，改成到-1至少没有报错。

y[0, -1] = 0 这样可以吗？我其实也不懂这些是啥东西，我只是抄别的部分的代码。我看 onnx_export.py 里面有这样一段

应该也可以吧，你之前没遇到过偶尔推理报错？

我推理没遇到过这个错，但是在torch 导出的时候有用随机输入去check，这个时候我见过out of index，我当时并不知道什么情况，我只是简单的把这个 check 关掉了。现在想来应该是这个问题导致的

我希望在代码里面来循环，这样可以流式推理呀，随时可以break。

@L-jasmine 能不能在gpt_sovits_rs里面写一个readme.md，后面我可能会来贡献

@L-jasmine export_torch_script.py里T2SModel里的forward在返回的时候是不是应该改成-idx:-1，把最后一个删掉。因为我推理的时候有时会报out of index，然后发现这里最后一个会是1024，导致embedding的时候越界。但我不知道怎么改最好，改成到-1至少没有报错。

y[0, -1] = 0 这样可以吗？我其实也不懂这些是啥东西，我只是抄别的部分的代码。我看 onnx_export.py 里面有这样一段

应该也可以吧，你之前没遇到过偶尔推理报错？

我推理没遇到过这个错，但是在torch 导出的时候有用随机输入去check，这个时候我见过out of index，我当时并不知道什么情况，我只是简单的把这个 check 关掉了。现在想来应该是这个问题导致的

嗯嗯 导出的时候也是有问题我才能debug的。另外我也遇到好像用导出的模型推理得到的效果没有用python推理的好， 不知道什么问题。然后torchscript这个怎么能优化性能呢，推理一次要好几秒。我还得用rust并行处理多个请求，就会更慢。

速度还行，不知道怎么优化，感觉还可以优化

repo: RVC-Boss/GPT-SoVITS


text:
Error during installation of rock-dkms 4.0

I tried on several machines, guest VM or bare-metal, and installation is failing on Ubuntu 20.04.1 with 5.4 kernel which should be supported after going through all the previous steps. There appears to be a build error which informs to look at log file:
I will attach the log file if necessary:

apt install rocm-dkms -y
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
....

Installation

Installing to /lib/modules/5.4.0-42-generic/updates/dkms/

depmod....
DKMS: install completed.
Building initial module for 5.8.0-40-generic
Error! Bad return status for module build on kernel: 5.8.0-40-generic (x86_64)
Consult /var/lib/dkms/amdgpu/4.0-23/build/make.log for more information.
dpkg: error processing package rock-dkms (--configure):
installed rock-dkms package post-installation script subprocess returned error exit status 10
Setting up rocm-smi (1.0.0-206-rocm-rel-4.0-23-ge39c0e2) ...
Setting up xtrans-dev (1.4.0-1) ...
....
Setting up rocm-clang-ocl (0.5.0.64-rocm-rel-4.0-23-50fb51a) ...
Setting up rocm-utils (4.0.0.40000-23) ...
Setting up rocm-dev (4.0.0.40000-23) ...
Processing triggers for libc-bin (2.31-0ubuntu9.1) ...
Errors were encountered while processing:
rock-dkms
rocm-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

I had the same problem. Purging the linux image 5.8 solved it for me. It seems the installer tries to build a kernel module for every installed kernel image and for kernel 5.8 it fails to do so.

I had the same problem. Purging the linux image 5.8 solved it for me. It seems the installer tries to build a kernel module for every installed kernel image and for kernel 5.8 it fails to do so.

rock-dkms cannot support linux-5.8.0 now, please refer here https://github.com/RadeonOpenCompute/ROCK-Kernel-Driver/issues/107

rock-dkms cannot support linux-5.8.0 now, please refer here https://github.com/RadeonOpenCompute/ROCK-Kernel-Driver/issues/107

Hi @fwinter,
Yes, as pointed out by @xuhuisheng , we are not supporting 5.8 currently.  As per your log :
Building initial module for 5.8.0-40-generic
Error! Bad return status for module build on kernel: 5.8.0-40-generic (x86_64)
Consult /var/lib/dkms/amdgpu/4.0-23/build/make.log for more information.

your analysis is correct it shall build for each kernel & 5.8 is not supported.
Since this has been resolved,  I am closing this.
Thanks!!

Hi @fwinter,
Yes, as pointed out by @xuhuisheng , we are not supporting 5.8 currently.  As per your log :
Building initial module for 5.8.0-40-generic
Error! Bad return status for module build on kernel: 5.8.0-40-generic (x86_64)
Consult /var/lib/dkms/amdgpu/4.0-23/build/make.log for more information.

your analysis is correct it shall build for each kernel & 5.8 is not supported.
Since this has been resolved,  I am closing this.
Thanks!!

So I looked into the apt history, /var/log/apt/history.log, and found:

rock-dkms:amd64 (1:3.10-29, 1:4.0-23)
rock-dkms-firmware:amd64 (1:3.10-29, 1:4.0-23)

So looking at the available version it wasn't listed added it manually in /etc/apt/sources.list.d/rocm.list
And added the specific version: deb [arch=amd64] https://repo.radeon.com/rocm/apt/3.10/ xenial main
Install my previous version:
sudo apt install rock-dkms=1:3.10-29 rock-dkms-firmware=1:3.10-29
...
Unpacking rock-dkms (1:3.10-29) ...
Setting up rock-dkms (1:3.10-29) ...
Loading new amdgpu-3.10-29 DKMS files...
Building for 5.8.0-38-generic 5.8.0-40-generic
Building for architecture x86_64
Building initial module for 5.8.0-38-generic
Error! Bad return status for module build on kernel: 5.8.0-38-generic (x86_64)
Consult /var/lib/dkms/amdgpu/3.10-29/build/make.log for more information.
dpkg: error processing package rock-dkms (--configure):
 installed rock-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
 rock-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

Which also runs into compiler issues... so now what? This used to work

So I looked into the apt history, /var/log/apt/history.log, and found:

rock-dkms:amd64 (1:3.10-29, 1:4.0-23)
rock-dkms-firmware:amd64 (1:3.10-29, 1:4.0-23)

So looking at the available version it wasn't listed added it manually in /etc/apt/sources.list.d/rocm.list
And added the specific version: deb [arch=amd64] https://repo.radeon.com/rocm/apt/3.10/ xenial main
Install my previous version:
sudo apt install rock-dkms=1:3.10-29 rock-dkms-firmware=1:3.10-29
...
Unpacking rock-dkms (1:3.10-29) ...
Setting up rock-dkms (1:3.10-29) ...
Loading new amdgpu-3.10-29 DKMS files...
Building for 5.8.0-38-generic 5.8.0-40-generic
Building for architecture x86_64
Building initial module for 5.8.0-38-generic
Error! Bad return status for module build on kernel: 5.8.0-38-generic (x86_64)
Consult /var/lib/dkms/amdgpu/3.10-29/build/make.log for more information.
dpkg: error processing package rock-dkms (--configure):
 installed rock-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
 rock-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

Which also runs into compiler issues... so now what? This used to work

Ok so... installed 5.6 via https://kernel.ubuntu.com/~kernel-ppa/mainline/
removed all my 5.8 kernels
sudo apt remove linux-headers-5.8.0-36-generic linux-headers-5.8.0-38-generic linux-headers-5.8.0-40-generic
booted the 5.6 kernel, installed 3.10 which now does complete since it doesn't get stuck on 5.8 compiling anymore, reboot and got my screens again...
So from what I gather Ubuntu is pushing kernel 5.8 with rock-dkms which doesn't support it?

Ok so... installed 5.6 via https://kernel.ubuntu.com/~kernel-ppa/mainline/
removed all my 5.8 kernels
sudo apt remove linux-headers-5.8.0-36-generic linux-headers-5.8.0-38-generic linux-headers-5.8.0-40-generic
booted the 5.6 kernel, installed 3.10 which now does complete since it doesn't get stuck on 5.8 compiling anymore, reboot and got my screens again...
So from what I gather Ubuntu is pushing kernel 5.8 with rock-dkms which doesn't support it?

AMD said they are working on linux-5.8. Maybe ROCm-4.1.

AMD said they are working on linux-5.8. Maybe ROCm-4.1.

why are you closingthis without resolving this issue?

why are you closingthis without resolving this issue?

In the error log in your original message, there is this line:
Consult /var/lib/dkms/amdgpu/4.0-23/build/make.log for more information.
Can you check that file to see where compilation failed?

In the error log in your original message, there is this line:
Consult /var/lib/dkms/amdgpu/4.0-23/build/make.log for more information.
Can you check that file to see where compilation failed?

My issue was with kernel 5.8, not 5.4, currently running 5.6 with ROCm 3.10

My issue was with kernel 5.8, not 5.4, currently running 5.6 with ROCm 3.10

Hi @gggh000
Can you please confirm whether you are still observing the issue with 5.4 kernel. If yes, can you please share more details on it.
This ticket was diverted to 5.8 kernel. As we are not officially supporting 5.8 for now with ROCm 4.0 and below, request to not to use.
Thank you.

Hi @gggh000
Can you please confirm whether you are still observing the issue with 5.4 kernel. If yes, can you please share more details on it.
This ticket was diverted to 5.8 kernel. As we are not officially supporting 5.8 for now with ROCm 4.0 and below, request to not to use.
Thank you.

I noticed as @patvdleer mentioned, I had to remove all of 5.8 artifacts, tricky process, after that it works. However the installation is tricky as 5.8 comes inbox with 20.04 version.

I noticed as @patvdleer mentioned, I had to remove all of 5.8 artifacts, tricky process, after that it works. However the installation is tricky as 5.8 comes inbox with 20.04 version.

Thanks @gggh000 for the confirmation.
Yes, as of today, installation is little tricky as Ubuntu 20.04 with 5.8 kernel + ROCm does not work.
ROCm with 5.8 kernel support is very near by, means it will be part of next ROCm release.
Please stay tuned for the updates.
Thank you.

It is unacceptable that 4.01s failure to install on the most widely deployed Linux configuration (Ubuntu LTS 20.04), is not VERY CLEARLY STATED in your installation documentation.
This is the kind of Rocm documentation slapdash attitude which happens constantly, and is why Cuda is miles ahead. I really do NOT want to have to trade in my Radeon Vii (for which I paid good money, and for which I expect reliable software support).

Thank you for your feedback about ROCm documentation. We are sorry for your experience with our documentation, and we are actively working with the QA and Support teams to resolve the issue.
AMD ROCm Documentation Team

any news on this? Are you going to support ubuntu 20.04?

Hi @jleni
ROCm supports Ubuntu 20.04 now so you can start using it
Thank you

The information in the documentation indicates that:

The AMD ROCm platform is designed to support the following operating systems:
Ubuntu 20.04.2 HWE (5.4 and 5.6-oem) and 18.04.5 (Kernel 5.4)

Reference: https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html#prerequisites
Unless this has not been updated, it seems that rocm still does not support a standard Ubuntu 20.04 LTS deployment without having to downgrade the kernel to something that is not standard.
Has this changed? Are you planning to support the default kernel in 20.04 LTS?

The kernel-5.8.0-53 on ubuntu-20.04.2 could support ROCm-4.1 properly.
The document needs update.

Thank you for reaching out. We are working with our internal teams to resolve the documentation issue.
Please continue to send us your feedback.
AMD ROCm Documentation Team

authors: ROCmSupport Rmalavally fwinter gggh000 jleni kentrussell patvdleer vegabook xuhuisheng

repo: RadeonOpenCompute/ROCm


text:
list assignment index out of range

Hi, I have to analyze 45 sets of 3D images. Whenever I run the program I get an error
list assignment index out of range. When I am running only 15 cases it runs fine. Will appreciate any help.

Hi @abhinandanbatra, can you share some more information? What were the settings you used for PyRadiomics? What is the error message you received? Can you share the PyRadiomics log file?

Hi Joost,
Here is the error message that I get

IndexError                                Traceback (most recent call last)
 in ()
26 #
27
---> 28             features[Case_id] = featureextractor.RadiomicsFeaturesExtractor(image, mask)
29
30             extractor.disableAllFeatures()

IndexError: list assignment index out of range
Below are the settings that I am using
`settings = {}
print(settings)
settings['binWidth'] = 25
settings['resampledPixelSpacing'] = None
settings['resampledPixelSpacing'] = [3, 3, 3]  # This is an example for defining resampling (voxels with size 3x3x3mm)
settings['interpolator'] = 'sitkBSpline'
settings['correctMask'] = True
interpolator = settings.get('interpolator')
resampledPixelSpacing = settings.get('resampledPixelSpacing')
extractor = featureextractor.RadiomicsFeaturesExtractor(**settings)`
Also, there is one more issue that I came across, previously I was able to analyze the data but though I am getting all the results I am getting this message as well "Image/Mask geometry mismatch, attempting to correct Mask" for all the cases. I checked the dimensions, size and slice of mask and main image, they are totally same. I am not sure why I keep on getting this message

---> 28 features[Case_id] = featureextractor.RadiomicsFeaturesExtractor(image, mask)
This line is where your error originates. As far as I can see, this appears to be in your own code.

How are features and Case_id in features[Case_id] defined? From the error, I assume features is a list. You cannot add an item by index in that way. Use features.append() instead.
featureextractor.RadiomicsFeaturesExtractor(image, mask): This is an incorrect way of instantiating the extractor. For details on working with the feature extractor, see this part of the documentation on interactive use. Alternatively, check out the examples, most specifically helloRadiomics.py.
Have you considered the CLI of PyRadiomics? This is also documented in the Usage section of the documentation.

As to you other issue, regarding the geometry mismatch. Try logging with debug level logging:

--log-file pyradiomics.log --logging-level DEBUG for logging to file
-v 5 for debug output to console
interactively: radiomics.setVerbosity(logging.DEBUG)

PyRadiomics then provides information on exactly what the mismatch is.

Hi Joost,
Thank you for your response. here is the code that I came up with to loop through image and mask of different cases
`for Case_id in range(1,45):
path = '/Users/abhinandanbatra/Desktop/pyradiomics/Converted/Case_{}/'.format(Case_id)
print(path)
for main in os.listdir(path):
if fnmatch.fnmatch(main,'*image.nii'):
print(main)
image=sitk.ReadImage(os.path.join(path,main))
print(type(image))
        print(("{}:{}".format("Image Dimensions",image.GetDimension())))
        print(("{}:{}".format("Image Size",image.GetSize())))
        SubjectImage=sitk.GetArrayFromImage(image)
        fig,ax=plt.subplots(nrows=1, ncols=2)
        ax[0].imshow((SubjectImage)[0,:,:], cmap="gray", interpolation='nearest')
        ax[0].set_title(main)
        SubjectImage=sitk.GetArrayFromImage(image)
for screen in os.listdir(path):
    if fnmatch.fnmatch(screen,'*label.nii'):
        print(screen)
        mask=sitk.ReadImage(os.path.join(path,screen))

print(type(mask))
        print(("{}:{}".format("Mask Dimensions",mask.GetDimension())))
        print(("{}:{}".format("Mask Size",mask.GetSize())))
        Segmentationimage=sitk.GetArrayFromImage(mask)
        ax[1].imshow((Segmentationimage)[0,:,:], cmap="gray", interpolation='nearest')
        ax[1].set_title(screen)

        features[Case_id] = featureextractor.RadiomicsFeaturesExtractor(image, mask)
        result = extractor.execute(image, mask)
        print('Result type:', type(result))  # result is returned in a Python ordered dictionary)
        print('')
        print('Calculated features for Case {}:'.format(main))
        Finalresult=six.iteritems(result)
        for key, value in Finalresult:
            print('\t', key, ':', value)

`
I am just looping through the case number.
Regarding second question, I never had the issue with the data when I was analyzing in small batches but now I get geometry mismatch when I am analyzing all the data together. Here are the settings that I am using `settings = {}
print(settings)
settings['binWidth'] = 25
settings['resampledPixelSpacing'] = None
settings['resampledPixelSpacing'] = [3, 3, 3]  # This is an example for defining resampling (voxels with size 3x3x3mm)
settings['interpolator'] = 'sitkBSpline'
settings['correctMask'] = True
interpolator = settings.get('interpolator')
resampledPixelSpacing = settings.get('resampledPixelSpacing')
extractor = featureextractor.RadiomicsFeaturesExtractor()`

In your code, I still do not see where you declare features. In any case, based on your code, it should be a dictionary (i.e. features = {}). You can also choose an OrderedDict, which will preserve the ordering of your cases (i.e. from collections import OrderedDict and features = OrderedDict()). That should solve your indexing error (you cannot use indexing to assign to new indexes in a list, but you can do so in case of dictionaries).
As to your geometry error, there are still 3 possible sources for your geometry mismatch: spacing, direction and origin. Together with size and dimension, the must match between the image and the mask. Take care! In lots of cases where conversion of DICOM to Nrrd or Niftii fails, ITK sets the spacing, direction and origin to it's defaults.
If you run the extraction as I've shown above, you should get the necessary info to fix this error.

Hey Joost,
Thank you for the help. I was able to run the feature extraction on all case ids. I am still not able to get the log file running. I used the example code listed on pyradiomics webpage but it keeps on giving me  error logging is not defined.
Also, since I am running the feature extraction on 3D data. Is it possible to get features slice by slice?

@abhinandanbatra, The easiest way to enable logging is by using the command line interface. There, add the switches --log-file <FILE> and --logging-level <LEVEL> to enable logging to a file. <FILE> should be a valid path (i.e. directories must exist, but the file can be a new file) and <LEVEL> a valid logging level (e.g. DEBUG or INFO).
If you want to enable logging in the interactive mode, check out this function: _configureLogging(self).
To make this function work, ensure you've imported the correct libraries:
import logging.config
import logging.handlers

@abhinandanbatra, what do you exactly mean "slice by slice"? As in, 1 value for each feature on each slice of your ROI? That is not directly possible in PyRadiomics. If you want, you'd have to write a little python loop to update the label values, giving each slice of the ROI it's own unique value, then use that to extract features in PyRadiomics (run the execute function of the extractor for each slice, identifying it by it's unique value).
If you want features that are calculated using only in-plane neighbors, but still yielding a single value per feature for the entire ROI, check out the force2D function in the documentation.

Hey I was able to get a log file here is the output
Checking mask with label 1
Calculating bounding box
Image/Mask geometry mismatch, attempting to correct Mask
Resampling mask to image geometry
Checking ROI validity
Checking if label 1 is persent in the mask
Comparing physical space of bounding box to physical space of image
ROI bounds (image coordinate space): ((26.49999350139064, 65.49999794661757, -0.5000054092394094), (224.49994494574335, 192.50000573268284, 22.49999769290026))
ROI valid, calculating resampling grid
Resampling...
Checking minimum number of dimensions requirements (2)
Image and Mask loaded and valid, starting extraction
Creating image type iterator
Adding image type "Original" with custom settings: {}
Extracting features
Yielding original image
Calculating features for original image
Cropping to size [198 127  23]
Computing firstorder
Initializing feature class
First order feature class initialized
Calculating features
Calculated 1 bins for bin width 25 with edges: [ 0. 25.])
Features extracted
Not sure why I am getting image mask mismatch
Regarding "slice by slice", so I have a 3d image data set with 25 slices. I drew a region of interest on each of the slice, than I went ahead and created a mask for each slice by making all the values inside  region of interest as 1 and outside region of interest for 0. I did this for all the slices. So, I have a 3d image and 3d mask.  When I run pyradiomics, I believe it gives me features based on whole 3d data set combined. Correct? So my question was if I want to see the feature values for each slice, will it be possible to get it?

Hey the code was running fine and now all of sudden I have started getting this error message
ValueError: Image/Mask geometry mismatch. Potential fix: increase tolerance using geometryTolerance, see Documentation:Usage:Customizing the Extraction:Settings:geometryTolerance for more information

I have one question about first order feature: entropy. We are using Dixon fat fraction images for texture analysis but entropy values are always zero. Can you help me understand why this is happening? We previously analyzed the data using different software and results were different

@abhinandanbatra, as mentioned above, set each slice to a different value inside the ROI (i.e 1, 2, 3, etc). Then use pyradiomics to extract features for each slice, keeping everything the same with the exception of "Label", which should be set to the value (again, 1, 2, 3, etc) corresponding to the slice you are extracting for.
As to your question on entropy; which entropy? firstorder? glcm? My first guess would be that your bin width is too large, resulting in a flat region after binning. This would result in an entropy 0. You can check this by logging with debug level and searching for: D: radiomics.imageoperations: Calculated <N> bins for bin width <BW> with edges: [ ... ]
Side note: This is already apparent from the log file you shared: Calculated 1 bins for bin width 25 with edges: [ 0. 25.])

To get additional information on the image mask mismatch, try the following:
import SimpleITK as sitk

im = sitk.ReadImage('<path/to/image>')
ma - sitk.ReadImage('<path/to/mask>')

print(im)
print(ma)

@JoostJM ,
Thank you for the recommendations. I will work on your suggestions today or tomorrow and will let you know. I was asking about first order entropy. I think bin width is the issue. I will reduce the bin width and see if it helps. Thank you

@JoostJM I tried changing the bin width but it still gives me first order entropy of -0.0. Also, I went ahead and compiled the information regarding image and mask mismatch, they both are same. I dont know why I am getting this error of mismatch. Here is what I get after printing information for image and mask. Will appreciate your help on both these issues
Image (0x7fd0628a0de0)
RTTI typeinfo:   itk::Image<float, 3u>
Reference Count: 1
Modified Time: 159991
Debug: Off
Object Name:
Observers:
none
Source: (none)
Source output name: (none)
Release Data: Off
Data Released: False
Global Release Data: Off
PipelineMTime: 159968
UpdateMTime: 159990
RealTimeStamp: 0 seconds
LargestPossibleRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [288, 288, 25]
BufferedRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [288, 288, 25]
RequestedRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [288, 288, 25]
Spacing: [0.486111, 0.486111, 5]
Origin: [-142.065, 36.2373, -27.8908]
Direction:
1 0 0
0 -0.990944 -0.134278
0 -0.134278 0.990944
IndexToPointMatrix:
0.486111 0 0
0 -0.481709 -0.671391
0 -0.0652741 4.95472
PointToIndexMatrix:
2.05714 0 0
0 -2.03851 -0.27623
0 -0.0268556 0.198189
Inverse Direction:
1 0 0
0 -0.990944 -0.134278
0 -0.134278 0.990944
PixelContainer:
ImportImageContainer (0x7fd0628a1070)
RTTI typeinfo:   itk::ImportImageContainer<unsigned long, float>
Reference Count: 1
Modified Time: 159987
Debug: Off
Object Name:
Observers:
none
Pointer: 0x12b5a5000
Container manages memory: true
Size: 2073600
Capacity: 2073600
Mask (0x7fd063399f40)
RTTI typeinfo:   itk::Image<unsigned char, 3u>
Reference Count: 1
Modified Time: 160182
Debug: Off
Object Name:
Observers:
none
Source: (none)
Source output name: (none)
Release Data: Off
Data Released: False
Global Release Data: Off
PipelineMTime: 160159
UpdateMTime: 160181
RealTimeStamp: 0 seconds
LargestPossibleRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [288, 288, 25]
BufferedRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [288, 288, 25]
RequestedRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [288, 288, 25]
Spacing: [0.486111, 0.486111, 5]
Origin: [-142.065, 36.2373, -27.8908]
Direction:
1 0 0
0 -0.990944 -0.134278
0 -0.134278 0.990944
IndexToPointMatrix:
0.486111 0 0
0 -0.481709 -0.671391
0 -0.065274 4.95472
PointToIndexMatrix:
2.05714 0 0
0 -2.03851 -0.276229
0 -0.0268556 0.198189
Inverse Direction:
1 0 0
0 -0.990944 -0.134278
0 -0.134278 0.990944
PixelContainer:
ImportImageContainer (0x7fd06338a3f0)
RTTI typeinfo:   itk::ImportImageContainer<unsigned long, unsigned char>
Reference Count: 1
Modified Time: 160178
Debug: Off
Object Name:
Observers:
none
Pointer: 0x1331f2000
Container manages memory: true
Size: 2073600
Capacity: 2073600

@abhinandanbatra they do look the same indeed... You can try to exactly recreate the PyRadiomics mask check by doing the following (in addition to the code above):
lsif = sitk.LabelStatisticsImageFilter()
lsif.Execute(im, ma)

If there is a geometry mismatch, this function should throw an error. If not, please check if you image and mask are indeed the ones that are passed to PyRadiomics (and it does not mix up 2 patients somewhere). If lsif does not throw an error, this is most likely the cause.
As to your entropy being 0.0, check the log file to see how many bins were created. You can also check firstoder_Range, this should give you some ideas on the what binWidth would be valid.

This is the part of the code that is throwing your error:
https://github.com/Radiomics/pyradiomics/blob/master/radiomics/imageoperations.py#L194
Reading it, I can see there is a possibility that SimpleITK is throwing a different error, but it still tries to resample the mask. Let me know what you find out.

@JoostJM thank you so much, I will go through the code. Also, regarding my other questions I was able to find issue with entropy. Actually the pixel value in the image I am using is between 0 and 1. Due to which bin width of 25 I am currently using is too high. Can you recommend on how should I select the bin width?

@abhinandanbatra, I'd guess somewhere between 0.01 and 0.1 (binWidth is a float value, so can be smaller than 1). See the FAQ section in the documentation on some tips on working with the bin width.

authors: JoostJM abhinandanbatra

repo: Radiomics/pyradiomics


text:
Video Filter implemented

Please Verified and merged with the master.

Verified and merged with the master.

repo: Rahulclaritaz/rahul


text:
will Rainloop be further developed or what does it look like?

will Rainloop be further developed or what does it look like?

I agree, I'd also like to know this. No updates for a year! We've fixed a few bugs on our own installation that we'd like to roll back into the general release. If this project is dead, we'd love to take over the repo and continue to develop it.

Normally, Rainloop got multiple updates per year since 2014. Is there any official message from the developers? Do they still sell commercial licenses as stated on the website?

Also would love to hear something, the lack of communication alone is enough for me to support someone else taking over honestly.

1.13.0 was released 22 days ago - so there is development going on.
I agree that there is a lack of communication - however, as I am not a paying customer (I only use it for a single mailbox), I am not complaining about it. I just put a watcher on the github project and get notified when something relevant happens.

I don't know if the last version is an indicator for ongoing development. There were only merges of two pull requests #1889 and #1888 for this new version. Beside this there was no really change in the repository.

@RainLoop

I strongly recommend Snappymail, which is actively maintained.

Thank you very much! I will now switch to SnappyMail.

authors: FireFtw Mululu czPechy fluffyegg jd666 phsc84 plastikschnitzer rabesocke

repo: RainLoop/rainloop-webmail


text:
🛑 RSOS服务控制面板 is down

In dc4d645, RSOS服务控制面板 (https://$US_SITE) was down:

HTTP code: 530
Response time: 347 ms

Resolved: RSOS服务控制面板 is back up in 7b82776 after 11 minutes.

repo: RainThings/uptime


text:
🛑 HK区服 is down

In aa51920, HK区服 (https://$HK_SERVER) was down:

HTTP code: 0
Response time: 0 ms

Resolved: HK区服 is back up in 1841c4a.


text:
Faulty position indication after update to 0.3.2

Since the update two of my blinds show wrong value when opened.
When opening and fully openened one shows 89% open and tthe other 91% but they are fully opened.
Adding a second to the travelling_time_up didn't improve, it actually got worse because then both show 86% when fully opened.
I have to press stop followed by up to get the value on 100%.
`      kitchen:
friendly_name: "Kitchen Cover"
# Becker Centronic USB stick provides up to five units (1-5) with up to seven (1-7) channels
# Unit 1 - Channel 1
channel: "1"
tilt_blind: off
tilt_intermediate: off
# The travel time for direction up is sufficient if travel time for up and down are equal
travelling_time_up: 27
# Optional travel time for direction down
travelling_time_down: 24
# Optional intermediate positions for up and down
# intermediate_position_up: 75
# intermediate_position_down: 25
# Disable intermediate position when not used
intermediate_position: off
bedroom_1:
friendly_name: "Master Bedroom Cover"
# Unit 1 - Channel 2
channel: "2"
tilt_blind: off
tilt_intermediate: off
travelling_time_up: 16
travelling_time_down: 14.5
intermediate_position: off
More info:
The kitchen cover also becomes some kind of unresponsive. After closing it doesn't accept up although the up button is available. Pressing stop and down a few times makes it respond again to open.
But then the counter gets stuck on 89% and only after pressing stop it becomes 100%.
Already deleted the db file and restarted HA but no improvements yet.
Only strange behaviour on two of the five covers.
Also did update to  2023.5.2  this morning way before covers were opened.

Back to v0.3.0 and everything seems to be back to normal, for now.

v0.3.3 fixes your issue

authors: AppleFlapp RainerStaude


text:
Ability to replace special characters in localized strings

I'd like to be able to format a localized string like Sign{noBreakSpace}in, and then have BonMot automatically replace the text in curly braces with a non-breaking space (U+00A0). For speed, have an option to pass into BONChain the characters that I expect to have to replace, or have API for doing a single character, so we don't have to loop through all of BONSpecial if we know we're only going to be looking for a non-breaking space. But also have a way to look for all strings for cases where thoroughness or code cleanliness trumps speed.

Duping to #146

authors: KingOfBrian ZevEisenberg

repo: Raizlabs/BonMot


text:
java.lang.NullPointerException in creating model

DBFlow Version: 3.0.0-beta6
Issue Kind (Bug, Question, Feature): Bug
Description: Hello, there is a java.lang.NullPointerException error when creating model:
the problem is in declare table annotation @Table(database = myDatabase.class, name = "customer")
model:
package com.example.saraylu.khayyatan;

import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;
import com.raizlabs.android.dbflow.structure.BaseModel;

@Table(database = myDatabase.class, name = "customer")

public class Customer extends BaseModel {

    @Column
    @PrimaryKey(autoincrement = true)
    int id;

    @Column
    String name;

    @Column
    String tel;

    @Column
    String mobile;

    @Column
    String create_date;

    public void setName(String name) {
        this.name = name;
    }
    public void setTel(String tel) {
        this.tel = tel;
    }
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    public void setCreate_date(String create_date) {
        this.create_date = create_date;
    }

}
```

database:
```
package com.example.saraylu.khayyatan;

import com.raizlabs.android.dbflow.annotation.Database;

@Database(name = myDatabase.NAME, version = myDatabase.VERSION)

public class myDatabase {

    public static final String NAME = "khayyatan";

    public static final int VERSION = 1;

}
```

@msoa need a stacktrace, that would help. thanks

Dear @agrosner , how to make a stacktrack?

Executing tasks: [clean, :app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:compileDebugSources, :app:compileDebugAndroidTestSources]

Configuration on demand is an incubating feature.
:clean UP-TO-DATE
:app:clean
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72103Library
:app:prepareComAndroidSupportSupportV42103Library
:app:prepareComGithubRaizlabsDBFlowDbflow300Beta6Library
:app:prepareComGithubRaizlabsDBFlowDbflowKotlinextensions300Beta6Library
:app:prepareComGithubRaizlabsDBFlowDbflowSqlcipher300Beta6Library
:app:prepareNetZeteticAndroidDatabaseSqlcipher3312Library
:app:prepareDebugDependencies
:app:compileDebugAidl
:app:compileDebugRenderscript
:app:generateDebugBuildConfig
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources
:app:mergeDebugResources
AAPT err(1857092363): E:\android-programming\khayyatan\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-hdpi\abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT err(672446238): E:\android-programming\khayyatan\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-mdpi\abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT err(1857092363): E:\android-programming\khayyatan\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-xhdpi\abc_ab_share_pack_holo_light.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT err(1857092363): E:\android-programming\khayyatan\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-hdpi\abc_ab_share_pack_holo_light.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT err(1772116931): E:\android-programming\khayyatan\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-xhdpi\abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT err(1772116931): E:\android-programming\khayyatan\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-hdpi\abc_spinner_mtrl_am_alpha.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

:app:processDebugManifest
:app:processDebugResources
:app:generateDebugSources
:app:preDebugAndroidTestBuild UP-TO-DATE
:app:prepareDebugAndroidTestDependencies
:app:compileDebugAndroidTestAidl
:app:processDebugAndroidTestManifest
:app:compileDebugAndroidTestRenderscript
:app:generateDebugAndroidTestBuildConfig
:app:generateDebugAndroidTestAssets UP-TO-DATE
:app:mergeDebugAndroidTestAssets
:app:generateDebugAndroidTestResValues UP-TO-DATE
:app:generateDebugAndroidTestResources
:app:mergeDebugAndroidTestResources
:app:processDebugAndroidTestResources
:app:generateDebugAndroidTestSources
:app:processDebugJavaRes UP-TO-DATE
:app:compileDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> java.lang.NullPointerException

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDebugJavaWithJavac'.
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
	at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
	at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
	at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
	at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42)
	at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
	at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
	at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
	at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:310)
	at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79)
	at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63)
	at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51)
	at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:23)
	at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:88)
	at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
	at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
	at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)
	at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:68)
	at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
	at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
	at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:55)
	at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149)
	at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)
	at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)
	at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:90)
	at org.gradle.tooling.internal.provider.runner.BuildModelActionRunner.run(BuildModelActionRunner.java:54)
	at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
	at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)
	at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
	at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:49)
	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
	at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
	at org.gradle.util.Swapper.swap(Swapper.java:38)
	at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute(DaemonHealthTracker.java:47)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:66)
	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:71)
	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:41)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
	at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:246)
	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
	at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
	at com.sun.tools.javac.main.Main.compile(Main.java:469)
	at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:132)
	at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:45)
	at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:33)
	at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:101)
	at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:50)
	at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:36)
	at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:34)
	at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
	at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:157)
	at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:137)
	at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:91)
	at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:243)
	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:219)
	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:230)
	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:208)
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
	... 57 more
Caused by: java.lang.NullPointerException
	at com.raizlabs.android.dbflow.processor.model.ProcessorManager.addTableDefinition(ProcessorManager.java:140)
	at com.raizlabs.android.dbflow.processor.handler.TableHandler.onProcessElement(TableHandler.java:27)
	at com.raizlabs.android.dbflow.processor.handler.BaseContainerHandler.handle(BaseContainerHandler.java:23)
	at com.raizlabs.android.dbflow.processor.model.ProcessorManager.handle(ProcessorManager.java:281)
	at com.raizlabs.android.dbflow.processor.DBFlowProcessor.process(DBFlowProcessor.java:98)
	at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:793)
	at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:722)
	at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1700(JavacProcessingEnvironment.java:97)
	at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1029)
	at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1163)
	at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1108)
	at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824)
	at com.sun.tools.javac.main.Main.compile(Main.java:439)
	... 75 more

BUILD FAILED

Total time: 8.823 secs

run with --stacktrace

android studio->file->setting->build, execution, deployment->compiler in command-line Options i set --stacktrace, rebuild project and put result in previous post. ok?

oh yeah just saw. This is slightly outdated as I fixed some of this in develop with a better message. Ensure incremental compilation is turned off and if you're using kotlin this is a bug where it doesn't respect android compileOptions() where it'll send the processor only what's changed. A work around is using a custom DatabaseHolder that includes all definitions for you and should result in that not happening anymore. An example:
public final class CustomDatabaseHolder extends DatabaseHolder {
  public GeneratedDatabaseHolder() {
    typeConverters.put(Calendar.class, new CalendarConverter());
    typeConverters.put(Date.class, new SqlDateConverter());
    typeConverters.put(JSONObject.class, new JSONConverter());
    typeConverters.put(Boolean.class, new BooleanConverter());
    typeConverters.put(java.util.Date.class, new DateConverter());
    new AppDatabaseAppDatabase_Database(this);
  }
}

Then load it into FlowManager.init(new FlowConfig.Builder(this).addDatabaseHolder(CustomDatabaseHolder.class).build());

this is not dbflow issue, rather incremental or kotlin or both bug.

authors: agrosner msoa

repo: Raizlabs/DBFlow