Skip to content
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

Exporting and Importing material from csv #6

Open
Alisher1994 opened this issue Feb 8, 2024 · 2 comments
Open

Exporting and Importing material from csv #6

Alisher1994 opened this issue Feb 8, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Alisher1994
Copy link

Hello!

When using this command, it returns the error that I indicated in the picture.

IronPython Traceback:
Traceback (most recent call last):
 File "C:\Users\User\AppData\Roaming\pyRevit\Extensions\pySSG.extension\pySSG.tab\Materials.Panel\Create.pulldown\Materials to CSV.pushbutton\script.py", line 225, in <module>
TypeError: expected index value, got str


Script Executor Traceback:
IronPython.Runtime.Exceptions.TypeErrorException: expected index value, got str
в Microsoft.Scripting.Interpreter.ThrowInstruction.Run(InterpretedFrame frame)
в Microsoft.Scripting.Interpreter.Interpreter.HandleException(InterpretedFrame frame, Exception exception)
в Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
в Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
в IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
в PyRevitLabs.PyRevit.Runtime.IronPythonEngine.Execute(ScriptRuntime& runtime)

1

@J-DBox
Copy link

J-DBox commented Sep 9, 2024

Same here, though a little different

`IronPython Traceback:
Traceback (most recent call last):
File "C:\Users\User\AppData\Roaming\pyRevit\Extensions\pySSG.extension\pySSG.tab\Materials.Panel\Create.pulldown\Materials to CSV.pushbutton\script.py", line 225, in
TypeError: expected int, got str

Script Executor Traceback:
Microsoft.Scripting.ArgumentTypeException: expected int, got str
at Microsoft.Scripting.Interpreter.ThrowInstruction.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.HandleException(InterpretedFrame frame, Exception exception)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
at PyRevitLabs.PyRevit.Runtime.IronPythonEngine.Execute(ScriptRuntime& runtime)`

@ivanzep
Copy link

ivanzep commented Nov 12, 2024

any solution for this issue?

@kbruxvoort kbruxvoort self-assigned this Nov 13, 2024
@kbruxvoort kbruxvoort added the bug Something isn't working label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants