GithubHelp home page GithubHelp logo

Comments (6)

kirkrodrigues avatar kirkrodrigues commented on July 23, 2024

Hi @BasantaChaulagain,

The bug occurs when passing a relative path to sbin/compress. For now, you could work around it by passing an absolute path instead.

We'll fix it in the next release. Thanks for reporting it!

from clp.

BasantaChaulagain avatar BasantaChaulagain commented on July 23, 2024

Hi @kirkrodrigues,

I got another error stating attribute 'inputlist_path' not in the config file.

2021-11-04 14:00:15,761 [INFO] [clp] Using default config file at etc/clp-config.yaml
2021-11-04 18:00:16,127 [INFO] [compress] Compression job submitted to compression-job-handler.
2021-11-04 18:00:16,127 [INFO] [compression-job-handler] compression-job-handler started.
2021-11-04 18:00:16,172 [INFO] [job-16] Iterating and partitioning files into tasks.
2021-11-04 18:00:16,173 [ERROR] [job-16] Exception while processing job-16.
Traceback (most recent call last):
  File "/opt/clp/lib/python3/site-packages/compression_job_handler/compression_job_handler.py", line 269, in handle_job
    with open(pathlib.Path(clp_io_config.inputlist_path).resolve(), 'r') as f:
AttributeError: 'ClpIoConfig' object has no attribute 'inputlist_path'
2021-11-04 18:00:16,173 [ERROR] [job-16] 'ClpIoConfig' object has no attribute 'inputlist_path'

I assume it is reading the config file at the location /opt/.clp-mini-cluster.yaml in the container. Or is there supposed to be a different config file? Please let me know.

from clp.

kirkrodrigues avatar kirkrodrigues commented on July 23, 2024

Looking at the code, line 269 seems to contain a . after input. Whereas the stack-trace doesn't have that .. Is it possible the code was modified somehow?

If not, could you tell me what operating system you extracted the package on?

from clp.

BasantaChaulagain avatar BasantaChaulagain commented on July 23, 2024

@kirkrodrigues, No changes have been made in the code after extracting. I used packager on Ubuntu v20.04.3 LTS to build a new package.

from clp.

jackluo923 avatar jackluo923 commented on July 23, 2024

Hi @BasantaChaulagain , currently, we are unable to reproduce the error you encountered. Can you download the pre-packaged CLP package from this link and perform the compression again?

This package is generated inside a Ubuntu 20.04 docker image. If this package works correctly while the manually generated package has problems, then there may be some environment issue on your side. We can take investigate the environment problem with you. To begin the investigation, please upload the file <package>/lib/python3/site-packages/compression_job_handler/compression_job_handler.py to this issue.

from clp.

BasantaChaulagain avatar BasantaChaulagain commented on July 23, 2024

Hi @jackluo923, I tried the pre-built package and it worked. I then manually re-built the package and it worked as well. Perhaps it was due to environment issue on my side. Thanks for your help.

from clp.

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.