Vernier Software and Technology
Vernier Software & Technology

Logger Pro for Linux for Ubuntu 12 and LabQuest 2

We've updated Logger Pro for Linux to support Ubuntu 12 and LabQuest 2. You can download the latest version at:
http://www.vernier.com/downloads/logger-pro-linux/

Excellent news!
The vstloggerpro_3.8.4.5_i386.deb package does not install correctly because of a faulty post-installation script. I had to do the following to fix it:

dpkg -x vstloggerpro_3.8.4.5_i386.deb vstloggerpro
dpkg -e vstloggerpro_3.8.4.5_i386.deb vstloggerpro/DEBIAN

[remove the following lines from loggerpro/DEBIAN/postinst]
# create the desktop icon
echo "#!/usr/bin/env xdg-open
[Desktop Entry]
Encoding=UTF-8
Name=Logger Pro
Comment=Measure. Analyze. Learn.
Exec=loggerpro
Icon=loggerpro
MimeType=text/loggerpro
Terminal=false
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Education
" > "LoggerPro.desktop"
cp LoggerPro.desktop /home/*/Desktop
chmod 777 /home/*/Desktop/LoggerPro.desktop
rm LoggerPro.desktop

Then create the updated package:

dpkg --build vstloggerpro

And finally it can be installed

sudo dpkg -i vstloggerpro.deb

The removed code adds a desktop icon and does not work on systems with more than one user. As a general rule, package installations should stay out of users home directories.

I would like to recommend to the developers to use a tool called lintian to verify the correctness of .deb packages.

Thanks for the release,

Björgvin

Hi David, Thank you so much for updating the logger pro beta to work on Ubuntu 12.04 LTS. The two deb files installed perfectly on my machine. Running the code from the terminal does however show a missing icon file though. As far as i can tell everything runs fine though.

Hi Bjorgvin, i wonder what Linux version you are running or what version of Ubuntu you are using since the install worked fine for me.

I used LPL_3845_B2_32.tgz

toolbar_adddatamarker.png seems to be missing. Otherwise i look forward to doing further testing when my order ships and i get my items.

------------------------------------------------------------------
andrew@andrew-NETBOX-NT-410-510:~$ loggerpro
main is linked to NGIO library version 01.96 .
main is linked to GoIO library version 02.53 .
thread: 0xa687060 main.cc main(180) : Ubuntu 12.04.1 LTS: 3.2.0-36-generic-pae

Working dir /home/andrew
Top Level Folder: '/usr/local/share/LoggerPro/'
Our runtime support folder is: /usr/local/share/LoggerPro/Linux/VSTSupport/
Loading dialog resources from: /usr/local/share/LoggerPro/Linux/Support/Languages/en-US/IDD_REPLAY.txt

(loggerpro:2292): Gtk-WARNING **: Error loading icon: Failed to open file '/usr/local/share/LoggerPro/Linux/Support/icons/toolbar_adddatamarker.png': No such file or directory
thread: 0xa687060 GUtils_Linux.cpp OSSetCurrentDirectory(551) : Implement me!
thread: 0xa687060 GMBLDataCalibration.cpp ComputeNumPlacesFromCalibration(238) : CO2LMGL returns equal values (1) when applied to 0 and 5.
GAppBrain is linked to NGIO library version 01.96 .
andrew@andrew-NETBOX-NT-410-510:~$ ^C
andrew@andrew-NETBOX-NT-410-510:~$
------------------------------------------------------------------

Hi, keen101

I'm running 32bit Ubuntu 12.04. I get the following when I install from the command line with dpkg:

