Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVGButton not available for the null toolkit #162

Open
fnoble opened this issue Nov 25, 2014 · 1 comment
Open

SVGButton not available for the null toolkit #162

fnoble opened this issue Nov 25, 2014 · 1 comment

Comments

@fnoble
Copy link

fnoble commented Nov 25, 2014

We have some code that can run either graphically or in the terminal and importing the SVGButton editor is causing problems.

Seems like it would be straightforward to provide a simple mock for this in the null toolkit.

Traceback (most recent call last):
  File "./print_device_details.py", line 7, in <module>
    import settings_view
  File "/home/fnoble/piksi_firmware/scripts/testing/../settings_view.py", line 15, in <module>
    from enable.savage.trait_defs.ui.svg_button import SVGButton
  File "/usr/lib/python2.7/dist-packages/enable/savage/trait_defs/ui/svg_button.py", line 19, in <module>
    from svg_button_editor import SVGButtonEditor
  File "/usr/lib/python2.7/dist-packages/enable/savage/trait_defs/ui/svg_button_editor.py", line 22, in <module>
    from enable.savage.trait_defs.ui.toolkit import toolkit_object
  File "/usr/lib/python2.7/dist-packages/enable/savage/trait_defs/ui/toolkit.py", line 43, in <module>
    _init_toolkit()
  File "/usr/lib/python2.7/dist-packages/enable/savage/trait_defs/ui/toolkit.py", line 36, in _init_toolkit
    "toolkit." % ETSConfig.toolkit
ImportError: Unable to import a Savage backend for the null toolkit.
fnoble added a commit to fnoble/piksi_firmware that referenced this issue Nov 25, 2014
Bit of a hack, submitted an issue to enable to get SVGButton working with the null toolkit

enthought/enable#162
fnoble pushed a commit to fnoble/piksi_firmware that referenced this issue Jan 21, 2015
More efficient saving of ephemerises

Missing slash

Modified serial_link.py to record SBP logging data.

serial_link.py can now log serialized, timestamped SBP messages to a
consistently-named logfile, but only if libsbp is available for
serialization.

r=@fnoble,@cbeighley

Closes swift-nav#186.

Cleanup serializaton logger.

Moves log formatting (timestamps) into actual callback.

Bit of refactoring for SBP logging.

0. Added fallback SBP definition since libsbp isn't out yet and its
use here is completely superfluous.
1. Reverted msg_type callback interface.

libsbp not actually required for serial_link.py.

r=@fnoble

serial_link: get_message return type not updated for new format in one place

serial_link: add options to reset Piksi and exit after timeout

serial_link: fix typo

ChibiOS: New repository URL, remember to git submodule sync!

HITL: Initial import of testing scripts

HITL: Device preparation script working

HITL: Script to print device info before starting a test

HITL: prepare_test.sh checks files exist

HITL: prepare_test.sh should build hub_ctrl

HITL: Refactor device power script to just power cycle

This works around the problem that the device file disappears when the port is powered off.

HITL: If we are using the 'null' toolkit then mock the SVGButton class

Bit of a hack, submitted an issue to enable to get SVGButton working with the null toolkit

enthought/enable#162

HITL: Use null toolkit for print_device_details.py

Otherwise imports from settings_view.py will complain that there is no X windows

Also, some cleanup

HITL: Reduce delay in prep script (for great reliability!)

HITL: Update prepare_test.sh to program devices one at a time

Works around swift-nav/piksi_bootloader#5

HITL: Add delay at end of prepare_test.sh to wait for Piksis to boot up

Higher protocol (binary) for cPickle in serial_link.py

r=@fnoble

Added logging to Piksi console.

r=@fnoble,@imh,@cbeighley

Small changes to make Ubuntu/Debian on ARMhf work (and probably others).

Provisioning fixes.

0. Support for multiple OS targets.
1. Dependency fixes for gcc-arm, curl, etc.

r=@fnoble,@imh,@cbeighley

Fix RaspberryPi OSTYPE = linux-gnueabihf match in setup.sh.

Update README for Vagrant use.

saving prn with actual prn, not stored prn (which is one less)

EPHEMERIS: Spread out nav. msg processing and ephemeris sending

Should increase liveness and reduce load on the TX DMA buffer.

Fixes swift-nav#203

Fix 'Obs Matching: t_base < t_rover' bug.

Signal the time_matched_obs_thread only when the observation is copied over.

update for libswiftnav PR swift-nav#67

Bump libswiftnav version to incorporate libswiftnav/swift-nav#79

Use libswiftnav C/N0 estimator for SNR reporting.

Update C/N0 estimator on tracking channel update.

Change floot of C/N0 plot to 30dB for new C/N0 estimator.
@makslevental
Copy link

in 2019 i still have this error. can someone explain to me what the hell this is?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants