Skip to content
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

difrent reslutat in this same code #72

Closed
paulanalyst opened this issue Jun 5, 2014 · 8 comments
Closed

difrent reslutat in this same code #72

paulanalyst opened this issue Jun 5, 2014 · 8 comments

Comments

@paulanalyst
Copy link

o=open("file.json")
writecsv("o.txt",JSON.parse(o))
yesterday result was like :
rows by rows
357157182,["2013-10-04 12:22:40"=>["realtimeData"=>["intentionTags"=>{},....
344534426,["2013-10-04 15:46:36"=>["realtimeData"=>["intentionTags"=>{},
375559358,["2013-10-04 10:08:52"=>["realtimeData"=>["intentionTags"=>{}

today this same code and another result ... I prefer this first format. How I can do it ?
375865921,Dict{String,Any} with 1 entry:
"2013-10-04 14:27:45" => Dict{String,Any} with 4 entries:
"pixel" => "2"
"visitedWebsites" => {}
"data" => nothing
"realtimeData" => Dict{String,Any} with 4 entries:
"groups" => {}
"intentionTopics" => {}
"intentionTags" => {}
"tags" => {}
376089742,Dict{String,Any} with 1 entry:
"2013-10-04 19:01:41" => Dict{String,Any} with 4 entries:
"pixel" => "2"
"visitedWebsites" => {Dict{String,Any} with 3 entries:
"created_at" => "2013-10-04 17:15:31"

Paul

@kmsquire
Copy link
Contributor

kmsquire commented Jun 5, 2014

Hi Paul, this is actually due to a change in how Dicts are printed in Julia. I just submitted JuliaLang/julia#7142 there.

@mbauman
Copy link
Member

mbauman commented Jun 9, 2014

Hi Paul - the fix for this should have just been merged into Julia master. Could you update Julia and see if it fixed it for you? If you're using the pre-built nightlies, you may need to wait a day or two for the change to be included.

@paulanalyst
Copy link
Author

Thx, but no JSON no updated :
New Julia on win 7.

Version 0.3.0-prerelease+3556 (2014-06-08 10:20 UTC)
/ |__'|||'_| | Commit 308139b* (1 day old master)
|
/ | x86_64-w64-mingw32
julia> Pkg.update()
INFO: Updating METADATA...
INFO: Updating cache of Distributions...
INFO: Updating kNN...
INFO: Updating Distributions...
INFO: Computing changes...
INFO: No packages to install, update or remove

julia> Pkg.checkout("JSON")
INFO: Checking out JSON master...
fatal: Missing branch name; try -b
ERROR: failed process: Process(git '--work-tree=C:\Users\SAMSUNG2\.julia\JSON' '--git-dir=C:\Users\ SAMSUNG2\.julia\JSON\.git' checkout -q -t master, ProcessExited(128)) [128]
in pipeline_error at process.jl:502
in run at pkg/git.jl:22

And the result is also no row by row only like this :

375865921,Dict{String,Any} with 1 entry:
"2013-10-04 14:27:45" => Dict{String,Any} with 4 entries:
"pixel" => "2"
"visitedWebsites" => {}
"data" => nothing
"realtimeData" => Dict{String,Any} with 4 entries:
"groups" => {}
"intentionTopics" => {}
"intentionTags" => {}
"tags" => {}
376089742,Dict{String,Any} with 1 entry:
"2013-10-04 19:01:41" => Dict{String,Any} with 4 entries:
"pixel" => "2"

Paul.

W dniu 2014-06-09 18:49, Matt Bauman pisze:

Hi Paul - the fix for this should have just been merged into Julia
master. Could you update Julia and see if it fixed it for you? If
you're using the pre-built nightlies, you may need to wait a day or
two for the change to be included.


Reply to this email directly or view it on GitHub
#72 (comment).

@mbauman
Copy link
Member

mbauman commented Jun 9, 2014

Commit 308139b* (1 day old master)

You need to update and rebuild Julia itself, not the JSON package.

@paulanalyst
Copy link
Author

I download Julia and Install on win 7.
julia-0.3.0-prerelease-308139b-win64.exe
Paul

I W dniu 2014-06-09 19:36, Matt Bauman pisze:

Commit 308139b* (1 day old master)

You need to update and rebuild Julia itself, not the JSON package.


Reply to this email directly or view it on GitHub
#72 (comment).

@mbauman
Copy link
Member

mbauman commented Jun 9, 2014

Ah, ok, then you'll need to wait until the nightly is updated. Perhaps give it a shot tomorrow.

@paulanalyst
Copy link
Author

THX ;)
W dniu 2014-06-09 19:39, Matt Bauman pisze:

Ah, ok, then you'll need to wait until the nightly is updated. Perhaps
give it a shot tomorrow.


Reply to this email directly or view it on GitHub
#72 (comment).

@IainNZ
Copy link
Contributor

IainNZ commented Sep 13, 2014

This seems resolved

@IainNZ IainNZ closed this as completed Sep 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants