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.

How to update the packages?

See original GitHub issue

How can I test my packages?

I am trying to add some modules in the Existing package. I have added the quotes module in the leon package.

I added this in leon/data/expressions/en.json

"quote": [
		"Tell me a Quote",
		"Give me a Quote",

Then I have updated the below in ` leon/data/expressions/en.json

		  "Design is the silent ambassador of your brand. ",
		  "If there is one word I’d like to remove from any conversation about design, it’s “pretty.",

Then I create a new python file named Please see the below code.

import utils

def quote(string):
	"""Leon says some quote"""

	return utils.output('end', 'quotes', utils.translate('quotes'))

I also created a new test python file in the test folder.

But it seems it breaks leon. Wheneve I ask question it gives reply as “Sorry, I don’t work correctly!”

How can I test the modules? Do I need to add anything else?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (4 by maintainers)

github_iconTop GitHub Comments

menporulporiayalancommented, Feb 28, 2019

Yes, I Built. I figured out the issue. The Issue is with the JSON file. Thanks for your time @louistiti 😃

louistiticommented, Feb 27, 2019

Hello @menporulporiayalan,

First of all, thanks for contributing by creating a Leon’s module.

It’s normal you have these errors as you are using Python 2.7 outside of Docker. Try to do a docker logs -f <CONTAINER>, with the ID of your running container, that will show you a log in real time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Update All Packages On Ubuntu
Method 2: Update using Package Updater: ... Go to the menu and in the search bar type “Software Updater.”. Now run it. It...
Read more >
How to update Linux packages with command - NoviceDev
Step 1: Run "sudo apt update" to resynchronize package index · Step 2: Run "apt-get upgrade" to download available package updates.
Read more >
update.packages function
new.packages looks for (suitable) packages on the repositories that are not already installed, and optionally offers them for installation.
Read more >
Linux Update All Packages Command Using the CLI
Explains how to update all installed packages on the Linux based system with just one command to patch security and get updates.
Read more >
How to update a package in R?
packages is not the package name, but the library location to check. If you only want to update one package, use install.packages ....
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 Post

No results found

github_iconTop Related Hashnode Post

No results found