View Single Post
EightBitz
Senior Member
 
Join Date: May 2013
Posts: 1,458

Old March 24th, 2017, 10:24 PM
Quote:
Originally Posted by Acenoid View Post
Hello EightBlitz!

I have tried out finally the HTML export. Though the help commands did not work for some reason, the GUI was quite easy to use. Thanks for the great work.

I tried to export my realm for testing purposes. I was interested in the mechanics section and did a full "export" (Compact output) and chose a mechanics source file. Changed the policy settings correctly.

I encountered some issues:
1. Script did not finish the convension, due to an unexpected NULL value with a smart image:

Checked the topic in question. It has a smart image tag added which is unedfined, but has a Annotation text. This seems to be the issue. Removing the smart image snippet fixed it.

[ERROR]
Command Line: &(".\RWExport-To-HTML.ps1") -Source 'H:\RWExport\Shadowrun 1.rwoutput' -Destination '.\MyRealm.html' -Sort 2 -SimpleImageScale 0 -SmartImageScale 0 -CSSFileName 'RWExport_091b_1.5.css' -Format 'HTML' -Prefix -Suffix -Details -Indent -SeparateSnippets -Force
Reason: InvalidOperation - Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

Location: Line 1215, Character 17
Script Line: $SplitFileName = $FileName.split(".")

Topic: Bruderschafts Sektion
Section: Description
Snippet Type: Smart_Image
[/ERROR]

The same issue appeared in a second attempt with a picture snippet. No picture but annotation text. Removed the snippet to fix the issue.

2. The resulting HTML could be reviewed anyways: German umlaute and special characters don't appear correctly in the browser (äöüß), maybe there should be an option to choose a codepage (or use utf-8) also just a guess atm?

3. I also make extensive use of tables in my realm. The text from tables seems often to be garbled (overwrites itself, however the documentation states that tables are untested / not supported) Example image: http://i.imgur.com/mr4qIlD.png

I suppose that here the line breaks need to be triggered somehow, when an end of a cell has been reached.

4. Exporting to word did not work. Following error message was reported:

H:\RWExport\RWExport-To-HTML.ps1 : Das angeforderte Element ist nicht in der Sammlung vorhanden.
In Zeile:1 Zeichen:1
+ &(".\RWExport-To-HTML.ps1") -Source 'H:\RWExport\Shadowrun1.rwoutput' ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: ( [RWExport-To-HTML.ps1], COMException
+ FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,RWExpo rt-To-HTML.ps1

It seems to claim that the input file is not present? However it starts when going for a html file:

----

That was all for the first export attempt. Thanks again for the effort and great documentation.
Oof. That's, ummm ... a lot to take in.

1. The issue with the smart images and pictures is a known issue, and thank you for reminding me. That should be easy to fix.

2. I must admit, I wasn't considering other languages when I wrote this script, nor am I well versed in them. This is something I will have to look into.

3. I have not seen that kind of output with tables, so I'm at a loss. In a simple sense, I have tested tables rather extensively. What I have not tested is all the different types of formatting people can and do apply to tables. Font colors, background colors, italics, things like that.

4. Whuh? I don't even ... I mean, I know what you're saying about not being able to find the input file, but as you say, if it can find it for html, it should be able to find it for Word.

At the very minimum here, I have to ask if you would be willing to share your export via dropbox, GoogleDrive, OneDrive, or some other similar service.

In a situation like this, I would also normally ask if you would be willing to share a remote session via skype or join.me or something, but you obviously have your language settings set for German, and I'm not sure how well I would be able to follow along or even navigate myself (under your watchful eye, of course).

But if we could at least start with you sharing your export, I'll see what I can do with that.

Just to tell you the same thing I'm telling others, my free time isn't what it used to be. I'm having to be more aggressive on job hunting, and I do actually have a phone interview on Monday (wish me luck), which if that goes well, they'll invite me for an on-site interview, and if that goes well, I will again be gainfully employed. (Here's hoping).

If that falls through, I have a couple of other possibilities in play. But nothing is guaranteed with any of these, so I have to keep hunting.

EDIT: I'm searching for systems admin role in the Chicago/NWI area. If anyone is willing to help me network, please send me a private message.

Last edited by EightBitz; March 24th, 2017 at 10:26 PM.
EightBitz is offline   #147 Reply With Quote