Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

"error: malformed string on input" AutoCAD 2017 for MAC

Anonymous

"error: malformed string on input" AutoCAD 2017 for MAC

Anonymous
No aplicable

Hello, I'm testing the AutoCAD 2017 for MAC, most changes are great, it feels more like AutoCAD for Windows, something that makes my workflow faster as I always worked on Windows since R12, and I use in office 2 computers, one MAC and one PC...   today I found the "error: malformed string on input" message when AutoCAD starts, as far as I know this error don't affect anything, but want to know what causes it, how to fix it and if it broke something inside AutoCAD that I haven't found yet. In forum mesages read something similar in AutoCAD electrical, but it's for Windows and the solution don't works for MAC

0 Me gusta
Responder
Soluciones aceptadas (2)
1.418 Vistas
15 Respuestas
Respuestas (15)

maxim_k
Consultant
Consultant
Solución aceptada
Hi,

You have some AutoLISP routine which is loaded on AutoCAD launch and that routine has mismatched parenthesis pair.
Have you added some AutoLISP routine to the Startup Suite with APPLOAD command?

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Me gusta

Anonymous
No aplicable
Hello Maxim, thanks for answering my question. I tried a couple of lisp routines, but they haven't worked as AutoCAD for MAC lacks a lots of commands and system variables (they work perfect on AutoCAD for Windows), what I don't remember is if I only loaded once when tried them or configure them to auto load on start. I'll check it on monday, meanwhile have a nice weekend.
0 Me gusta

maxim_k
Consultant
Consultant
Good. Check that.
BTW if AutoLISP routines you were trying to use with AutoCAD are not very complex, probably it is possible to rewrite them to make compatible with AutoCAD for Mac.
You can attach them here and I can look at them.

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Me gusta

Anonymous
No aplicable

Hello Maxim, thanks for your answers, as you sugested the guilty was 2 LISP routines that where in the briefcase, both routines are a bit long, anyway I attach them to see if they can be updated easy...  do you know if there's a list of valid lisp commands or substitutes in MAC? I'll like to update and dust off my short knowlege writing LISP routines, best regards

0 Me gusta

maxim_k
Consultant
Consultant
I'll look at your LSP files later.
Meanwhile you can find AutoLISP Functions Reference here:
http://help.autodesk.com/view/OARXMAC/2017/ENU/?guid=GUID-4CEE5072-8817-4920-8A2D-7060F5E16547

Each function in the Reference has a special note about availability on each platform - Windows and Mac.

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Me gusta

john.vellek
Alumni
Alumni
Solución aceptada

Hi @Anonymous,

 

I didn't see a malformed list error with either of these files.

 

The larger of these files has a section in it that is trying to pull up a custom DCL dialog window. This will not work on the MAC.

 

Are there specific parts of the routines that aren't working? The few that I tried all seem to work fine.

 

 

Please select the Accept as Solution button if my post solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Me gusta

maxim_k
Consultant
Consultant
John was ahead of me and already answered all questions.
If you need further assistance, let me know.

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community

Anonymous
No aplicable

John, Maxim, thanks for taking the time to answer my doubts, the problem obviously isn't a "" issue, but a function/command/variable called by my LISPs that aren't recognized by the AutoCAD for MAC, I'll try to dig into this problem, I'll wonder if it's material for a new thread

0 Me gusta

john.vellek
Alumni
Alumni

Let's keep going here :cara_con_una_leve_sonrisa:

 

I would look at each defun in the LISP routine and if you run across one that use want but isn't working, please add a post and I can try to help.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Me gusta

john.vellek
Alumni
Alumni

HI @Anonymous,

 

I am checking back to see if my post or @maxim_k's helped you with your problem. Please add a post with how you decide to proceed and your results so other Community members may benefit.

 

Please hit the Accept as Solution button if a post or posts solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Me gusta

Anonymous
No aplicable

Hello, sorry for the delay in continue the topic. The Zeta0.lsp routine is the one that I need to ran on AutoCAD for MAC, and it denies to work, I'm shure that is not for a "" issue, but can't figure out at what point this lisp is uncompatible wit AutoCAD for MAC, I'll keep trying to find out why.

0 Me gusta

maxim_k
Consultant
Consultant
Hi,

I tried Zeta0.lsp and it works fine on my side with some basic objects I created for test. From the code inside this Lisp file I can say - it is fully compatible with AutoCAD for Mac/

Do you have troubles with this Lisp routine in all of your drawings or just in some of them?

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Me gusta

john.vellek
Alumni
Alumni

Hih @Anonymous,

 

I too had no problem with that LISP. What kind of error are you seeing?


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Me gusta

Anonymous
No aplicable

Hello, thnaks for the answers, I'm sorry because I can't no longer test the lisp zeta0.lsp because I was fired after 13 years working there, but definitely that lisp was the cause of the "error: malformed string on input" message, and the mentioned lisp wasn't working as should, his function was moving every single object in Z axis to "0", I guess it's because theres no Filter command in AutoCAD for MAC, but now maybe I never know.

0 Me gusta

maxim_k
Consultant
Consultant
Hello,

I'm sorry about your dismissal.
Just want to say again that I tested Zeta0.lsp and it works fine in AutoCAD for Mac.

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Me gusta