Ask Your Question

dfseifer's profile - activity

2021-03-06 09:55:41 -0600 marked best answer ros_buildfarm prerelease script cannot install package dependency

I'm getting an error when trying to run a prerelease test for a package:

generate_prerelease_script.py   https://raw.githubusercontent.com/ros-infrastructure/ros_buildfarm_config/production/index.yaml   noetic default ubuntu focal amd64   --custom-repo     linux_networking__custom-2:git:https://github.com/PR2-prime/linux_networking.git:melodic-devel   --level 0   --output-dir ./

I get the following error:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 299, in __getitem__
    rawpkg = self._cache[key]
KeyError: 'python-twisted-core'

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py", line 287, in <module>
    main()
  File "/tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py", line 150, in main
    get_binary_package_versions(apt_cache, debian_pkg_names_testing))
  File "/tmp/ros_buildfarm/ros_buildfarm/common.py", line 144, in get_binary_package_versions
    pkg = apt_cache[debian_pkg_name]
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 301, in __getitem__
    raise KeyError('The cache has no package named %r' % key)
KeyError: "The cache has no package named 'python-twisted-core'"
2021-03-06 09:52:50 -0600 received badge  Notable Question (source)
2021-03-06 01:51:19 -0600 answered a question ros_buildfarm prerelease script cannot install package dependency

figured this out for myself, the python3 version of this package is python3-twisted

2021-03-06 01:47:42 -0600 received badge  Enthusiast
2021-02-26 02:56:25 -0600 received badge  Popular Question (source)
2021-02-25 16:56:23 -0600 asked a question ros_buildfarm prerelease script cannot install package dependency

ros_buildfarm prerelease script cannot install package dependency I'm getting an error when trying to run a prerelease t

2013-01-25 03:10:49 -0600 received badge  Famous Question (source)
2013-01-25 03:10:49 -0600 received badge  Popular Question (source)
2013-01-25 03:10:49 -0600 received badge  Notable Question (source)
2012-08-16 06:42:10 -0600 received badge  Notable Question (source)
2012-08-16 06:42:10 -0600 received badge  Famous Question (source)
2012-08-16 06:42:10 -0600 received badge  Popular Question (source)
2012-04-17 07:41:48 -0600 received badge  Teacher (source)
2012-04-17 07:41:48 -0600 received badge  Self-Learner (source)
2012-04-15 06:04:11 -0600 answered a question rosjava_core not compiling with messsage error

OK, I figured out the problem. I had some code written for diamondback that had references to deprecated messages in my workspace. Creating a clean workspace, with only the electric stacks and none of my own code fixed the problem.

2012-04-13 06:40:46 -0600 asked a question rosjava_core not compiling with messsage error

I am trying to build rosjava_core using the command:

./gradlew install

and getting the following error output (only the seeming relevant error included):

:rosjava_bootstrap:jar

:rosjava_messages:generateSources

Exception in thread "main" java.util.NoSuchElementException: No message definition available for: move_arm_msgs/MoveArmGoal at org.ros.internal.message.MessageDefinitionProviderChain.get(MessageDefinitionProviderChain.java:51) at org.ros.internal.message.DefaultMessageFactory.newFromType(DefaultMessageFactory.java:38) at org.ros.internal.message.MessageFieldType.getDefaultValue(MessageFieldType.java:41) at org.ros.internal.message.ScalarField.newValue(ScalarField.java:36) at org.ros.internal.message.MessageContext.addValueField(MessageContext.java:83) at org.ros.internal.message.MessageContextFactory$1.scalar(MessageContextFactory.java:55) at org.ros.internal.message.MessageDefinitionParser.parseField(MessageDefinitionParser.java:165) at org.ros.internal.message.MessageDefinitionParser.parse(MessageDefinitionParser.java:104) at org.ros.internal.message.MessageContextFactory.newFromMessageDeclaration(MessageContextFactory.java:73) at org.ros.internal.message.MessageInterfaceBuilder.build(MessageInterfaceBuilder.java:114) at org.ros.internal.message.GenerateInterfaces.writeServiceInterfaces(GenerateInterfaces.java:135) at org.ros.internal.message.GenerateInterfaces.generate(GenerateInterfaces.java:152) at org.ros.internal.message.GenerateInterfaces.main(GenerateInterfaces.java:170)

It should be noted that MoveArmGoal.java does exist in rosjava_messages. Any ideas?

2012-02-11 19:09:27 -0600 marked best answer dynamic reconfigure changes at runtime

There is an open enhancement ticket #3617 to provide those kinds of features.

2012-01-31 03:42:13 -0600 received badge  Student (source)
2012-01-31 03:20:18 -0600 asked a question dynamic reconfigure changes at runtime

The established way to use dynamic_reconfigure is through a .cfg file which cmake then will use to generate relevant .py scripts.

However, I have a device which can have different items to adjust which will be known at first runtime, but not consistently the same between uses. Is there a way to generate a Config class dynamically at runtime rather than through a saved .cfg script?