exobrain icon indicating copy to clipboard operation
exobrain copied to clipboard

exobrain setup twitter puts file in nonexistant directory

Open bkero opened this issue 11 years ago • 5 comments

$ exobrain setup Twitter Configuring Exobrain::Twitter...

Hey there, we'll need to start by getting an API key from twitter.

Head over to: https://apps.twitter.com/app/new

You need only fill in the required fields there. Alternatively, if you already have a registered app, you can use that.

--> Your application MUST require read, write, and DM access <--

Once done, you'll need to provide the API key and secret. These are not shared with anyone.

API key: zool API secret: hunter2

Thanks! Authing with twitter...

Great! Now, to complete the auth, visit this URL, and enter the PIN...

https://api.twitter.com/oauth/authorize?oauth_token=things

PIN: 12345

Thanks @bkero! Can't mkdir('/home/ubuntu/.config/exobrain'): No such file or directory at /home/ubuntu/perl5/lib/perl5/Exobrain/Config.pm line 64

$


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

bkero avatar May 27 '14 21:05 bkero

Did you complete, 'exobrain setup' first off to setup the core? Though they both look to use perls built in 'mkdir', which doesn't handle making a path.

techman83 avatar May 27 '14 23:05 techman83

Well I'm seeing that on initial config.

leon@gandalf:~$ exobrain setup
given is experimental at /home/leon/perl5/lib/perl5/File/XDG.pm line 92.
when is experimental at /home/leon/perl5/lib/perl5/File/XDG.pm line 93.
when is experimental at /home/leon/perl5/lib/perl5/File/XDG.pm line 95.
when is experimental at /home/leon/perl5/lib/perl5/File/XDG.pm line 97.
given is experimental at /home/leon/perl5/lib/perl5/File/XDG.pm line 108.
when is experimental at /home/leon/perl5/lib/perl5/File/XDG.pm line 109.
when is experimental at /home/leon/perl5/lib/perl5/File/XDG.pm line 111.
Setting up exobrain...
We already have /home/leon/ubic/log/exobrain, skipping...
Can't mkdir('/home/leon/.config/exobrain'): No such file or directory at /home/leon/perl5/lib/perl5/Exobrain/Config.pm line 64

If you want an initial work around, just run:

mkdir ~/.config

You should probably run exobrain setup if you haven't done so already.

techman83 avatar May 27 '14 23:05 techman83

Fixed by @techman83 in #59. :) We'll see if I'm able to do a new exobrain release from the world's tiniest airport. :)

pjf avatar May 30 '14 07:05 pjf

:D

techman83 avatar May 30 '14 07:05 techman83

Just ran into this issue on Ubuntu 14.04, using version 1.08 downloaded from the CPAN. Worked around it easily enough by creating ~/.config/ but thought it was worth mentioning.

Pythagory avatar Oct 06 '14 21:10 Pythagory