Coder Social home page Coder Social logo

sigrokproject / pulseview Goto Github PK

View Code? Open in Web Editor NEW
446.0 18.0 150.0 5.39 MB

Read-only mirror of the official repo at git://sigrok.org/pulseview. Pull requests welcome. Please file bugreports at sigrok.org/bugzilla.

Home Page: http://sigrok.org/wiki/PulseView

License: GNU General Public License v3.0

CMake 1.54% C++ 96.94% Java 0.09% C 0.04% CSS 1.39%

pulseview's Issues

Compile from source problem with storesession.cpp " cannot convert ‘Glib::DateTime’ to ‘Glib::TimeVal’ "

Hi am trying to compile Pulseview from source and am getting a compile error:

/home/xxxxx/pulseview/pv/storesession.cpp:188:96: error: cannot convert ‘Glib::DateTime’ to ‘Glib::TimeVal’
  188 |                 auto header = context->create_header_packet(session_.get_acquisition_start_time());
      |                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
      |                                                                                                |
      |                                                                                                Glib::DateTime

I looked more into this...
https://docs.gtk.org/glib/method.DateTime.to_timeval.html

It says something about the conversion is not safe for 2038 dates.
GTimeVal is not year-2038-safe. Use g_date_time_to_unix() instead.

Any ideas on how to get around this? I'm compiling the latest version on Ubuntu 24.04 using these instructions:
https://sigrok.org/gitweb/?p=pulseview.git;a=blob;f=INSTALL
Thanks.

PulseView crashing when opening invalid sr file

hs-ul-with-ofh.zip

Had to rename the file to be able upload to GH.

I can not reproduce this reliably, when I get this error message, I can close on retry to open PV without problem:


~/Applications/pulseview-NIGHTLY-x86_64-debug_75105373b6965954344a42ee104aad0d.appimage -c tests/resources/bticino/rts/extracted/call.sr
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
srd: ModuleNotFoundError: Failed to load decoder ir_irmp: import by name failed: No module named '_ctypes'
srd: Traceback (most recent call last):
  File "/tmp/.mount_pulsevSfCTzq/usr/share/libsigrokdecode/decoders/ir_irmp/__init__.py", line 25, in <module>
    from .pd import Decoder
  File "/tmp/.mount_pulsevSfCTzq/usr/share/libsigrokdecode/decoders/ir_irmp/pd.py", line 22, in <module>
    from . import irmp_library
  File "/tmp/.mount_pulsevSfCTzq/usr/share/libsigrokdecode/decoders/ir_irmp/irmp_library.py", line 25, in <module>
    import ctypes
  File "/tmp/.mount_pulsevSfCTzq/usr/share/pyshared/ctypes/__init__.py", line 7, in <module>
    from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'

Notifying user of session error:  "Failed to load tests/resources/bticino/rts/extracted/call.sr" ;  "data is invalid"

When it started crashing the last line was:

Exception: data is invalid

macOS nightly build does not include QT

When I attempt to run pulseview on macOS 14.4.1 it generate an exception on launch.

It looks like the nightly build does not include the QT libs.

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               pulseview.real [3830]
Path:                  /Applications/pulseview.app/Contents/MacOS/pulseview
Identifier:            pulseview.real
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2024-04-03 11:15:04.9061 -0600
OS Version:            macOS 14.4.1 (23E224)
Report Version:        12
Anonymous UUID:        165CAC07-929C-D0C1-88B1-90A0C62650C1


Time Awake Since Boot: 11000 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Termination Reason:    Namespace DYLD, Code 1 Library missing
Library not loaded: @rpath/QtDBus.framework/Versions/A/QtDBus
Referenced from: <7F9EB672-8564-3C87-90D9-168BD8004626> /Applications/pulseview.app/Contents/Frameworks/QtGui.framework/Versions/A/QtGui
Reason: tried: '/Applications/pulseview.app/Contents/Frameworks/QtGui.framework/Versions/A/../../../QtDBus.framework/Versions/A/QtDBus' (no such file), '/Applications/pulseview.app/Contents/Frameworks/QtWidgets.framework/Versions/A/../../../QtDBus.framework/Versions/A/QtDBus' (no such file), '/Library/Frameworks/QtDBus.framework/Versions/A/QtDBus' (no such file), '/System/Library/Frameworks/QtDBus.framework/Versions/A/QtDBus' (no such file, not in dyld cache)Library not loaded: /usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.12/Python
Referenced from: <3E9631A5-B63C-38F9-AB26-7E3B8F42A221> /Applications/pulseview.app/Contents/Frameworks/libsigrokdecode.4.dylib
Reason: tried: '/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.12/Python' (no such file), '/System/Volumes/Pre
(terminated at launch; ignore backtrace)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.