Previous Thread
Next Thread
Print Thread
XTree - CSV Export #34409 30 Jun 21 01:06 PM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
I just noticed since around the BETA A-Shell/32 Ver. 6.5.1704.2 the CSV export option in XTree does.... nothing..
and the XLSX export say path not found (see attached) - looking I have a C:\Users\steve\AppData\Local\Temp folder but no C:\Users\steve\AppData\Local\Temp\ORDGRD folder..

Reversed back to 6.5.1692.0 and it works...

In this case its under Ashell/Windows, and yes ORDGRD is my program name, new sub-folder feature?

Attached Files xlsxexport.PNG
Last edited by Steve - Caliq; 30 Jun 21 01:14 PM.
Re: XTree - CSV Export [Re: Steve - Caliq] #34413 30 Jun 21 03:59 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
I'm afraid the rules surrounding this feature have gotten too complex to easily explain or debug, but the latest factors would be the ExportFspec= (miame.ini option) and that it may now use the TreeID as part of the exported filename. So my first suspicion is that your TreeID may have a slash in it (i.e. /STEVE ?) If so, I need to add some filtering to weed out special characters like that. Otherwise, this may require some trial and error to figure out what's special about your situation. (It seems to work ok here in my various sample programs, both in A-Shell/Windows and ATE).

Re: XTree - CSV Export [Re: Steve - Caliq] #34414 30 Jun 21 04:04 PM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
Ah! Well yes, i do have a slash in all my TreeID's in pretty well all program, usually something like: TreeID=ORDGRD/"+USER'NAME
That the cause, recent ashell tweak? it explains why all the programs do the same.
But fine running 6.5.1692.0

Re: XTree - CSV Export [Re: Steve - Caliq] #34415 30 Jun 21 04:06 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
That's it! Go have a pint and I'll post an update by tomorrow morning.

Re: XTree - CSV Export [Re: Steve - Caliq] #34416 30 Jun 21 04:06 PM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
I cant say no to that! :-) Thanks!

Re: XTree - CSV Export [Re: Steve - Caliq] #34418 30 Jun 21 04:16 PM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
Before i go for my pint, i see many have colons too: "0~0~ ~H~TreeID=STKGRD/"+USER'NAME+"-01:5~~"

Re: XTree - CSV Export [Re: Steve - Caliq] #34420 30 Jun 21 07:09 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
I'm going to convert all of the colons, slashes and percent signs to dashes.

Re: XTree - CSV Export [Re: Steve - Caliq] #34421 30 Jun 21 07:31 PM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
(Breaking between pints) Sounds good to me…

Re: XTree - CSV Export [Re: Steve - Caliq] #34422 01 Jul 21 04:03 AM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794

Re: XTree - CSV Export [Re: Steve - Caliq] #34423 01 Jul 21 07:36 AM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
Thanks! that sure sorted it!

Re: XTree - CSV Export [Re: Steve - Caliq] #34424 01 Jul 21 07:42 AM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
Only small thing i've noticed is it now defaults every time to:

Under ATE:

C:\ATE\dsk0\001004

Ashell/Windows (possible danger giving users default access to data/run ppns)

C:\Madics\miame\dsk0\241001

where i think before it was more safely the Desktop or something like that, or did it remember the last place you selected.

Re: XTree - CSV Export [Re: Steve - Caliq] #34425 01 Jul 21 02:36 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Agree with Steve here - it should revert back to the local user/documents/ folder if nothing is explicitly defined by the program.

Re: XTree - CSV Export [Re: Steve - Caliq] #34426 01 Jul 21 04:20 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
I agree too, although I'm not quite sure why that's happening for you. (Mine shows up in %TEMP%, which I think is the preferred location.) I do however see another problem related to the creation of the output filename which I'm fixing now...

Re: XTree - CSV Export [Re: Steve - Caliq] #34427 01 Jul 21 04:37 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Let's try again with this version...

ash-6.5.1704.5-w32-upd.zip
ash-6.5.1704.5-w32c-upd.zip

(after you finish your pint!)

Re: XTree - CSV Export [Re: Steve - Caliq] #34428 01 Jul 21 04:42 PM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
Was a good idea at first a pint for every BBS post, but ... after a dozen, things get a little blurry..... 1704.5 still defaulting (ashell/windows) to the directory the programs being executed from.
not my %temp% whats set to: C:\Users\steve\AppData\Local\Temp

Re: XTree - CSV Export [Re: Steve - Caliq] #34429 01 Jul 21 05:37 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Maybe I should ask you how many fingers I'm holding up before we continue any further?

Assuming you answered correctly (13), the next question is:

Are you getting the open file dialog? If so, then it's probably defaulting to your last saved location, and I'm not sure whether we can or should try to override that.

Otherwise, if it's going directly to the XLSX output, then I may need to add some traces to figure out what's happening there.

Re: XTree - CSV Export [Re: Steve - Caliq] #34430 01 Jul 21 05:43 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Before you finish your next pint, If you can see this link, then let's try again...

ash-6.5.1704.5-w32-upd.zip

Note that the filename and version has not changed, but the size and timestamp have.

Activate the XTREE trace before you run your test and then we'll see what's really going on.

Re: XTree - CSV Export [Re: Steve - Caliq] #34431 01 Jul 21 06:06 PM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
How many fingers your holding up? easy!.... 12 ? right? hic hic
open file dialog?, yes....
and after the update, its now defaulting to:

C:\Users\steve\AppData\Local\Temp

better! smile

If i change the open file Dialog location to say save it to Desktop, and then try it again its back to:
c:\Users\steve\AppData\Local\Temp
(not remembering)

What I guess we can call live with, right?

Your turn for a pint!

Re: XTree - CSV Export [Re: Steve - Caliq] #34432 01 Jul 21 06:11 PM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
ATE/Linux mirrors Ashell/Windows: C:\Users\steve\AppData\Local\Temp

If you want go further and play after your pint, then if you can still connect to our VPN / Linux then, type JACK at the dot [1,2] and Continue button, there's then an XTree for you to play in..

Re: XTree - CSV Export [Re: Steve - Caliq] #34433 01 Jul 21 06:45 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
This is making me thirsty... laugh

Re: XTree - CSV Export [Re: Steve - Caliq] #34434 01 Jul 21 07:11 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
I may have been confused about the rules for defaulting directories in the Save File dialog. I thought that at one point it automatically started at the last previously saved directory (based on the application, or maybe the file?) But it now looks like if we want it to remember that you preferred to use the desktop, A-Shell would have to handle that independently. I might put that on the to-do list. (After sobering up!)


Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3