Skip to content

[discussion] Processing 3 #6

Open

Description

@geo7

I was just wondering what the compatibility was with processing 3?

Not sure if there are any 'gotchas' or not.

Thanks!

Activity

  1. myrjola commented on Oct 14, 2015

    @myrjola
    Contributor

    I haven't found any gotchas. At least the basic functionality works smoothly. Maybe the Readme should be changed to state that this package also supports processing 3.

  2. ptrv commented on Oct 14, 2015

    @ptrv
    Owner

    Maybe there are some new keywords in processing 3 that need to be added to the keywords list.

  3. Krisselack commented on Mar 9, 2017

    @Krisselack

    Hi, i was not able to run a processing sketch under windows 7 (emacs 25.1.1, processing 3.3.).

    .emacs-modification:
    (setq processing-location ""C:/Program\ Files/processing-3.3/processing-java"")
    (setq processing-application-dir ""C:/R/wd/processing/"")
    (setq processing-sketchbook-dir ""C:/R/wd/processing/"")

    processing-compilation-output:
    -- mode: processing-compilation; default-directory: "c:/R/wd/processing/Reaktor1/" --
    Processing Compilation started at Thu Mar 9 15:08:54
    --force --sketch="c:/R/wd/processing/Reaktor1/" --run --output="c:/R/wd/processing/Reaktor1/output"
    Der Befehl "--force" ist entweder falsch geschrieben oder
    konnte nicht gefunden werden.
    Processing Compilation exited abnormally with code 1 at Thu Mar 9 15:08:55

    Do you have any clues? Wouldn't know where else to ask.

  4. ptrv commented on Mar 10, 2017

    @ptrv
    Owner

    Why do you have double quotes around the values for the processing variables in your .emacs?
    Does this also happen when you set processing-location to .../processing-java.exe instead of .../processing-java?

  5. Krisselack commented on Apr 12, 2017

    @Krisselack

    Double quotes are apparently necessary, otherwise the path wouldn't be recognized at all. The addition of .exe didn't change the output. Thanks.

  6. KevOrr commented on Jan 10, 2018

    @KevOrr

    Necrobump, but the double double-quotes are the problem. ""a"" is actually three forms: the empty string "", the symbol a, and the empty string "". So (setq var ""a"") is equivalent to (setq var "" a ""), since whitespace is insignificant in this instance. In this case, var is set to the empty string, and a is set to the empty string.

    Check the value of the variable C:/Program\ Files/processing-3.3/processing-java; it should be "" :P

  7. Krisselack commented on Jan 11, 2018

    @Krisselack

    Thank you! I tried to change it:
    (setq processing-location "C:/Program Files/processing-3.3/processing-java.exe")

    The value of processing-value:

    processing-location is a variable defined in ‘processing-mode.el’.
    Its value is "C:/Program Files/processing-3.3/processing-java.exe"
    Original value was nil

    Result was:
    C:/Program Files/processing-3.3/processing-java.exe --force --sketch="c:/R/wd/processing/sketch_170309a/" --run --output="c:/R/wd/processing/sketch_170309a/output"
    Der Befehl "C:/Program" ist entweder falsch geschrieben oder
    konnte nicht gefunden werden. (the separated term program files was not identified as path)

  8. KevOrr commented on Jan 16, 2018

    @KevOrr

    @Krisselack see if the above patch helps. This is somewhat unrelated to the original issue however, so if you are still facing problems, you should probably open up a new issue.

  9. Krisselack commented on Jan 16, 2018

    @Krisselack

    Thanks! I applied the patch, however nothing changed. What helped now, was to rename the folder from "Program Files" to (german) "Programme". Apparently the issue was the space between "Program" and "Files".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions