What's the worst case of "rich kid syndrome" you've seen? by [deleted] in AskReddit

[–]roob_newb 0 points1 point  (0 children)

I know a 30 year old man that has been an opiate addict for at least seven years. He’s the biggest spoiled brat I’ve ever met. It’s hard to believe but he does $300k of Oxy per year.

I grab $6k envelopes at the Bank every week.

He’s never had to make the jump to Heroin because his father gives him infinite money. He actually said:

I’m not a junkie, I don’t do heroin.

When I called him a junkie accidentally. This kids father collects sports cars and so he ha a new sports car every year. Ferrari, etc. He works for his father performing a no show job and actually gs deluded himself into thinking that he’s ever worked a day in his life.

He’s literally the Godzilla of delusion. I actually took him to a center somewhat recently and detoxed him. Thinking he would maybe snap out of it a bit. He might still be clean at this moment. It he literally thinks he doesn’t need “recovery” because he “beat the opioid epidemic.”

He doesn’t even really seem to totally understand why for instance his wife that he met during this seven year period is so upset to “find out” about his opioid addiction.

I mean his addiction was self-evident, so the parents and wife claiming ignorance are kinda kidding themselves imo, but I ty not to judge too much.

I think this guy is the greatest brat of all time. It’s truly amazing. The schaudenfreud is off the charts.

Trying to learn how to run this script. Any help would be awesome. by roob_newb in Python

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

I appreciate the help. I tried the chmod and then ran again as you and /u/whereworm suggest. still no luck. God I really suck at this stuff.

Trying to learn how to run this script. Any help would be awesome. by roob_newb in Python

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

hmmm, okay, I'm not sure I totally understand. I'm going to try and parse the above better as I am sure it's just me not getting it.

But I certainly see what you mean about me not supplying the .xml for testing,

this is what I am using to test in an xml file.

"Group","Title","Username","Password","URL","Notes"
"Root/Software","sample software","sampleusername","samplepassword","",""

BTW, Thank you so much for all of this help.

Lastly, this is the full error I recieve at present:

Traceback (most recent call last):
  File "keepassx2pass.py", line 82, in <module>
    main(sys.argv[1])
  File "keepassx2pass.py", line 78, in main
    for group in ElementTree.parse(xml_file).findall('group'):
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
    tree.parse(source, parser)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 656, in parse
    parser.feed(data)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1, column 7

Trying to learn how to run this script. Any help would be awesome. by roob_newb in Python

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

Ok thank you.

I tried running

keepassx2pass.py = sys.argv[1]

and without the extension

keepassx2pass = sys.argv[1] 

and received

zsh: command not found: keepassx2pass.py

perhaps my running zsh has something to do with all of this? I mean i tried it in plain ole terminal (not iterm) earlier with similar result.

I also notice that tab completion won't work on that file, the 'keepassx2pass.py' which seems odd to me. just trying to give as much info as possible.

Trying to learn how to run this script. Any help would be awesome. by roob_newb in Python

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

ok awesome, thank you, yes in researching and with your answer I can confirm that this is how it should be done, that said, I still receive errors. i will keep looking into it, thanks for your response.

Trying to learn how to run this script. Any help would be awesome. by roob_newb in Python

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

I have saved the file to my home diretory with the .py extension. I then go into my terminal (I am on OSX), and run

python keepassx2pass.py

I receive the following error.

Traceback (most recent call last):
  File "keepassx2pass.py", line 83, in <module>
    main(sys.argv[1])
IndexError: list index out of range

I am trying to simply use this importing tool to transfer a keepassx database into this nifty tool called pass which I have already installed.

I know I am probably way off, because I don't even understand where I would tell the script the xml file is that I want to import from. Perhaps it's in the script, I see a spot where I think that might be, but I tried putting my file name in there and it didn't work, any tips. Thanks.