Export to GitHub

evoluspencil - issue #226

Application window is empty - nothing works


Posted on Oct 12, 2010 by Happy Bear

What steps will reproduce the problem? 1. Install the standalone Pencil 1.2 for Windows. 2. Run it.

What is the expected output? What do you see instead? The Pencil application window is empty - there is no menu, no toolbar, no editor, nothing.

What version of the product are you using? On what operating system? Windows XP + SP3, Pencil 1.2.0 standalone.

Please provide any additional information below. I followed the steps from MDC to enable debugging in XULRunner (https://developer.mozilla.org/en/Debugging_a_XULRunner_Application), and got this error (screenshot attached):

Pencil/app/chrome/content/Common/Util.js, line46 "uncaught exception 0x80004005 (NS_ERROR_FAILURE)"

I replaced that single line in the function (return document.implementation;) with a try-catch block:

try { return document.implementation; // original line 46, error here } catch (e) { return document; // line 50, error here after my change }

and the error message just changed lines.

Some sort of an access issue when trying to access the document object?

Attachments

Comment #1

Posted on Oct 19, 2010 by Happy Bear

A workaround for this issue is described in issue #192.

It seems there's a harcoded path somewhere in the Pencil application (or its XULRunner) that prevents it from running if it is not in the folder "C:\Program Files\Evolus\".

If you have installed Pencil 1.2.0 somewhere else, and you don't mind the broken link in the "Add/Remove Programs", you can just move it to folder "C:\Program Files\Evolus\", there is no need to uninstall and reinstall it.

P.S. It would be nice to also have pencil-application-only-zip for "installing" it along the existing XULRunner - I keep the Pencil with my other Portable Applications.

Comment #2

Posted on Oct 19, 2010 by Happy Bear

Actually, the only requirement is that it's under "C:\Program Files", so any of these will work: * "C:\Program Files\Evolus\Pencil" * "C:\Program Files\Pencil" * "C:\Program Files\My\Scribler"

Comment #3

Posted on Oct 19, 2010 by Happy Bear

It's a problem with XULRunner. XULRunner 1.9.1 that comes with Pencil 1.1 works fine outside "C:\Program Files". XULRunner 1.9.2 that comes with Pencil 1.2 works only in "C:\Program Files". Pencil 1.2 seems to work with XULRunner 1.9.1.

Comment #4

Posted on Nov 5, 2010 by Massive Rabbit

What in case if by default you have C:\Programfiler instead of C:\Program Files ? Such case can be met in Norwegian version of windows.

Comment #5

Posted on Nov 5, 2010 by Happy Bear

I can't say for sure... Maybe it does take into account the localized name of "Program Files" folder, so on Norwegian version of Windows it should work. You could try it to see what happens, and post the results.

Comment #6

Posted on Jan 5, 2011 by Swift Giraffe

I installed Pencil outside "C:\Program Files" because of authorization rules on the computer I'm using. Please enable installing Pencil outside "C:\Program Files".

Comment #7

Posted on May 3, 2011 by Massive Rabbit

"C:\Program Files" is not the default path for Windows in others languages. Better if use "Environment variable" (%PROGRAMFILES%, %PROGRAMFILES(X86)%): http://en.wikipedia.org/wiki/Environment_variable#Default_Values_on_Microsoft_Windows

Comment #8

Posted on Jun 30, 2011 by Happy Rhino

my app in widows 7 dont want to open files and i can't see files in my computer only shows folders maybe for a cedentials issue

and the icon of the app shows the icon of administration, and every time when i open evoluspencil system wants the password of super user

Status: New

Labels:
Type-Defect Priority-Medium