question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

floyd/main.py type error.

See original GitHub issue
Traceback (most recent call last):
  File "/Users/zhilian/anaconda2/bin/floyd", line 11, in <module>
    sys.exit(cli())
  File "/Users/zhilian/anaconda2/lib/python2.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/Users/zhilian/anaconda2/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/Users/zhilian/anaconda2/lib/python2.7/site-packages/click/core.py", line 1063, in invoke
    Command.invoke(self, ctx)
  File "/Users/zhilian/anaconda2/lib/python2.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/zhilian/anaconda2/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/Users/zhilian/anaconda2/lib/python2.7/site-packages/floyd/main.py", line 33, in cli
    check_cli_version()
  File "/Users/zhilian/anaconda2/lib/python2.7/site-packages/floyd/main.py", line 62, in check_cli_version
    msg_parts.apend("    conda install -y -c conda-forge -c floydhub floyd-cli")
AttributeError: 'list' object has no attribute 'apend'
Sentry is attempting to send 1 pending error messages
Waiting up to 10 seconds
Press Ctrl-C to quit

The ‘apend’ should be ‘append’.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
DonaldDaicommented, Mar 31, 2018

@znagler Just replace the ‘apend’ with ‘append’ can fix it.

0reactions
houqpcommented, Apr 5, 2018

Good to know, thanks everyone for the report 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting a type error while using fori_loop with JAX
I didn't want the code to be unrolled so I used fori_loop, but I'm getting an error and can't figure out what I...
Read more >
floyd/Makefile at master · kervinck/floyd - GitHub
Makefile for Linux and OSX (type 'make help' for an overview) ... If you get "fatal error: Python.h: No such file or directory",....
Read more >
Annotation issues at runtime - mypy 0.991 documentation
Type comments can't cause runtime errors because comments are not evaluated by Python. In a similar way, using string literal types sidesteps the...
Read more >
Untitled
Kororoit creek primary school zone, Unsatisfactory performance write up, ... Kobe 6 prelude early link, Doctrinas cristianas de error, Ipsct maffeo ...
Read more >
Programming For Beginners: Learn The Basics Of Coding ...
But as you can see, there are many types of protects because I've installed ... Line, which shows is that it's an error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found