Anable to import data using importData() function

Anable to import data using importData() function - Сообщения

#1 Опубликовано: 07.11.2020 12:58:02
Oleg@smath.com

Oleg@smath.com

0 сообщений из 2 понравились пользователям.

Группа: User

Hi,
I've created file C:\test.csv with the flowing context:
Цитата


"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).
#2 Опубликовано: 07.11.2020 14:47:46
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: Moderator

I couldn't recreate the problem.
Everything seems in order.
Tested under linux.

Regards

2020-11-07_20-43.png
#3 Опубликовано: 07.11.2020 15:54:15
Oleg@smath.com

Oleg@smath.com

0 сообщений из 2 понравились пользователям.

Группа: User

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:

Цитата


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.
#4 Опубликовано: 07.11.2020 17:31:46
Andrey Ivashov

Andrey Ivashov

2270 сообщений из 3734 понравились пользователям.

Группа: Super Administrator

Please update to the latest available SMath Studio version.

Цитата

importData() function improved to support special chars in path;

  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений