Giter Site home page Giter Site logo

Comments (20)

StanGirard avatar StanGirard commented on May 20, 2024

Could you please provide some logs?
What is the URL you tried? Can you try with https://primates.dev ?

The request takes some time. If you have refreshed the page after sending the request please keep refreshing.

Lighthouse audits can sometimes take a long time. I've implemented on the celery branch a new functionality that should help with the waiting.

Here a sneak pic:
Capture d’écran 2020-07-23 à 22 47 05

from seo-audits-toolkit.

StanGirard avatar StanGirard commented on May 20, 2024

Please try the new release and let me know if the issue is still here.

Please note that you need to install Redis for this new version to work.

from seo-audits-toolkit.

StanGirard avatar StanGirard commented on May 20, 2024

Closing issue. If the problem still exists please reopen it

from seo-audits-toolkit.

bikker avatar bikker commented on May 20, 2024

just did a fresh new install same issue ,this is my env file
SQLALCHEMY_DATABASE_URI=sqlite:///database.db
GOOGLE_API_KEYS= MY KEY ADDED HERE

and installed redis-server and its up , installed as per requirements using pip3

http://lh.scalingweb.com/ < u can test here its live here

from seo-audits-toolkit.

StanGirard avatar StanGirard commented on May 20, 2024

Hello, what are the logs of the celery worker ?

Have you started it with: celery worker -A celery_worker.celery --loglevel=info ?

from seo-audits-toolkit.

bikker avatar bikker commented on May 20, 2024

yes i did, whats the defualt path for log file for celery in ubuntu?

from seo-audits-toolkit.

StanGirard avatar StanGirard commented on May 20, 2024

Well you need to keep the script running.

In order to run the SEO toolkit you need to open three terminals. In each run:

  • python3 run.py
  • redis-server
  • celery worker -A celery_worker.celery --loglevel=info

And keep the scripts running.

from seo-audits-toolkit.

StanGirard avatar StanGirard commented on May 20, 2024

After looking at your website. It seems that none of the tools are working. It is probably because the celery worker is not running.

from seo-audits-toolkit.

bikker avatar bikker commented on May 20, 2024

[2020-08-07 20:49:07,257: ERROR/ForkPoolWorker-3] Task Lighthouse[cfbb104e-07d0-4d0a-bffe-a9ee1be7ac29] raised unexpected: KeyError('lighthouseResult',)
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/celery/app/trace.py", line 412, in trace_task
R = retval = fun(*args, **kwargs)
File "/SEOToolkit/toolkit/celery_utils.py", line 7, in call
return TaskBase.call(self, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/celery/app/trace.py", line 704, in protected_call
return self.run(*args, **kwargs)
File "/SEOToolkit/toolkit/celeryapp/tasks.py", line 35, in LighthouseAudit
accessibility = int(math.floor(value["lighthouseResult"]["categories"]["accessibility"]["score"] * 100))
KeyError: 'lighthouseResult'

from seo-audits-toolkit.

StanGirard avatar StanGirard commented on May 20, 2024

After trying with my own project. It seems like you have an error with your google apikey

from seo-audits-toolkit.

bikker avatar bikker commented on May 20, 2024

Thank you ! its working now ! , last question how can i secure this with a login ?

from seo-audits-toolkit.

StanGirard avatar StanGirard commented on May 20, 2024

You are welcome !

Well there aren't any login option right now but you can implement an Http basic authentication on the nginx/apache side:
https://developer.mozilla.org/docs/Web/HTTP/Authentication

from seo-audits-toolkit.

bikker avatar bikker commented on May 20, 2024

where can i switch the lighthouse to change the scores from desktop to mobile !

from seo-audits-toolkit.

StanGirard avatar StanGirard commented on May 20, 2024

I have not yet implemented it. There is going to be a big update in a month or so that should add many features

from seo-audits-toolkit.

bikker avatar bikker commented on May 20, 2024

i understand that but
https://googlechrome.github.io/lighthouse/viewer/?psiurl=https%3A%2F%2Fintodns.com%2F&strategy=mobile&category=performance&category=accessibility&category=best-practices&category=seo

like this url fetches the json for lighthouse if u change strategy=mobile or strtegy=desktop that gives those , in which file have you added the url in the code which i can go edit, i looked and didnt find in any yet

from seo-audits-toolkit.

StanGirard avatar StanGirard commented on May 20, 2024

You can find the request generated in this file:

https://www.github.com/StanGirard/seo-audits-toolkit/tree/master/toolkit%2Fcontroller%2Fseo%2Flighthouse.py

from seo-audits-toolkit.

bikker avatar bikker commented on May 20, 2024

THANK YOU !

from seo-audits-toolkit.

StanGirard avatar StanGirard commented on May 20, 2024

Please bare with me. I'm doing this as a side project and I don't have a lot of free time. New functionalities should be arriving each month.

End goal is to build a free toolkit to audit websites in depth.

from seo-audits-toolkit.

StanGirard avatar StanGirard commented on May 20, 2024

And feel free to give me any feedback or even make some pull requests :)

from seo-audits-toolkit.

bikker avatar bikker commented on May 20, 2024

sure ! will help as much as i can by testing ! :) thank you

from seo-audits-toolkit.

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.