-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setindex!: MethodError: Cannot convert
an object of type Symbol to an object of type String
#32157
Comments
I'm facing same problem. Have you already fixed this? |
I too am encountering this. Have either of you solved this cryptic error? To be clear, everything works when using a single process. |
Hi Boaz:
No, I gave up. The situation for me is exactly like yours: single-process
calculations work perfectly. What's the Julia version are you using? I
didn't check the latest 1.2, may be the bug is fixed now.
What we need is a good minimal reproducible example. Could you think of
something? All my cases are hard to distill.
Thanks,
Ilya
…On Thu, Nov 7, 2019 at 1:55 AM Boaz Blankrot ***@***.***> wrote:
I too am encountering this. Have either of you solved this cryptic error?
To be clear, everything works when using a single process.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#32157?email_source=notifications&email_token=AMF2PZKL3PLXJ2V2G4QWEYLQSO3XLA5CNFSM4HP6BTZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDLF6JI#issuecomment-550919973>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMF2PZNUXKND44UYHRHHOADQSO3XLANCNFSM4HP6BTZA>
.
|
I've had this happen in both Julia 1.1.1 and 1.2.0. No luck reducing the example so far (simple functions all work), but I will continue trying. |
Same problem for me. Parallel computation breaking it. |
I was trying to run the Flux tutorial and I get something similar apples = CSV.File(datapath("data/apples.dat")) Both of them yield the same error: MethodError: Cannot |
Same problem. No one seems to know the solution. |
No one has provided a reproducible example here, which makes this issue non-actionable. It's highly unlikely that all of these convert problems are the same issue, and these are much more likely to be library issues than language issues. Accordingly, I'm closing this. |
I am using pmap to compute in parallel the result of application of the function ppoly(), which takes an array of strings and numbers of the same length. I manually chop these arrays into arrays of arrays, so that the call looks like
ps = pmap(ppoly, words_all_chunks, coeffs_all_chunks)
I do it multiple times with arguments of different lengths, but eventually, when chunks got big enough, Julia triggers a mysterious error:
Unfortunately, I cannot make a minimal reproducible example for that, but I suspect it might be related to a similar issue #30405 for getindex! --- some indexing variables are going out of range. Just for an idea how big chunks are:
length.(words_all_chunks) = [2560204, 2560204, 2560204, 2560204]
length.(coeffs_all_chunks) = [2560204, 2560204, 2560204, 2560204]
The text was updated successfully, but these errors were encountered: