Skip to content

Error allmychanges.api.ApiError: FORBIDDEN and no info about the line that caused error #9

Description

@bessarabov

I have created file gh.list to import to http://allmychanges.com/ (I've created it with the command get_github_favorites bessarabov > gh.list https://metacpan.org/release/App-AllMyChangesUtils ).

But when use cat gh.list | amch import to import that file. I get the error FORBIDDEN. The bad thing that I from the script output I can't understand what line in my file gives that API error.

Here is my file and the full error I get:

root@f25006768dbc:/allmychanges# cat gh.list
namespace,name,source
Python,fig,https://github.com/docker/fig.git
Perl,Net-PayPal,https://github.com/garu/Net-PayPal.git
Python,allmychanges,https://github.com/svetlyak40wt/allmychanges.git
JavaScript,xkcd1446,https://github.com/MagicalTux/xkcd1446.git
Perl,gitprep,https://github.com/yuki-kimoto/gitprep.git
Perl,OrePAN2,https://github.com/tokuhirom/OrePAN2.git
C++,SmartHomeServer,https://github.com/sergei-svistunov/SmartHomeServer.git
VimL,Dockerfile.vim,https://github.com/ekalinin/Dockerfile.vim.git
VimL,perldoc-vim,https://github.com/hotchpotch/perldoc-vim.git
C,git,https://github.com/git/git.git
JavaScript,blackmagicwoman,https://github.com/sullenor/blackmagicwoman.git
Perl,Crypt-PBKDF2,https://github.com/arodland/Crypt-PBKDF2.git
unknown,keybase-issues,https://github.com/keybase/keybase-issues.git
Python,official-images,https://github.com/docker-library/official-images.git
Python,docker-registry,https://github.com/docker/docker-registry.git
Perl,log4perl,https://github.com/mschilli/log4perl.git
JavaScript,project-stub,https://github.com/bem/project-stub.git
JavaScript,raphael,https://github.com/DmitryBaranovskiy/raphael.git
CSS,normalize.css,https://github.com/necolas/normalize.css.git
JavaScript,bower,https://github.com/bower/bower.git
Perl,perl-App-stopw,https://github.com/perlancar/perl-App-stopw.git
JavaScript,declutter,https://github.com/beeos/declutter.git
unknown,corpus,https://github.com/beeos/corpus.git
Go,docker,https://github.com/docker/docker.git
Objective-C,beardedspice,https://github.com/beardedspice/beardedspice.git
unknown,typography,https://github.com/sullenor/typography.git
CSS,Responsive-Dashboard,https://github.com/Ehesp/Responsive-Dashboard.git
CSS,frontend-instruments,https://github.com/basvasilich/frontend-instruments.git
Python,inbox,https://github.com/inboxapp/inbox.git
Perl,Seacan,https://github.com/gugod/Seacan.git
root@f25006768dbc:/allmychanges#
root@f25006768dbc:/allmychanges# cat gh.list | amch import
Traceback (most recent call last):
  File "/usr/local/bin/amch", line 9, in <module>
    load_entry_point('allmychanges==0.3.0', 'console_scripts', 'amch')()
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 488, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 474, in main
    self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 758, in invoke
    return self.invoke_subcommand(ctx, cmd, cmd_name, ctx.args[1:])
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 767, in invoke_subcommand
    return cmd.invoke(cmd_ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 659, in invoke
    ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 325, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/allmychanges/client.py", line 87, in _import
    _add_changelogs(config, dataset.dict)
  File "/usr/local/lib/python2.7/dist-packages/allmychanges/client.py", line 177, in _add_changelogs
    source=source)
  File "/usr/local/lib/python2.7/dist-packages/allmychanges/api.py", line 57, in update_changelog
    source=source))
  File "/usr/local/lib/python2.7/dist-packages/allmychanges/api.py", line 37, in <lambda>
    _put = lambda *args, **kwargs: _call('put', *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/allmychanges/api.py", line 31, in _call
    raise ApiError(response.reason, response)
allmychanges.api.ApiError: FORBIDDEN
root@f25006768dbc:/allmychanges#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions