Git Product home page Git Product logo

Comments (16)

PidgeyL avatar PidgeyL commented on June 12, 2024

I'm not sure if syslog is in our requirements file. Try installing the module with pip3

from cve-search.

sebastian0x00 avatar sebastian0x00 commented on June 12, 2024

@PidgeyL
Thanks for the reply.

pip install syslog

and

pip3 install syslog

no work.

image

C:\Users\Administrator>pip install syslog Collecting syslog Could not find a version that satisfies the requirement syslog (from versions: ) No matching distribution found for syslog

I think syslog is unique Linux. And I have Windows. But I think.
It's strange, because it can install "pip install -r requirements.txt" without problems.

from cve-search.

PidgeyL avatar PidgeyL commented on June 12, 2024

syslog is not uniquely Linux, but there might be some other way to install it. I know Linux (at least ubuntu 14.04) generally has it installed, as it's often used, and Linux uses a lot of python. Windows does not use python by default, so probably, therefore it's not available from the start.

A quick search does not bring up much (for Windows). @adulau maybe we should use the logging module instead, which should be available on both Windows and Linux

from cve-search.

adulau avatar adulau commented on June 12, 2024

Indeed the logging module should be more portable.

from cve-search.

sebastian0x00 avatar sebastian0x00 commented on June 12, 2024

Thanks @PidgeyL @PidgeyL
It is posible change the module syslog for logging module?
logging has the advantage that logging is platform independent, so it works on both Windows and Linux
It is easy or very complicated?

from cve-search.

PidgeyL avatar PidgeyL commented on June 12, 2024

I am directly working on the admin interface. If @adulau hasn't finished it by the time I'm ready, I'll do it

from cve-search.

adulau avatar adulau commented on June 12, 2024

I'll have a look.

from cve-search.

adulau avatar adulau commented on June 12, 2024

I just merged a potential fix. Could you pull and try on your Windows machine? and let me know.

from cve-search.

sebastian0x00 avatar sebastian0x00 commented on June 12, 2024

@adulau Thanks. Now other new error.

C:\cve-search-master\sbin>python db_updater.py -c -i INFO:root:Starting cves Traceback (most recent call last): File "db_updater.py", line 129, in <module> subprocess.Popen((shlex.split(source['updater']))).wait() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35-32\lib\subprocess.py", line 950, in __init__ restore_signals, start_new_session) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35-32\lib\subprocess.py", line 1220, in _execute_child startupinfo) FileNotFoundError: [WinError 2] The system cannot find the file specified

image

from cve-search.

adulau avatar adulau commented on June 12, 2024

Thanks for the feedback. I see that's now the path builder that was only designed for Unix-like operating system. I'll have a look to make it more portable.

from cve-search.

sebastian0x00 avatar sebastian0x00 commented on June 12, 2024

@adulau @PidgeyL Thanks to you.
Sorry for the inconvenience ... If one day come to Argentina, I invite the famous meat "Asado" :P

from cve-search.

sebastian0x00 avatar sebastian0x00 commented on June 12, 2024

@adulau @PidgeyL
Hi! Any news?

from cve-search.

terlich avatar terlich commented on June 12, 2024

@adulau @sugusrojo
Running into the same issue on windows.I always need to modify the line like this so it will work:
subprocess.Popen(source['updater']).wait()

is there any fix for this issue yet?

from cve-search.

PidgeyL avatar PidgeyL commented on June 12, 2024

Does this issue still occur?
If not, or no response, I'll close this issue

from cve-search.

LeeHounshell avatar LeeHounshell commented on June 12, 2024

i have the problem. so yes, it still happens.
i am also looking for the solution

from cve-search.

github-actions avatar github-actions commented on June 12, 2024

Stale issue message

from cve-search.

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.