Unpacking replacement vstloggerpro ...
Setting up vstloggerpro (3.8.4.5) ...
cp: cannot create regular file `/home/*/Desktop': No such file or directory
dpkg: error processing vstloggerpro (--install):
subprocess installed post-installation script returned error exit status 1
Processing triggers for shared-mime-info ...
Processing triggers for gnome-icon-theme ...
Errors were encountered while processing:
vstloggerpro

I have a setup where home folders are mounted over the network to /home and each user can only access his own home folder. The destination /home/*/Desktop for the cp command fails in my case but if your Ubuntu installation has only one user account, it works fine.

I don't want the package to modify the content of the home directories of the users who happen to be logged in on the machine at the time of installation.

After modifying the package as described earlier, the software seems to work fine. I have yet to try to connect probes and collect data.

Björgvin

Björgvin, ok so it looks like your using some sort of educational Ubuntu set-up for multiple users, possibly with limited privileges. Okay then that makes sense that you could be running into install issues.

Yeah, i would hope that the programmers would take those kind of set-up's into consideration for the future since i have heard of other school administrators setting up something similar with their Ubuntu labs. I'm not an expert user really, but i had thought it was possible to set up an ubuntu server where all installed programs were able to be used by multiple users on a thin-client configuration (PXE booting). But it seems your reply indicates that the software needs to be written in a way that is compatible with such an option. I hope any such issues can be resolved easily for you in the future. http://coloco.ubuntu-rocks.org/2007/06/27/coloco-touts-ubuntu-at-tie-conference/

I have yet to try to connect probes and collect data myself, but i look forward to doing so as soon as i can and provide valuable feedback.

Works great on native Ubuntu 12.04. Installs through Software Center after clicking on downloaded unpacked archives.
Thanks a lot!

I can now report that the latest beta seems to work great on Ubuntu 12.04. I just received some sensors today in the mail, and so I've been testing them with the beta. A stainless steel temperature probe worked great. I've also been testing the analog breadboard cable and setting it on Raw Voltage sensor, it too seems to be working perfectly in the logger pro beta.

-Andrew

More testing...

Today i tried to set a temperature alarm. The visual alarm turned red like expected, but no audio alarm sounded. It seems the terminal confirms that more files are missing that the previous reported icon file.

----

andrew@andrew-NETBOX-NT-410-510:~/arduino-1.0.3$ loggerpro
main is linked to NGIO library version 01.96 .
main is linked to GoIO library version 02.53 .
thread: 0xa8c6060 main.cc main(180) : Ubuntu 12.04.1 LTS: 3.2.0-36-generic-pae

Working dir /home/andrew/arduino-1.0.3
Top Level Folder: '/usr/local/share/LoggerPro/'
Our runtime support folder is: /usr/local/share/LoggerPro/Linux/VSTSupport/
Loading dialog resources from: /usr/local/share/LoggerPro/Linux/Support/Languages/en-US/IDD_REPLAY.txt

(loggerpro:25954): Gtk-WARNING **: Error loading icon: Failed to open file '/usr/local/share/LoggerPro/Linux/Support/icons/toolbar_adddatamarker.png': No such file or directory
thread: 0xa8c6060 GUtils_Linux.cpp OSSetCurrentDirectory(551) : Implement me!
thread: 0xa8c6060 GMBLDataCalibration.cpp ComputeNumPlacesFromCalibration(238) : CO2LMGL returns equal values (1) when applied to 0 and 5.
GAppBrain is linked to NGIO library version 01.96 .
Loading dialog resources from: /usr/local/share/LoggerPro/Linux/Support/Languages/en-US/IDD_SENSOR_SETUP_SKIP.txt
thread: 0xa8c6060 LXWidgetSensorList.cc InitWithSensorList(57) : Note: Missing bitmap for: /usr/local/share/LoggerPro/Linux/Support/icons/sensor_ANM.bmp
thread: 0xa8c6060 LXWidgetSensorList.cc InitWithSensorList(57) : Note: Missing bitmap for: /usr/local/share/LoggerPro/Linux/Support/icons/sensor_HCS.bmp
thread: 0xa8c6060 LXWidgetSensorList.cc InitWithSensorList(57) : Note: Missing bitmap for: /usr/local/share/LoggerPro/Linux/Support/icons/sensor_HSL.bmp
thread: 0xa8c6060 LXWidgetSensorList.cc InitWithSensorList(57) : Note: Missing bitmap for: /usr/local/share/LoggerPro/Linux/Support/icons/sensor_MLT.bmp
thread: 0xa8c6060 LXWidgetSensorList.cc InitWithSensorList(57) : Note: Missing bitmap for: /usr/local/share/LoggerPro/Linux/Support/icons/sensor_30VP.bmp
ChangeSensorUnitsHandler 2
Loading dialog resources from: /usr/local/share/LoggerPro/Linux/Support/Languages/en-US/IDD_DIGITALMETER_OPTIONS.txt
GDeviceIO.cpp Line: 75
andrew@andrew-NETBOX-NT-410-510:~/arduino-1.0.3$

Thanks for the report of the missing alarm function.

Thanks David.

Björgvin, your regarding rebuilding the loggerpro deb helped immensely, thank you!

To amend, Logger Pro 64-bit, 12.04 Xubuntu.

Thank you. I can confirm the all users bug and work around. For me I'm using domain users with likewise open so I had to apply that work around just to install.

Another small issue - The version was not incremented on vstdrivers_1.5 which could cause some pain for anyone deploying via a repository or in my case puppet. A package manager should rightly check the version and determine this package is the same version as the previous vstdrivers that do not work and thus no need to update the package. The work around is to manually reinstall the package but this is less ideal for larger deployments.

Thanks again though for the update.

Add a Reply

Please sign in or create an account to reply.

All Forums / Logger Pro for Linux

Go to top