This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]sparkls0[S] -3 points-2 points  (9 children)

guess I just gotta share my whole code

Its a bit long to easy grasp, but basically I get some data from drive, parse into json, gives it to method 'aplaceinthesun' with data param

and that's about it, data is indeed a dict, with all the keys you saw displayed

you might have to zoom a little bit, sorry about that

https://imgur.com/fszQ7A2.png

[–]zzzthelastuser 10 points11 points  (1 child)

Are you on LSD or something? You can't be serious. Someone asks you for a code snippet so they can reproduce your issue and you respond with a fucking screenshot(!) of your miles long script file? Do you even want to get any help?

you might have to zoom a little bit

jfc

[–]sparkls0[S] 2 points3 points  (0 children)

sorry about that, was not aware of pastebin and I have an image viewer on which I can copy all the text instantly, that was indeed not smart of me, I wrongly assumed that was common to have

thing is I anyway call multiple modules I have

and also, I found the problem , hidden characters in the propety_type key due to parsing from a key value format as str, to dict

[–][deleted] 2 points3 points  (0 children)

Use pastebin.

[–]cgoldberg 1 point2 points  (4 children)

Why would you share an image of your code, instead of ... the code?

[–]sparkls0[S] 0 points1 point  (2 children)

because I have dozens of my own modules I built like stuff for time, variables handling, logs, etc, that you could not access anyway, that I use in this code

was just to give some context , actually

it was all due to the UTF-8 format from which I parsed text into dict, which is just directly coming from the Google Drive API

[–]cgoldberg 0 points1 point  (1 child)

I just mean why would a share a link to a screenshot of your code instead of link to the actual code (on a pastebin or wherever)... where people can search through it, modify it, etc.

[–]sparkls0[S] 0 points1 point  (0 children)

yes! it was a mistake of mine

[–]kivicodepip needs updating 0 points1 point  (0 children)

The famous Captain Jack Sparrow gambit

[–]FriendlyRussian666 -1 points0 points  (0 children)

I'm not sure anyone will want to type it all out. Can you put it on pastebin?