Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Oleg@smath.com  
#1 Posted : 07 November 2020 18:58:02(UTC)
Oleg@smath.com

Rank: Newbie

Groups: Registered
Joined: 07/11/2020(UTC)
Posts: 2
Russian Federation
Location: Moscow

Hi,
I've created file C:\test.csv with the flowing context:
Quote:

"DATE" "VALUE"
20160101 1
20160102 2
20160103 3
20160104 4

and enter to the SMath Studio importData function:
error_message.jpg
but there is an error "File does not exist". I changed function arguments as you can see at https://en.smath.com/forum/yaf_postst539_importData-and-exportData.aspx , but there is no effect.

What's wrong with my file?
Version Smath Studio 0.99 (build: 7579).

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline overlord  
#2 Posted : 07 November 2020 20:47:46(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,124
Turkey

Was thanked: 506 time(s) in 337 post(s)
I couldn't recreate the problem.
Everything seems in order.
Tested under linux.

Regards

2020-11-07_20-43.png
Offline Oleg@smath.com  
#3 Posted : 07 November 2020 21:54:15(UTC)
Oleg@smath.com

Rank: Newbie

Groups: Registered
Joined: 07/11/2020(UTC)
Posts: 2
Russian Federation
Location: Moscow

Thank you overlord!
I now what's wrong now.
I copied path to my file with context menu of notepad++
full_file_path_to_clipboard.jpg
So when I paste path to Smath I can't see difference between manual path input and copy-and-paste it. Picture is the same. But when I copy formula back to the clipboard - it's differ when I get it:

Quote:

importData("C\003A\\test\002E\csv",0,0,0,0,0,0,0,1)
importData("C:\test.csv",0,0,0,0,0,0,0,1)


Upper line is copied from notepad++ and it's not work whith the exception above. Next line is manual input and it's work fine.

So my question is close.
Offline Andrey Ivashov  
#4 Posted : 07 November 2020 23:31:46(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Please update to the latest available SMath Studio version.

Quote:
importData() function improved to support special chars in path;
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.