cannot import name '_typeconv' from 'numba.core.typeconv

What steps will reproduce the problem?

Hello
The error code written in the title is the one that I get when I try to work with numba only with spyder. (With python console or other editors is working fine)
import numba as nb
import numpy as np
@nb.njit
def calc (n):
a= 0.5
b= 3
ui_data = np.arange(n)
for i in np.arange(1,n):
ui_data [i] = ui_data[i-1] * a + ui_data[i] * b
return ui_data
print (calc(100000))
The error that I get is:
runfile('X:/EA/Python/EjerciciosFourier/prueba numba.py', wdir='X:/EA/Python/EjerciciosFourier')
Reloaded modules: numba._version, numba.misc, numba.misc.init_utils, numba.core, numba.core.config, yaml, yaml.error, yaml.tokens, yaml.events, yaml.nodes, yaml.loader, yaml.reader, yaml.scanner, yaml.parser, yaml.composer, yaml.constructor, yaml.resolver, yaml.dumper, yaml.emitter, yaml.serializer, yaml.representer, llvmlite, llvmlite._version, llvmlite.binding, llvmlite.binding.dylib, llvmlite.binding.ffi, llvmlite.binding.common, llvmlite.utils, llvmlite.binding.executionengine, llvmlite.binding.targets, llvmlite.binding.object_file, llvmlite.binding.initfini, llvmlite.binding.linker, llvmlite.binding.module, llvmlite.binding.value, llvmlite.binding.context, llvmlite.binding.options, llvmlite.binding.passmanagers, llvmlite.binding.transforms, llvmlite.binding.analysis, llvmlite.ir, llvmlite.ir.types, llvmlite.ir._utils, llvmlite.ir.values, llvmlite.ir.module, llvmlite.ir.context, llvmlite.ir.builder, llvmlite.ir.instructions, llvmlite.ir.transforms, numba.testing, numba.testing.main, numba.testing.loader, numba.testing._runtests, numba.core.types, numba.core.utils, numba.core.types.abstract, numba.core.types.containers, numba.core.types.common, numba.core.types.misc, numba.core.typeconv, numba.core.typeconv.castgraph, numba.core.errors, numba.core.types.functions, numba.core.types.iterators, numba.core.types.npytypes, numba.core.types.scalars, numba.np, numba.np.npdatetime_helpers, numba.core.types.function_type
Traceback (most recent call last):
File "C:\Users\Ernesto\AppData\Local\Programs\Python\Python39\Lib\site-packages\numba\core\typeconv\typeconv.py", line 4, in
from numba.core.typeconv import _typeconv
ImportError: cannot import name 'typeconv' from 'numba.core.typeconv' (C:\Users\Ernesto\AppData\Local\Programs\Python\Python39\Lib\site-packages\numba\core\typeconv_init.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "X:\EA\Python\EjerciciosFourier\prueba numba.py", line 8, in
import numba as nb
File "C:\Users\Ernesto\AppData\Local\Programs\Python\Python39\Lib\site-packages\numba_init_.py", line 24, in
from numba.misc.special import (
File "C:\Users\Ernesto\AppData\Local\Programs\Python\Python39\Lib\site-packages\numba\misc\special.py", line 3, in
from numba.core.typing.typeof import typeof
File "C:\Users\Ernesto\AppData\Local\Programs\Python\Python39\Lib\site-packages\numba\core\typing_init_.py", line 1, in
from .context import BaseContext, Context
File "C:\Users\Ernesto\AppData\Local\Programs\Python\Python39\Lib\site-packages\numba\core\typing\context.py", line 11, in
from numba.core.typeconv import Conversion, rules
File "C:\Users\Ernesto\AppData\Local\Programs\Python\Python39\Lib\site-packages\numba\core\typeconv\rules.py", line 2, in
from .typeconv import TypeManager, TypeCastingRules
File "C:\Users\Ernesto\AppData\Local\Programs\Python\Python39\Lib\site-packages\numba\core\typeconv\typeconv.py", line 17, in
raise ImportError(msg % (url, reportme, str(e), sys.executable))
ImportError: Numba could not be imported.
If you are seeing this message and are undertaking Numba development work, you may need to re-run:
python setup.py build_ext --inplace
(Also, please check the development set up guide https://numba.pydata.org/numba-doc/latest/developer/contributing.html.)
If you are not working on Numba development:
Please report the error message and traceback, along with a minimal reproducer
at: https://github.com/numba/numba/issues/new
If more help is needed please feel free to speak to the Numba core developers
directly at: https://gitter.im/numba/numba
Thanks in advance for your help in improving Numba!
The original error was: 'cannot import name 'typeconv' from 'numba.core.typeconv' (C:\Users\Ernesto\AppData\Local\Programs\Python\Python39\Lib\site-packages\numba\core\typeconv_init.py)'
If possible please include the following in your error report:
sys.executable: C:\Users\Ernesto\AppData\Local\Programs\Spyder\Python\python.exe
Does any one can help?
Thanks

Hey @ErnestoAvedillo, thanks for reporting. How did you install Spyder?

Hello
Just downloaded and installed the  exe file Spyder_64bit_full.exe from https://www.spyder-ide.org/

But our installer doesn't  come with Numba. So do you have a separate Python installation in which you installed that package?

Ok, for that please follow the instructions posted in our docs:
https://docs.spyder-ide.org/5/faq.html#using-packages-installer
Let us know if that works for you.

Closing due to lack of response.


error - ReferenceError: self is not defined while running in Next.js

Hi,
Thank you for the awesome library. I loved it. 🤩
I am running into an issue while using in next.js. Could you help?
at Module._compile (internal/modules/cjs/loader.js:1085:14)     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)     at Module.load (internal/modules/cjs/loader.js:950:32)     at Function.Module._load (internal/modules/cjs/loader.js:790:12)     at Module.require (internal/modules/cjs/loader.js:974:19)     at require (internal/modules/cjs/helpers.js:101:18)     at Object.react-animated-numbers (/Users/venky/Wealthy/goku/.next/server/pages/index.js:1568:18)     at __webpack_require__ (/Users/-----/.next/server/webpack-runtime.js:33:42)     at eval (webpack-internal:///.

@venkateshpullaganti You have to use dynamic imports to only import this library on the client side. Import the library like this:
import dynamic from 'next/dynamic'
const AnimatedNumbers = dynamic(() => import('react-animated-numbers'), {
  ssr: false,
})

@venkateshpullaganti Try editing it as @jedwardblack  said.
Thank @jedwardblack

@venkateshpullaganti Try editing it as @jedwardblack said. Thank @jedwardblack

@venkateshpullaganti You have to use dynamic imports to only import this library on the client side. Import the library like this:
import dynamic from 'next/dynamic'
const AnimatedNumbers = dynamic(() => import('react-animated-numbers'), {
  ssr: false,
})

It worked. Thank you. 🤝

I think that this should be added to the readme, I just ran into the same issue.


Change your TSP solver to Google's

Use Google's TSP solver. It is fast and built off a constraint solver. Here is the link (https://developers.google.com/optimization/routing/tsp)

I will do this one with a pull request.

Done


x/build: "website" not on dashboard

https://build.golang.org/ doesn't have "website" listed.
Is that intentional?

It might've been intentional when x/website was a work-in-progress, but now that it's the canonical website source, it should be on the dashboard.

As mentioned in #32626, we should also add x/build subrepo to post-submit builders. /cc @bcmills
Only need limited builders (e.g., linux/amd64 on latest stable release) since it's our internal infrastructure repo, not meant for wide public consumption.

CL 207852 said "Fixes" but https://build.golang.org/ doesn't have x/build repo yet. Re-opening until it shows up so we don't lose track of this.

I would've just deployed it then but I worried that @cagedmantis has pending CLs that he's deploying right now (e.g. farmer.golang.org says it's at revision fd0e1d889dc65cd1932ecb09eee047f261226535-amedee-20191119T162811)

No worries. I just don't want us to lose track of this.

It's on there now. I guess gitmirror finally slowly populated the x/build git history into datastore.

It's on there now.  I can't help but feel there must've been another reason why it appeared now and not in any of the last few months.

@dmitshur, I also restarted gitmirror. And for x/build I manually created a datastore record. (not for x/website, though)
In any case, all this complicated code is being deleted in https://golang.org/cl/208697.


Broken Chocolatey Install: Unable to index into an object of type System.IO.DirectoryInfo

Including this here for reference, in case anyone more in tune with Chocolatey wants to have a look:
https://github.com/ferventcoder/chocolatey-packages/issues/41

I am experiencing this too.  poshgit v<IP_ADDRESS>1401009.  Is there a work around?

same error.
choco install poshgit -version <IP_ADDRESS>20717 worked great thanks.

Last night I pushed version 5.1 which is waiting on moderation. It was essentially a Save As... of the working 0.4 package, so fingers crossed?

4/4/2015 - Still having the "Unable to index into an object of type System.IO.DirectoryInfo" problem
choco install poshgit -version <IP_ADDRESS>20717 worked fine. Thanks.

This error still exists as of 20/05/2015

0.5.1 was rejected because the package I cloned violated current best practices. The effort to fix began a month ago with #184 and I'm planning to push the rest of the way soon. Again, sorry for the inconvenience everyone... :(

I resubmitted what I believe to be a minimal fix for the <IP_ADDRESS>50209 package (waiting in a long approval queue), if anyone cares to give that a try: https://chocolatey.org/packages/poshgit/<IP_ADDRESS>50209.

@dahlbyk it's oke :) At least it's not a dead end which is good. Thanks a lot for the effort.

@dahlbyk In response to trying <IP_ADDRESS>50209, I'm still getting the same error at the moment which is frustrating. I'll clone to the repo and install that way for now :)

I've updated #184 with a tentative fix that is awaiting Chocolatey moderation. I believe you can try it today with choco install poshgit -version <IP_ADDRESS>50825.

Has anyone seen this recently?

I've done a couple of test Chocolatey installs of 0.6.1.xxxx on PS v2 and have not seen this error.


firmware: implement FIFO functionality for poly buffer

The current poly note buffer only allows for up to 8 voices. when all spots are occupied, the newest voice should take the place of the FIRST IN voice, even when it is still sounding.

check out this link:


[eShopLite] Exception when navigating to car

I'm not sure how functional the sample is supposed to be but...

Run the eShopLite apphost
Navigate to frontend
add some things to cart
Click cart
OBSERVE: Cart goes from a count to 0
Click cart again
OBSERVE: exception

Grpc.Core.RpcException: Status(StatusCode="NotFound", Detail="Basket with buyer id user does not exist")
   at eShopLite.Frontend.Services.BasketServiceClient.CheckoutBasketAsync(String buyerId) in D:\GitHub\aspire-samples\samples\eShopLite\eShopLite.Frontend\Services\BasketServiceClient.cs:line 60
   at eShopLite.Frontend.Components.Cart.HandleCheckout() in D:\GitHub\aspire-samples\samples\eShopLite\eShopLite.Frontend\Components\Cart.razor:line 42
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at Microsoft.AspNetCore.Components.Forms.EditForm.HandleSubmitAsync()
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.<WaitForQuiescence>g__ProcessAsynchronousWork|54_0()
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.WaitForQuiescence()
   at Microsoft.AspNetCore.Components.Endpoints.EndpointHtmlRenderer.SendStreamingUpdatesAsync(HttpContext httpContext, Task untilTaskCompleted, TextWriter writer)

because there is no "cart page", clicking cart icon check-out the cart and removes the contents of the cart that's why cart doesn't exists.

OK yep this is side-effect of dotnet/aspire#361. I have a fix in PR now.


txr fails to build on Ubuntu 14.04

txr fails to build on Ubuntu 14.04. See https://gist.github.com/rwhogg/87a85424efca56c55efd#file-01-configure-L27
Checking what C type we have for integers wider than "long long" ... ./configure: line 1017: [: gcc: integer expression expected
./configure: line 1017: $2: unbound variable

[x] Ran brew update and retried your prior step?
[x] Ran brew doctor, fixed as many issues as possible and retried your prior step?
[x] If you're seeing permission errors tried running sudo chown -R $(whoami) $(brew --prefix)?

This seems to work if you set --ccname=clang, but since llvm is currently keg-only, I don't think that's an option just yet.

A few different results for comparison:
--ccname=gcc-4.8
Last 15 lines from /home/bob/.cache/Homebrew/Logs/txr/02.make:
CC glob.c -> opt/glob.o
CC signal.c -> opt/signal.o
CC linenoise/linenoise.c -> opt/linenoise/linenoise.o
CC y.tab.c -> opt/y.tab.o
CC match.c -> opt/match.o
CC parser.c -> opt/parser.o
CC txr.c -> opt/txr.o
CC lex.yy.c -> opt/lex.yy.o
lex.yy.c: In function ‘yyensure_buffer_stack’:
lex.yy.c:3993:21: error: expected expression before ‘/’ token
   num_to_alloc = 1; // After all that talk, this was set to 1 anyways...
                     ^
Makefile:137: recipe for target 'opt/lex.yy.o' failed
make: *** [opt/lex.yy.o] Error 1
make: *** Waiting for unfinished jobs....

This issue was moved to Linuxbrew/homebrew-core#148


Vote for release of v0.2.0

At least 2 approvals are needed from the 3 maintainers for tagging c2c560c552b650d311710090ab888ddb51ab0590 as v0.2.0.

[ ] Samson Amaugo (@sammychinedu2ky)
[ ] Shiwei Zhang (@shizhMSFT)
[ ] Sylvia Lei (@Wwwsylvia)

The changes compared to v0.1.0 include:

#20
#21
#23
#28
#29
#30
#31
#32
#33
#67
#68
#69
#70
#71
#34
#75
#76
#77
#78
#79
#85
#84
#86
#88
#87
#89
#90
#92
#93
#95
#94
#97
#96
#98
#99
#100
#101
#102
#104
#105

See the full changelog for more details.
Please respond LGTM or REJECT (with reasoning).

LGTM

LGTM

LGTM but I am not a maintainer of this repository.
Thanks @shizhMSFT refactored the oras-dotnet SDK, formalized the contribution and release workflow, and added a few docs after v0.1.0, which makes the project easier for people to contribute.

Lots of changes and improvements !!! Awesome

Closed as v0.2.0 was released.


ServiceBus client should accept Azure Identity as an authentication mechanism

ServiceBusClient accepts a connection string, but should also accept a TokenCredential, like the ones from Azure Identity

Implemented in https://github.com/Azure/azure-sdk-for-go/pull/15639


Context isn't automatically added anymore

With the PR at https://github.com/dini-ag-kim/lrmi-profile/pull/16, the context wasn't automatically embedded anymore although there still is a default set like this:
      "default": {
        "@context": [
          "https://w3id.org/kim/lrmi-profile/draft/context.jsonld"
        ]
      }

I also added the definitions object in the schema and oneOf in this PR. Maybe that is the problem.

It looks like the problem is definitions and/or oneOf. The schema version where I only adjusted the context bit is working as expected, see https://skohub.io/editor/?schema=https://raw.githubusercontent.com/dini-ag-kim/lrmi-profile/ed3bf3196108cd48814d237e162c8062e44db15f/draft/schemas/schema.json

It looks like the problem is definitions and/or oneOf.

Yes, the top level oneOf is the problem here. It isn't that trivial to properly support oneOf different object types in the UI, and there is some merging of schemas going on in Builder that are most likely causing trouble here and that I won't be able to look into.
Alas, oneOf is not necessary for your schema, it actually makes things more complicated than they should be. See https://github.com/dini-ag-kim/lrmi-profile/pull/20 for a fix.

Fixed with https://github.com/dini-ag-kim/lrmi-profile/commit/6452adb5704962e7fbf0ccc8ab0e03944555a3ff. Closing.


Feature request :  change workspace by scrolling mouse-wheel.

Add support to change workspace by scrolling mouse-wheel over the icons.

Hi, @rashidi77
Check this issue comment please. You'll probably find what you need https://github.com/tty2/horizontal-workspace-indicator/issues/4#issuecomment-770653235


Songs that already exist on server trigger at different points of the upload flow

We discussed this on IRC a few weeks ago, but I apparently forgot to post an issue for it : P
Some songs make it past the sample request section of the flow without triggering the ALREADY_EXISTS response. When this happens, they will trigger a GetUploadSession error 200 during the upload phase.
You mentioned that this might just be a fault in gmusicapi's logic. And that's probably worth looking into. Even so, I suggest adding the song's server ID in the GetUploadSession 200 error message as is done with the ALREADY_EXISTS message for safety and consistency.

Closing because I can no longer reproduce this.

Guess who ran across this with the test song today after failed tests left it in my library.


stack smashing detected

I installed the source code of bifrost to use large kmer size.
I used this command to compile cmake .. -DENABLE_AVX2=OFF -DCOMPILATION_ARCH=OFF -DMAX_KMER_SIZE=64 && make && make install
Then i executed the build command ./bifrost/build/build/bin/Bifrost build -r genomes/LM995446.1.fa -k 63 -t 16 -o bifrost_dbg
I ended up with this message *** stack smashing detected ***: ./bifrost/build/build/bin/Bifrost terminated ======= Backtrace: ========= *** /lib64/libc.so.6(__fortify_fail+0x37)[0x7fc0d3e4d7a7*** stack smashing detected ***: ./bifrost/build/build/bin/Bifrost terminated /lib64/libc.so.6(+0x118762)[0x7fc0d3e4d762]
It seems that there is a buffer overflow.
Could you give insight how to do a workaround this issue?
Thank you in advance

Hi @khodor14,
Thanks for reporting the issue. Your compile and execution commands seem fine to me. Could you share the output log of Bifrost and eventually the input fasta file you used?
Guillaume

Thank you @GuillaumeHolley for your reply
I think this is a problem in the machine where I'm trying to compile the code. I tried to compile bifrost on my personal pc, it worked but when copying the binary code it raised other issues ./Bifrost: /lib64/libm.so.6: version GLIBC_2.29' not found (required by ./Bifrost)
./Bifrost: /lib64/libc.so.6: version GLIBC_2.33' not found (required by ./Bifrost) ./Bifrost: /lib64/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by ./Bifrost)
./Bifrost: /lib64/libstdc++.so.6: version CXXABI_1.3.8' not found (required by ./Bifrost) ./Bifrost: /lib64/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by ./Bifrost)
./Bifrost: /lib64/libstdc++.so.6: version GLIBCXX_3.4.26' not found (required by ./Bifrost) ./Bifrost: /lib64/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by ./Bifrost)
./Bifrost: /lib64/libstdc++.so.6: version GLIBCXX_3.4.22' not found (required by ./Bifrost) ./Bifrost: /lib64/libm.so.6: version GLIBC_2.29' not found (required by libbifrost.so)
./Bifrost: /lib64/libc.so.6: version GLIBC_2.33' not found (required by libbifrost.so) ./Bifrost: /lib64/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by libbifrost.so)
./Bifrost: /lib64/libstdc++.so.6: version CXXABI_1.3.8' not found (required by libbifrost.so) ./Bifrost: /lib64/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by libbifrost.so)
./Bifrost: /lib64/libstdc++.so.6: version GLIBCXX_3.4.26' not found (required by libbifrost.so) ./Bifrost: /lib64/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by libbifrost.so)
./Bifrost: /lib64/libstdc++.so.6: version GLIBCXX_3.4.22' not found (required by libbifrost.so)
which means that it needs static compilation because in the previous compilation it did not raise this issue, it just gets aborted during the graph construction.

Also, please make sure you delete and make a new build directory after modifying the line in order for Cmake to make a brand new compilation. Otherwise, it might reuse some files and things might get messy.


Problem WITH Cli installetion

hi first of all thanks for this awesome tool! second I have a problem I want to generate a PNG from the map with tiles but sadly I was not able to do that with Python now I tried CLI but when I install I get this error
cargo +nightly install --git https://github.com/mejrs/rs3cache/ rs3 --features=rs3
Updating git repository https://github.com/mejrs/rs3cache/
error: there is nothing to install in rs3 v0.1.0 (https://github.com/mejrs/rs3cache/#83c0db0d), because it has no binaries
cargo install is only for installing programs, and can't be used with libraries.
To use a library crate, add it as a dependency to a Cargo project with cargo add.
how can I fix this ?! is it expected ?!

Can you try cargo +nightly install --git https://github.com/mejrs/rs3cache/ rs3 --bin=rs3 --features=rs3?

thanks for response ye sure its what I got
Updating git repository `https://github.com/mejrs/rs3cache/`

Installing rs3 v0.1.0 (https://github.com/mejrs/rs3cache/#83c0db0d)
error: failed to compile rs3 v0.1.0 (https://github.com/mejrs/rs3cache/#83c0db0d), intermediate artifacts can be found at C:\Users\TGR.H\AppData\Local\Temp\cargo-installMwR9AX.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.
Caused by:
none of the selected packages contains these features: rs3
the path is already defined

im using windows 11 if it helps in anyway !
btw do you know a better way so I can generate the map using python itself ?! because everything works perfectly in python but I didn't find any useful functions related to rendering the map so I decided to use the CLI tool

I just tried, cargo +nightly install --git https://github.com/mejrs/rs3cache rs3cache --bin=rs3 --features=rs3 should work.

btw do you know a better way so I can generate the map using python itself ?! because everything works perfectly in python but I didn't find any useful functions related to rendering the map so I decided to use the CLI tool

No, that is not exposed to python

thats so wierd im recieving new kind of errors !
error[E0635]: unknown featureprovide_any`
--> rs3cache_backend\src\lib.rs:5:5
|
5 |     provide_any,
|     ^^^^^^^^^^^
error[E0599]: no method named request_value found for reference &dyn StdError in the current scope
--> rs3cache_backend\src\error.rs:12:10
|
12 | #[derive(error::Error)]
|          ^^^^^^^^^^^^ method not found in &dyn Error
|
= note: this error originates in the derive macro error::Error (in Nightly builds, run with -Z macro-backtrace for more info)
Some errors have detailed explanations: E0412, E0599, E0635.
For more information about an error, try rustc --explain E0412.
warning: rs3cache_backend (lib) generated 5 warnings
error: could not compile rs3cache_backend (lib) due to 6 previous errors; 5 warnings emitted
warning: build failed, waiting for other jobs to finish...
error: failed to compile rs3cache v0.1.0 (https://github.com/mejrs/rs3cache#83c0db0d), intermediate artifacts can be found at C:\Users\TGR.H\AppData\Local\Temp\cargo-installYOtTA0.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.
`
can it be any rust version problem or cache problem from my old cmd I ran ?!

ill try to list all i can
error[E0412]: cannot find type Demand in module core::any
error[E0412]: cannot find type Demand in module core::any
--> rs3cache_backend\src\index.rs:249:10
error[E0635]: unknown feature provide_any
--> rs3cache_backend\src\lib.rs:5:5
error[E0599]: no method named request_value found for reference &dyn StdError in the current scope
--> rs3cache_backend\src\error.rs:12:10

my rust version
rustc 1.76.0 (07dca489a 2024-02-04)
my cargo version
cargo 1.76.0 (c84b36747 2024-01-18)

and i built the app from the github resource and now when I run the map render I see this error !
.\rs3.exe --render map
Error: something went wrong when parsing sprite frames (at src\definitions\sprites.rs:220:44)
Caused by: reached the end of the file unexpectedly (at src\definitions\sprites.rs:254:45)
Caused by: invalid seek to a negative or overflowing position
.\rs3.exe --assert-coherence
shows all is coherent
so sorry for your time btw :(

What cache are you using? Both today's and last week's cache work for me. Try deleting the js5-8 file and leaving the client open for a while so it can redownload it. Hopefully that will fix it.

in your cache can it be any rust version problem or cache problem from my old cmd I ran ?!

The repo has the rustc version pinned, which is why it works if you git clone and install it locally.

that fixed the issue! thanks a lot for your help btw cache was updated yesterday but somehow after removing and downloading cache again it fixed that error

thanks for your help mate


The section gets reorganised based on the last post of a list-section.

Hi,
First of all, thanks for the amazing theme. This is not just well built but also moderately well documented unlike a lot of other themes.
The issue:
When I add a new post to "blog" section, blog gets organised to the first section. But when I add a post to another list section, that gets reorganised as the first section of the website.
Section BEFORE adding a new post to "list-section" which is a section that lists posts

Section AFTER adding a new post to "list-section" which is a section that lists posts

@mtn Is this an expected behaviour? If yes, how can I keep the section arranging constant? Really appreciate your time on this. :slightly_smiling_face:

I'll have to check the implementation to be sure, but that should be easy enough to change and I see no reason to not support the behavior you're suggesting. I can make a PR at some point over the next few days, or if you want to make it yourself I'm happy to help.

:ok_hand:
I just used the "blog" instead of multiple listed-sections and is thinking about using the tags to organise my posts as a work-around although I still didn't find the solution for the issue. The last updated list-section seems to get organised first among the sections.

if you want to make it yourself I'm happy to help.

I really would like to but am on quite a stretch at the moment. Lemme know if you want me to close the issue. And thanks a lot for taking the time to reply. Appreciate it.

Closing this.


Update client.go

Fixed some wording and formatting of error messages.
I was attempting to use rosa and noticed some inconsistencies. This is to help with that. 🤘

With this change, i ran make lint and it looks good now.
➜  rosa git:(jjasghar/formatting-and-errormsgs) ✗ make lint
golangci-lint run --timeout 5m0s
WARN [runner] The linter 'golint' is deprecated (since v1.41.0) due to: The repository of the linter has been archived by the owner.  Replaced by revive.
➜  rosa git:(jjasghar/formatting-and-errormsgs) ✗

Bump!

I completely broke this PR.


Add prev/next buttons back to jbdao.org homepage

next prev buttons seem to have disappeared

fixed by cycle selector https://github.com/nance-eth/nance-interface/commit/878a6f413ed3396163f46dd8dd34a9039c51e19b


Manifested versions

This changes the way an artifacts version is stored and loaded in ProtoData, applying the mechanism recently introduced in tool-base.
There are also some improvements to the build scripts that were made because of issues experienced in builds under Windows 11:

GitHubPackages.kt was modified to extract the ZIP archive using the zip4j library, instead of using unzip command line utility which is not available in vanilla Windows.
RunGradle.kt was modified to use the _out directory instead of build. Using build for debug output of processes created by ProcessBuilder failed the clean command under Windows because of files already opened in the directory.

Changes to the build scripts will be applied to config upon completion of this PR.

The error WindowsRegistry is not supported on this operating system. which occurs in a Windows build is caused by this issue in Gradle.

@armiol, @dmdashenkov, we still have the Gradle warning on sourcesJar does not explicitly or implicitly depending on generateProto.
I've tried to quickly fix that by adding it explicitly similarly to the way it was recently introduced in io.spine.internal.gradle.protobuf.ProtoTaskExtensions, but failed: the warning persists. I guess it should be addressed at the level of mc-java which is applied.


pybullet: AttributeError: 'dict' object has no attribute 'env_specs'

This is the error I get when running agent.py:
(base) james-coder@nvidia-docker:~/git/neureal-ai-agent$ ./build.sh build
...
(base) james-coder@nvidia-docker:~/git/neureal-ai-agent$ ./build.sh dev
root@b14173f046e7:/app# ls
Dockerfile  LICENSE  README.md  agent-a2c.py  agent.py  build.sh  envs_local  neureal-ai-util  requirements.txt
root@b14173f046e7:/app# python agent.py
Traceback (most recent call last):
  File "agent.py", line 12, in <module>
    import pybullet_envs
  File "/usr/local/lib/python3.8/dist-packages/pybullet_envs/__init__.py", line 14, in <module>
    register(
  File "/usr/local/lib/python3.8/dist-packages/pybullet_envs/__init__.py", line 6, in register
    if id in registry.env_specs:
AttributeError: 'dict' object has no attribute 'env_specs'
root@b14173f046e7:/app#

Nothing specific with the app doing this, it's just the library:
root@b14173f046e7:/app# python
Python 3.8.10 (default, Jun 22 2022, 20:18:18)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pybullet
pybullet build time: May 20 2022 19:44:17
>>> import pybullet_envs
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.8/dist-packages/pybullet_envs/__init__.py", line 14, in <module>
    register(
  File "/usr/local/lib/python3.8/dist-packages/pybullet_envs/__init__.py", line 6, in register
    if id in registry.env_specs:
AttributeError: 'dict' object has no attribute 'env_specs'
>>>

At this point, I suspect that PyBullet 3.2.5 might be the cause. @wilbown what version of pybullet do you have? 3.2.5 is just the most recent.

The guy who took over gym made breaking changes to it recently and that environment probably has not updated. I am using gym 0.24.1 and at least the basic environments (cartpole, lunarlander) still work. Lets just stick with gym 0.24.1 for now since it at least runs without error.

Running through the Dockerfile in a few different ways (testing Ubuntu 18.04 instead of Ubuntu 20.04 for instance), and running pip install pybullet in a few different ways led to me finding that gym 0.26 is the problem. (gym 0.21.0 looks to be the most recent version that's stable.)
If you install gym 0.24.1 or anything +/- of that, they add a warning saying "We know there are problems here, upgrade to at least 0.25.1 to solve them." Unfortunately, I tried all higher versions and non worked with pybullet. They must have introduced some breaking changes.

 They changed the main interface itself and non backward compatible so lets just give them some time to work it out. We can always comment out optional environment imports like that if they are not working.

@wilbown I think we posted at the same time, but I tried 0.24.1 one more time, since you specifically named it:
root@0c546fd6a269:/app# pip install gym==0.24.1
Collecting gym==0.24.1
  Downloading gym-0.24.1.tar.gz (696 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 696.4/696.4 kB 6.4 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting gym-notices>=0.0.4
  Downloading gym_notices-0.0.8-py3-none-any.whl (3.0 kB)
Requirement already satisfied: numpy>=1.18.0 in /usr/local/lib/python3.8/dist-packages (from gym==0.24.1) (1.23.3)
Requirement already satisfied: cloudpickle>=1.2.0 in /usr/local/lib/python3.8/dist-packages (from gym==0.24.1) (2.2.0)
Requirement already satisfied: importlib-metadata>=4.8.0 in /usr/local/lib/python3.8/dist-packages (from gym==0.24.1) (5.0.0)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.8/dist-packages (from importlib-metadata>=4.8.0->gym==0.24.1) (3.8.1)
Building wheels for collected packages: gym
  Building wheel for gym (pyproject.toml) ... done
  Created wheel for gym: filename=gym-0.24.1-py3-none-any.whl size=793137 sha256=2b8f496a24830090c92d5c63dbf4c88e95300f4c0fb67a12982449c806906a86
  Stored in directory: /root/.cache/pip/wheels/5a/e9/0b/5536e77ed2edbbf067ecff287ec039633d40daee4d8dac7716
Successfully built gym
Installing collected packages: gym-notices, gym
  Attempting uninstall: gym
    Found existing installation: gym 0.21.0
    Uninstalling gym-0.21.0:
      Successfully uninstalled gym-0.21.0
Successfully installed gym-0.24.1 gym-notices-0.0.8
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
root@0c546fd6a269:/app# python3
Python 3.8.10 (default, Jun 22 2022, 20:18:18)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pybullet_envs
Warning: Gym version v0.24.1 has a number of critical issues with `gym.make` such that environment observation and action spaces are incorrectly evaluated, raising incorrect errors and warning . It is recommend to downgrading to v0.23.1 or upgrading to v0.25.1
/usr/local/lib/python3.8/dist-packages/gym/envs/registration.py:415: UserWarning: WARN: The `registry.env_specs` property along with `EnvSpecTree` is deprecated. Please use `registry` directly as a dictionary instead.
  logger.warn(
>>>

Gym 0.23.1 should be fine too. I will downgrade to that to check.

Gym 0.23.1 successful import test! :partying_face:

Hrm.......... :thinking:
PR for "compatibility with Gym 0.26.0"


Help with Android 8 Channels?

What needs to be done to indicate Channels, so that notifications are delivered to Android 8 devices? From what I can gather, at least a default channel must be indicated, or the push won't be delivered. How do you do that with this plugin? Is it done in the initializing js, and if so, how? Thank you.

https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/PAYLOAD.md#notification-channels
https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/API.md#pushnotificationcreatechannelsuccesshandler-failurehandler-channel