• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MISP / MISP-STIX-Converter / 139
47%

Build:
DEFAULT BRANCH: master
Ran 20 Dec 2017 11:09AM UTC
Jobs 3
Files 9
Run time 6min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
139

Pull #29

travis-ci

web-flow
<a href="https://github.com/MISP/MISP-STIX-Converter/commit/<a class=hub.com/MISP/MISP-STIX-Converter/commit/ce41b15c3f06f64e143cd0f20bcab4c5f2c2f951">ce41b15c3<a href="https://github.com/MISP/MISP-STIX-Converter/commit/ce41b15c3f06f64e143cd0f20bcab4c5f2c2f951">&quot;&gt;Fix for &amp;quot;AttributeError: can&amp;#39;t set attribute&amp;quot;

In the latest VM version availables (</a><a class="double-link" href="https://github.com/MISP/MISP-STIX-Converter/commit/<a class="double-link" href="https://github.com/MISP/MISP-STIX-Converter/commit/ccb3118940f9fcdf356126bed4370f3e7b5900a2">ccb311894</a>">ccb311894</a><a href="https://github.com/MISP/MISP-STIX-Converter/commit/ce41b15c3f06f64e143cd0f20bcab4c5f2c2f951">) STIX import does not work.
Maybe caused by a change in another library (from pymisp import mispevent).

The error reported
&quot;&quot;&quot;
Traceback (most recent call last):
  File &quot;/usr/local/lib/python3.6/dist-packages/misp_modules/__init__.py&quot;, line 197, in post
    response = yield tornado.gen.with_timeout(timeout, self.run_request(jsonpayload))
  File &quot;/usr/local/lib/python3.6/dist-packages/tornado/gen.py&quot;, line 1055, in run
    value = future.result()
  File &quot;/usr/local/lib/python3.6/dist-packages/tornado/concurrent.py&quot;, line 238, in result
    raise_exc_info(self._exc_info)
  File &quot;&lt;string&gt;&quot;, line 4, in raise_exc_info
  File &quot;/usr/lib/python3.6/concurrent/futures/thread.py&quot;, line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File &quot;/usr/local/lib/python3.6/dist-packages/misp_modules/__init__.py&quot;, line 185, in run_request
    response = mhandlers[x[&#39;module&#39;]].handler(q=jsonpayload)
  File &quot;modules/import_mod/stiximport.py&quot;, line 35, in handler
    pkg = stix.load_stix(package)
  File &quot;/usr/local/lib/python3.6/dist-packages/pymisp/tools/stix.py&quot;, line 18, in load_stix
    threat_level_id=threat_level_id, analysis=analysis)
  File &quot;/usr/local/lib/python3.6/dist-packages/misp_stix_converter/converters/buildMISPAttribute.py&quot;, line 273, in buildEvent
    event.attributes = uniqueAttributes
AttributeError: can't set attribute
"""
Pull Request #29: Fix for "AttributeError: can't set attribute"

116 of 287 branches covered (40.42%)

3 of 3 new or added lines in 1 file covered. (100.0%)

311 of 666 relevant lines covered (46.7%)

1.4 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
4
100.0
misp_stix_converter/converters/buildMISPAttribute.py
Jobs
ID Job ID Ran Files Coverage
1 139.1 20 Dec 2017 11:09AM UTC 0
46.7
Travis Job 139.1
2 139.2 20 Dec 2017 11:09AM UTC 0
46.7
Travis Job 139.2
3 139.3 20 Dec 2017 11:11AM UTC 0
46.7
Travis Job 139.3
Source Files on build 139
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #139
  • Pull Request #29
  • PR Base - master (#134)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc