Comments (12)
Hmm, I don't use spacemacs at all, but I can try taking a look.
Just to make sure I understand:
- if you don't set uid and token, and just call
habitica-tasks
, it prompts for username and password and works normally? - if you do set your uid and token and call
habitica-tasks
, it still prompts for username and password, but fails with a "wrong type argument" error?
The second case is weird because I specifically wrote
(if (or (not habitica-uid) (not habitica-token))
(call-interactively 'habitica-login))
in the habitica-tasks
function, so if they are both set properly you should never be prompted.
from emacs-habitica.
sorry about my language, but yes you were right. BTW, did you do any modification today? the login problem solved. but the interface shows:
* Habits :habit:
** TODO xxxx(my fist babit):
:PROPERTIES:
:ID: 26f74ee4-1483-.....(i delete the rest number, in case it is sensitive)
:END:
from emacs-habitica.
The login worked? That's weird. I didn't change anything. I also can't reproduce the problem.
And yes it's normal to see that id. I use org-mode properties to store the task id for when I'm calling the API. It's not sensitive. Normally, org-content
gets called and hides it away.
from emacs-habitica.
i mean it only showed my first TODO and kind of showing the id. Before the login didn't work. it was show the full list. I will try delete .spacemacs and restore it to see the problem.
from emacs-habitica.
I delete the .spacesmacs and setup spacesmacs again and it worked. I think there must be some conflict with other packages.
from emacs-habitica.
oh wow. I know really nothing about spacemacs. Where do you think it could be coming from?
from emacs-habitica.
i think there must be some conflicts with org-mode configuration.As long as I uncommon org in "dotspacemacs-configuration-layers" it has the problem. it shows "Symbol's function definition is void: org-link-types." But once I put (setq org-directory "~/xxxxxx/l") in .spacemacs file the habitica interface shows, but only showed my first TODO .
from emacs-habitica.
I wish I know more about programming. I find out that in terminal everything works just fine. I really have no idea. Hope the information can help you find out the problem. Thanks for the response and patience.
from emacs-habitica.
No worries. Give me a bit of time and I'll install spacemacs and try it out myself.
from emacs-habitica.
Thanks a lot. Here's some update. I tried delete everything and install back several times in the weekend. Some how it worked. I suspect emoji layer is the reason. because this is the one layer I didn't install. And since I don't know how I make everything works, I will not try to install emoji layer again, in case something wrong.
from emacs-habitica.
Still trying to work my way through spacemacs.
Have you seen those two issues in spacemacs?
syl20bnr/spacemacs#8334
syl20bnr/spacemacs#8074
Can you try to call package-initialize
in init.el before the org-mode code gets evaluated? It seems to be a fix for a few users.
from emacs-habitica.
I'm now sure emoji layer cause the problem. I installed emoji and it has the problem. I delete the emoji and everything works just fine.
from emacs-habitica.
Related Issues (10)
- Show checklists for tasks that have them (feature request) HOT 2
- Habitica-task crashed due to fround HOT 1
- Feature Request: Add Completed Task Drawer to Habitica Dashboard HOT 1
- it still ask for username & password HOT 5
- loads done dailies and not due dailies as due dailies
- Cannot add the item containing Unicode characters to checklist HOT 2
- Unable to complete a task that was created using `habitica-tasks` without manually calling refresh
- rename / update a task
- Is this still maintained? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs-habitica.