hpx2206 / evoluspencil

Automatically exported from code.google.com/p/evoluspencil
0 stars 0 forks source link

Application window is empty - nothing works #226

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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?

Original issue reported on code.google.com by dc.cebe...@gmail.com on 12 Oct 2010 at 5:48

Attachments:

GoogleCodeExporter commented 9 years ago
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\<whatever-you-call-it>".

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.

Original comment by dc.cebe...@gmail.com on 19 Oct 2010 at 3:25

GoogleCodeExporter commented 9 years ago
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"

Original comment by dc.cebe...@gmail.com on 19 Oct 2010 at 3:42

GoogleCodeExporter commented 9 years ago
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.

Original comment by dc.cebe...@gmail.com on 19 Oct 2010 at 4:30

GoogleCodeExporter commented 9 years ago
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.

Original comment by rafalzio...@gmail.com on 5 Nov 2010 at 2:22

GoogleCodeExporter commented 9 years ago
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.

Original comment by dc.cebe...@gmail.com on 5 Nov 2010 at 2:47

GoogleCodeExporter commented 9 years ago
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".

Original comment by alex.vanderlinden on 5 Jan 2011 at 11:03

GoogleCodeExporter commented 9 years ago
"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_Wi
ndows

Original comment by paulo.c...@gmail.com on 3 May 2011 at 1:20

GoogleCodeExporter commented 9 years ago
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

Original comment by marcoant...@gmail.com on 30 Jun 2011 at 4:20