-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when installing Notepad++ #1010
Comments
The |
To be sure the program state is correct I've just removed my whole
|
Is your scripts repo up to date? |
After deleting the |
Depends on your repository settings... |
? As far as I know all repository settings are done inside the |
Oh yes, you're right. |
Maybe this is fixed in PhoenicisOrg/scripts#358. |
No the error still seems to be there: exception.txt |
Weird. I think you have to enhance the log. E.g. where does it look for the file etc. Only the very last exception is relevant because everything before is just the Wine installation. |
The script seems to not install the application at all. I've taken a look inside the wineprefix folder and ran: |
I can't even see when this error occurs. Is it when Wine tries to run the Notepad++ installer or when it tries to create the shortcut... Therefore I think we need better logs. |
Then let's expand the logs. I'm just not sure where to expand it. Can you do this? |
I'd say start in the QuickScript. Add a printout for every step that is performed. |
Ok, I've added some debug output to
The error occurs in line 66 in Can you try to rename your whole |
I've just tried it. Everything works for me. Did you even run through the installation wizard of Notepad++? |
I've just tried to install |
I'm a bit confused. Above you said that the error is caused in |
I'm not too deep in the wine integration of POL 5, therefore I can't really tell what exactly happened and what not. The important thing is the exception which I posted above:
Especially the two rows:
These two rows tell us that the error occurs in line 66 inside |
My current guess is, that // if no executable given, ask user
if (!this._executable) {
this._executable = fileName(setupWizard.browse(tr("Please select the executable."), wine.prefixDirectory, ["exe"]));
}
new WineShortcut()
.name(this._name)
.type(this._type)
.category(this._category)
.prefix(wine.prefix())
.search(this._executable)
.arguments(this._executableArgs)
.miniature([this._type, this._category, this._name])
.create();
this._postInstall(wine, setupWizard); will also be executed and throw the error, because the installation command hasn't worked. |
You could try to implement PhoenicisOrg/scripts#335. |
Btw: Did you reinstall your OS before you got this issue? |
Yes, I reinstalled my OS before I got the issue. |
Exactly: |
Then I had this error as well when I used a new VM to check the .deb. |
Do you have any idea how this error occurs? |
No. I thought it was somehow related to the .deb so I didn't care too much. You should try to implement a log for Wine like I said above. Maybe that will give us some insights. Also add some printouts to |
|
That's because |
What should I change to improve the winedebug messages? |
Remove the this._wineDebug = "-all"; |
Ok, after changing your line to
|
So Wine is missing some X11 stuff which is why it cannot show the Notepad++ installation wizard. Therefore, you cannot install Notepad++ and the shortcut cannot be created. |
I guess you're missing libxext6 (i386). If this is really the case, we have to update the wiki and the deb. |
Yes, that was the reason. |
I have updated the wiki (only for Ubuntu, I don't know about Arch). |
When installing notepad++ I get the following exception:
The text was updated successfully, but these errors were encountered: