Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Geschrieben

Dear community,

 

I'd like to log data to a csv file from my bricklets using the brick datalogger functionality directly on my Raspberry Pi.

 

Brick Deamon runs as well on the Pi. Brick Viewer on my Macbook runs perfectly fine together with this deamon. Here I can easily enable the function to write log files to a csv. Now I am stuck at the last step of installing Brickviewer on the Pi, as described here: https://www.tinkerforge.com/en/doc/Software/Brickv_Install_Linux.html#brickv-install-linux

 

Which is run main.py from folder "src/brickv/"

 

I get the following error. Please note that I run this from a different folder as this seems to be the folder where the relevant files are residing.

 

root@raspberrypi:/usr/share/brickv# python main.py

QXcbConnection: Could not connect to display

Abgebrochen

Geschrieben

As there is a brickv folder in /usr/share, did you install the Brick Viewer Debian package or from source? The Debian package typically is installed to /usr/share/brickv. To start the Brick Viewer, you can run brickv from the terminal instead of calling main.py directly.

 

The error message indicates, that Qt can not reach the X server. Are you running your graphical interface as root or as another user? If so, Brick Viewer should work if you run it as the "normal" user.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.