Giter Club home page Giter Club logo

Comments (6)

jan-auer avatar jan-auer commented on May 31, 2024

Hi @sandipmgiri, I just pushed a fix to master. With the current situation on Travis, it will take us some time to push out a bugfix release. In the meanwhile could you please try to pip install git+https://github.com/getsentry/symbolic.git and let me know if there are any other issues?

That being said, I think we do not officially support ppc architectures for Sentry. There might be other issues you could be running when running Sentry. However, I'd love to get at least symbolic compatible.

from symbolic.

sandipmgiri avatar sandipmgiri commented on May 31, 2024

I tried pip install git+https://github.com/getsentry/symbolic.git, however getting below error ;

$  pip install git+https://github.com/getsentry/symbolic.git

+ pip install git+https://github.com/getsentry/symbolic.git
Collecting git+https://github.com/getsentry/symbolic.git
  Cloning https://github.com/getsentry/symbolic.git to /tmp/pip-SG2xay-build
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    IOError: [Errno 2] No such file or directory: '/tmp/pip-SG2xay-build/setup.py'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pi
```p-SG2xay-build/

from symbolic.

jan-auer avatar jan-auer commented on May 31, 2024

Sorry, I gave you the wrong command:

pip install git+https://github.com/getsentry/symbolic.git#subdirectory=py

Also keep in mind that you will need a C compiler, CMake, openssl and curl devleopment packages installed. Compilation might take a couple of minutes depending on your system.

from symbolic.

sandipmgiri avatar sandipmgiri commented on May 31, 2024

@jan-auer, Thanks for the reply.
Please find below log for pip install git+https://github.com/getsentry/symbolic.git#subdirectory=py:

 $ pip install git+https://github.com/getsentry/symbolic.git#subdirectory=py

+ pip install git+https://github.com/getsentry/symbolic.git#subdirectory=py
Collecting git+https://github.com/getsentry/symbolic.git#subdirectory=py
  Cloning https://github.com/getsentry/symbolic.git to /tmp/pip-a_Joaw-build
Requirement already satisfied: milksnake in /usr/local/lib/python2.7/site-packages (from symbolic==2.0.4)
Requirement already satisfied: cffi>=1.6.0 in /usr/local/lib/python2.7/site-packages (from milksnake->symbolic==2.0.4)
Requirement already satisfied: pycparser in /usr/local/lib/python2.7/site-packages (from cffi>=1.6.0->milksnake->symbolic==2.0.4)
Installing collected packages: symbolic
  Running setup.py install for symbolic ... error
    Complete output from command /usr/local/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-a_Joaw-build/py/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-sJOayv-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-ppc64le-2.7
    creating build/lib.linux-ppc64le-2.7/symbolic
    copying symbolic/__init__.py -> build/lib.linux-ppc64le-2.7/symbolic
    copying symbolic/_compat.py -> build/lib.linux-ppc64le-2.7/symbolic
    copying symbolic/common.py -> build/lib.linux-ppc64le-2.7/symbolic
    copying symbolic/debuginfo.py -> build/lib.linux-ppc64le-2.7/symbolic
    copying symbolic/demangle.py -> build/lib.linux-ppc64le-2.7/symbolic
    copying symbolic/exceptions.py -> build/lib.linux-ppc64le-2.7/symbolic
    copying symbolic/minidump.py -> build/lib.linux-ppc64le-2.7/symbolic
    copying symbolic/proguard.py -> build/lib.linux-ppc64le-2.7/symbolic
    copying symbolic/sourcemap.py -> build/lib.linux-ppc64le-2.7/symbolic
    copying symbolic/symcache.py -> build/lib.linux-ppc64le-2.7/symbolic
    copying symbolic/utils.py -> build/lib.linux-ppc64le-2.7/symbolic
        Updating registry `https://github.com/rust-lang/crates.io-index`
       Compiling quote v0.3.15
       Compiling dtoa v0.4.2
       Compiling strsim v0.6.0
       Compiling rayon-core v1.3.0
       Compiling rustc-serialize v0.3.24
       Compiling bitflags v1.0.1
       Compiling serde v0.9.15
       Compiling nodrop v0.1.12
       Compiling libc v0.2.36
       Compiling linked-hash-map v0.4.2
       Compiling unicode-xid v0.0.4
       Compiling glob v0.2.11
       Compiling fallible-iterator v0.1.4
       Compiling either v1.4.0
       Compiling unicode-normalization v0.1.5
       Compiling unicode-width v0.1.4
       Compiling utf8-ranges v1.0.0
       Compiling itoa v0.3.4
       Compiling vec_map v0.8.0
       Compiling sha1 v0.2.0
       Compiling pdqsort v0.1.2
       Compiling regex-syntax v0.4.2
       Compiling byteorder v1.2.1
       Compiling scopeguard v0.3.3
       Compiling percent-encoding v1.0.1
       Compiling matches v0.1.6
       Compiling cfg-if v0.1.2
       Compiling void v1.0.2
       Compiling fnv v1.0.6
       Compiling num-traits v0.1.41
       Compiling semver-parser v0.7.0
       Compiling plain v0.2.3
       Compiling rustc-demangle v0.1.5
       Compiling stable_deref_trait v1.0.0
       Compiling lazy_static v0.2.11
       Compiling lazy_static v1.0.0
       Compiling ansi_term v0.10.2
       Compiling serde v1.0.27
       Compiling if_chain v0.1.2
       Compiling arrayvec v0.4.7
       Compiling synom v0.11.3
       Compiling atty v0.2.6
       Compiling rand v0.3.20
       Compiling memmap v0.5.2
       Compiling num_cpus v1.8.0
       Compiling memchr v2.0.1
       Compiling lru-cache v0.1.1
       Compiling textwrap v0.9.0
       Compiling dmsort v0.1.3
       Compiling coco v0.1.1
       Compiling unicode-bidi v0.3.4
       Compiling base64 v0.4.2
       Compiling log v0.4.1
       Compiling unreachable v1.0.0
       Compiling cpp_demangle v0.2.7
       Compiling owning_ref v0.3.3
       Compiling num-integer v0.1.35
       Compiling gimli v0.15.0
       Compiling syn v0.11.11
       Compiling semver v0.6.0
       Compiling aho-corasick v0.6.4
       Compiling serde_json v0.9.10
       Compiling clap v2.29.2
       Compiling thread_local v0.3.5
       Compiling num-complex v0.1.41
       Compiling log v0.3.9
       Compiling num-bigint v0.1.41
       Compiling num-iter v0.1.34
       Compiling rustc_version v0.2.1
       Compiling idna v0.1.4
       Compiling uuid v0.5.1
       Compiling rayon v0.9.0
       Compiling sourcemap v2.2.0
       Compiling regex v0.2.5
       Compiling cc v1.0.4
       Compiling url v1.6.0
       Compiling num-rational v0.1.40
       Compiling num v0.1.41
       Compiling scroll_derive v0.8.0
       Compiling serde_codegen_internals v0.14.2
       Compiling symbolic-minidump v2.0.4 (file:///tmp/pip-a_Joaw-build/minidump)
       Compiling backtrace-sys v0.1.16
       Compiling symbolic-demangle v2.0.4 (file:///tmp/pip-a_Joaw-build/demangle)
       Compiling scroll v0.8.0
       Compiling goblin v0.0.14
       Compiling backtrace v0.3.5
       Compiling serde_derive v0.9.15
       Compiling error-chain v0.11.0
       Compiling proguard v1.0.0
       Compiling symbolic-common v2.0.4 (file:///tmp/pip-a_Joaw-build/common)
       Compiling symbolic-debuginfo v2.0.4 (file:///tmp/pip-a_Joaw-build/debuginfo)
       Compiling symbolic-proguard v2.0.4 (file:///tmp/pip-a_Joaw-build/proguard)
       Compiling symbolic-sourcemap v2.0.4 (file:///tmp/pip-a_Joaw-build/sourcemap)
    warning: function is never used: `has_mach_section`
      --> /tmp/pip-a_Joaw-build/debuginfo/src/mach.rs:74:1
       |
    74 | / pub fn has_mach_section(mach: &mach::MachO, name: &str) -> bool {
    75 | |     find_mach_section(mach, name).is_some()
    76 | | }
       | |_^
       |
       = note: #[warn(dead_code)] on by default

       Compiling symbolic-symcache v2.0.4 (file:///tmp/pip-a_Joaw-build/symcache)
    error[E0597]: borrowed value does not live long enough
       --> /tmp/pip-a_Joaw-build/symcache/src/utils.rs:82:66
        |
    82  |     let mut piece_iter = filename.match_indices(&['\\', '/'][..]);
        |                                                  -----------     ^ temporary value dropped here while still borrowed
        |                                                  |
        |                                                  temporary value created here
    ...
    140 | }
        | - temporary value needs to live until here
        |
        = note: consider using a `let` binding to increase its lifetime

    error: aborting due to previous error

    error: Could not compile `symbolic-symcache`.
    warning: build failed, waiting for other jobs to finish...
    error: build failed

    ----------------------------------------
Command "/usr/local/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-a_Joaw-build/py/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-sJOayv-record/install-record.txt --single-version-externally-managed --compile" failed with error code 101 in /tmp/pip-a_Joaw-build/py

from symbolic.

jan-auer avatar jan-auer commented on May 31, 2024

Any chance you can update to a more recent Rust version. We are currently only testing against the latest rust stable (1.23.0).

from symbolic.

jaspervandenberg avatar jaspervandenberg commented on May 31, 2024

I can verify that updating rust to version 1.23.0 solves this issue. I was having the same problem when using rust version 1.20.

from symbolic.

Related Issues (20)

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.