Comments (26)
As i am not using Codiad anymore i need to install it and need to understand, what they changed in their application. I'll give it a try on the weekend, maybe it's just a little change in initialization.
Do you get any javascript errors in the web developer console (press CTRL+F12 in Chrome or FF to open it)?
from codiad-todo.
Yes, I got one error:
Uncaught TypeError: Cannot read property 'split' of undefined
from codiad-todo.
Sorry, hadn't much time the last days.
I cannot reproduce your error.
Using Codiad 2.7.2 from git master branch works perfectly fine with Codiad-ToDo-Plugin.
Will it work if you install only Codiad-ToDo and disable all other plugins?
Can you provide further information (browser, operating system, conflicting plugins).
from codiad-todo.
Even if everything else is disabled, it does not work and the error appeared.
Tryed with Windows 10, Debian 8, Kubuntu with the google chrome 48.0.2564.109 (64-bit)
from codiad-todo.
That is bad.
Can you please provide a screenshot of the full error message from developer tools?
I need the exact line of code which throws the error.
Can you also please provide the steps you do when using the application?
Example:
- Login
- Project is opened
- File xyz.js opens automatically due to last session etc.
from codiad-todo.
Here is the screenshot. The error in red will only appear once the plugin is activated:
It does not matter which file is opened. The error event always occurs.
- Login
- Last Projekt is Open
- Three Files are opened from the last session.
- Page hangs
from codiad-todo.
Ok seems Content isn't an empty string.
Does it work if no files are opened from last session?
E.g. close all files, log out and log in again.
from codiad-todo.
Ok, when I close all Files, install the Plugin and reopen the files the error no longer appears.
But when I refresh the Page, the same error appears.
It looks like that if content at startup is not empty, the error occurs
from codiad-todo.
What do you mean with "refresh the Page"?
Have you tried reloading the plugin without browser cache using CTRL+F5?
I tried it with Chromium 49 and Firefox 45 with Ubuntu 14.04, can't reproduce your error.
I also uninstalled all other plugins, still cannot reproduce it.
Do you really use the latest Codiad version (Codiad v2.7.2)?
from codiad-todo.
What do you mean with "refresh the Page"?
I mean, that I reopen the Page in a new Browser-Session.
Have you tried reloading the plugin without browser cache using CTRL+F5?
Yes
I tried it with Chromium 49 and Firefox 45 with Ubuntu 14.04, can't reproduce your error.
Google Chrome 48.0.2564.109 (64-bit)
Do you really use the latest Codiad version (Codiad v2.7.2)?
Yes
it may rests against the web server (software)?
from codiad-todo.
I mean, that I reopen the Page in a new Browser-Session.
Hm. So it works when you reload the page using CTRL+F5?
And it works not, when you reload the page by closing the current browser and reopen the browser again?
This sounds a bit like a caching problem for me.
Do you have access to the apache server configuration files?
Can you provide a screenshot of the http headers of the Codiad-ToDo-init.js file in the network tab (i am interested in the cache settings of your webserver) when it does not work.
from codiad-todo.
Hm. So it works when you reload the page using CTRL+F5?
No, I could better explain it that way. It does not work on any way.
from codiad-todo.
Ok, can you ensure you have the latest codiad version installed (v2.7.2)?
from codiad-todo.
Yes
from codiad-todo.
Ok, as seen here, the getContent method returns nothing if there is no "active" editor:
https://github.com/Codiad/Codiad/blob/master/components/editor/init.js
This means my further code fails.
I try to fix this, hopefully today, otherwise on the weekend.
from codiad-todo.
Ok, tried to fix it, but i can still not reproduce your error.
New Codiad-ToDo version is v0.1.1, maybe it takes some hours until it will be listed in codiad marketplace.
from codiad-todo.
@oxi: does it work?
from codiad-todo.
Sorry for the delay.
The Initial Error was fixed and the Page reloads.
But a new error at the console:
init.coffee:61 Uncaught TypeError: Cannot read property 'getSession' of null
from codiad-todo.
I am wondering, why you havn't an active editor item.
The last fix just was a workaround, it is still unclear why the error occured in your environment.
Can you please try using different browsers to see if the problem persist?
Which other plugins are installed in Codiad?
from codiad-todo.
Do you use multiple editor panes?
from codiad-todo.
@oxi
I can also reproduce your first error when i enable multi panes (split editor window horizontally).
I fixed the behaviour. New version is 0.1.2.
This was kind of a crazy bug, because i never used multi pane support of codiad.
Please test it and give me some feedback.
Thank you.
from codiad-todo.
Ok, I will test this tomorrow.
from codiad-todo.
Ok, I don't use multiple editor panes. But the first Error is now ok.
But The Error "init.coffee:61 Uncaught TypeError: Cannot read property 'getSession' of null" is still here.
from codiad-todo.
New version 0.1.3 is released, i really hope i got all potential issues.
They changed some parts of the codiad core, which do now behave a bit different.
The bad thing is that i need to access the event handler of the ace editor to keep track for content changes, so i need to look up the currently used editor session multiple times.
Please give me some feedback if it works or not, so i can hopefully close this ticket this time. :-)
from codiad-todo.
Ok, now it is fixed!
Thank you very much!
from codiad-todo.
Best news today. :-)
from codiad-todo.
Related Issues (2)
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 codiad-todo.