Git Product home page Git Product logo

contrail-webui-third-party's Introduction

contrail-webui-third-party's People

Contributors

alexey-mr avatar ananth-at-camphor-networks avatar andrey-mp avatar balamurugang avatar biswajit-mandal avatar chennab avatar czanpure avatar knagakiran avatar manojgn avatar sadhana124 avatar sbavanasi avatar sgrgala avatar skizhak avatar tinyfire9 avatar vishnuvv avatar vmahuli avatar zheyangsong avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

contrail-webui-third-party's Issues

AttributeError: module 'platform' has no attribute 'dist'`

Getting below exception while fetching the package for contrail build

root@salim:~/salim# cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"

python3 third_party/fetch_packages.py third_party/fetch_packages.py:139: SyntaxWarning: "is not" with a literal. Did you mean "!="? if ret is not 0: Traceback (most recent call last): File "third_party/fetch_packages.py", line 307, in <module> main() File "third_party/fetch_packages.py", line 280, in main ProcessPackage(object) File "third_party/fetch_packages.py", line 182, in ProcessPackage if not PlatformRequires(pkg): File "third_party/fetch_packages.py", line 170, in PlatformRequires info = PlatformInfo() File "third_party/fetch_packages.py", line 143, in PlatformInfo (distname, version, _) = platform.dist() AttributeError: module 'platform' has no attribute 'dist'

Error Fetch Packages Python

Hi, i try to install contrail web UI.
and when i run the instalation tutorial

make fetch-pkgs-dev make dev-env REPO=webController

I get some error. I this the error is in the fetch_packages in line 92

Traceback (most recent call last):
File "../contrail-webui-third-party/fetch_packages.py", line 354, in
main(xmlfile)
File "../contrail-webui-third-party/fetch_packages.py", line 334, in main
ProcessPackage(object)
File "../contrail-webui-third-party/fetch_packages.py", line 314, in ProcessPackage
ApplyPatches(pkg)
File "../contrail-webui-third-party/fetch_packages.py", line 92, in ApplyPatches
proc = subprocess.Popen(cmd, stdin = fp)
File "/usr/lib64/python2.7/subprocess.py", line 711, in init
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make: *** [fetch-pkgs-dev] Error 1

this is the fungtion that cause the error, anyone know?

def ApplyPatches(pkg):
stree = pkg.find('patches')
if stree is None:
return
for patch in stree.getchildren():
cmd = ['patch']
if patch.get('strip'):
cmd.append('-p')
cmd.append(patch.get('strip'))
if _OPT_VERBOSE:
print "Patching %s <%s..." % (' '.join(cmd), str(patch))
if not _OPT_DRY_RUN:
fp = open(str(patch), 'r')
proc = subprocess.Popen(cmd, stdin = fp)
proc.communicate()

this is not the first error i get when running this python file.
the first error is in the

def getZipDestination(tgzfile):
cmd = subprocess.Popen(['unzip', '-t', tgzfile],
stdout=subprocess.PIPE)
(output, _) = cmd.communicate()
lines = output.split('\n')
for line in lines:
print line
m = re.search(r'testing:\s+([\w-.]+)/', line)
if m:
return m.group(1)
return None

i fix that error by install unzip packages.

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.