HubPress / hubpress.io

A web application to build your blog on GitHub
MIT License
2.81k stars 2.63k forks source link

Error when synchronizing post on Firefox Developer Edition #538

Closed jabby closed 6 years ago

jabby commented 6 years ago

Hi @anthonny

I have a little problem with the last update of hubpress.io (0.9.1). After loggin I have no post. So I use the synchronize button. But when I click the synchronize button, there is an error. I got this in the console :

e.attributes.$$smap is undefined  app.3e89e3d9c935e845e2fd.js:1:89043
too much recursion[En savoir plus]  vendor.099e66f2e693b444d03c.js:2:1665655
La mémoire consommée par will-change est trop importante. La limite du budget correspond à la surface multipliée par 3 (1914240 px). Les occurrences de will-change dépassant le budget seront ignorées.

Sorry the message is in french 🤣

Version of the browser:

jabby commented 6 years ago

Maybe I habe a biggest problem than I thought. The synchronization is not available on chrome / ms edge. I get the following error

Unable to get property 'imagesdir' of undefined or null reference

Maybe I need to update my posts manually then synchronize again.

anthonny commented 6 years ago

It's a bug with the :hp-image: attribute when it refers a image stored in the images directory

IE https://github.com/jabbytechnologies/blog/edit/gh-pages/_posts/2015-04-13-Pourquoi-je-suis-passe-de-Wordpress-a-HubPress.adoc

I will fix that now.

anthonny commented 6 years ago

You can use this workaround:

:hp-image: https://blog.jabby-techs.fr/images/2015/04/hubpress-login.png
anthonny commented 6 years ago

Just released the 0.9.2 it should be good now