Code Monkey home page Code Monkey logo

soccer's Introduction

soccer's People

Contributors

ciavash avatar md-arif-shaikh avatar mgsb avatar mkjunker avatar

Stargazers

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

Watchers

 avatar  avatar

soccer's Issues

string-replace definition is void

In version 1.2.0, I had this error when installing:
Symbol’s function definition is void: string-replace
I have Emacs 27.2 and dash.
I tried replacing the function call (4 places) with the built-in function `replace-regexp-in-string', and it seems to work.

I found string-replace' in the Elisp Info file, but no definition. Aha! It is a new function in Emacs 28, which has not been released yet. Please consider changing to replace-regexp-in-string', or putting Emacs 28 in the Package-Requires.

Soccer not working correctly

Hi Md Arif

You helped me get things working some time ago I believe.

Now I don't think it is configured correctly.
I am not able to list Premier Leagues or get results of fixtures.

My configuration is as follws

;;for soccor

;;; bootstrap straight
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
(bootstrap-version 5))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))

;;; install use-package
(straight-use-package 'use-package)

(use-package soccer
:straight (soccer :type git :host github :repo "md-arif-shaikh/soccer"))

Hope you can help me get it all working again.

Regards James

Had to remove

Not enough help regards settings and use.

No results or fixtures were displayed when I managed to get it enabled by changing some of the code ie require package rather than use package.

Most of the code I had to take out.
It connected to a host but no information came forth.

Would be great to get it working though... would be useful

Invalid Time Specification error

Copied your time settings exactly and I receive 'invalid time specification' when requesting next fixture from any league.

From the Messages buffer:

Contacting host: www.scorespro.com:443
org-read-date: Invalid time specification

How can I troubleshoot this?

Note:
Table functions work exactly as shown in your readme. Love this feature!

emacs complains Symbol's function definition is void: use-package

Just installed soccer from Melpa
Copied full config to bottom of my .emacs file and I get the message when I launch emacs (27.1) on Lubuntu 22.04
If I try M-x soccer there are no entries to soccer.

Suggestions, please

Regards James

This is what I copied to my .emacs file

(use-package soccer
:straight (soccer :type git :host github :repo "md-arif-shaikh/soccer")
:init
(setq soccer-leagues-alist
'(("England" . "Premier League")
("Spain" . "Laliga")
("France" . "Ligue 1")
("Italy" . "Serie A")
("Germany" . "Bundesliga")
;;("uefa" . "Champions League")
;;("England" . "Championship")
))
:config
(setq soccer-time-local-time-utc-offset "+0530")
:bind (("C-c s f" . soccer-fixtures-next)
("C-c s r" . soccer-results-last)
("C-c s s" . soccer-scorecard)
("C-c s t" . soccer-table)))

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.