Forums > MaxMSP

*error: counter: no such object

December 22, 2007 | 9:25 am

It appears that suddenly, my counter objects do not function at all: icon has a dotted edge, no inlets or outlets. Please help.

Here are the details:


If I select it, floating inspector says:
No Objects Selected

In existing patchers,
I select help for existing counter objects, IS NOT DISPLAYED,
max windows says:
*error: poobah: no such object

In a newly created patcher,
I try to add a counter,
max windows says:
*error: counter: no such object

In newly created patchers,
I select help for new objects in which I typed "counter", IS DISPLAYED,
max windows says:
*error: counter: no such object
*error: #X: No Such Object

NOTE: When is displayed:
its counter object exhibits the same errors.


1. Using MaxMSP 4.5.7 on Windows XP, I have restored the MaxMSP 4.5/ and Cycling74 directories from a backup made at a time when counter was functioning fine. The problem still exists.

2. I downloaded and newly installed Max/MSP 4.6.3. The problem also exists with the new version.

3. Although I haven’t checked every single object in MaxMSP, the problem appears to be unique to counter.

I’m now checking the search paths for files, folders, and subfolders named counter.

I would appreciate some assistance.

Lucky Choi

December 22, 2007 | 9:58 am

It appears that when I simplified the MaxMSP search path, counter now works. However, I’ve yet to determine what really caused the problem. Perhaps one of the following?

* search path too long
* a hidden file or folder also named counter
* recursive paths (caused by aliases within the path)

December 24, 2007 | 7:22 am

lchoi schrieb:
> * a hidden file or folder also named counter

maybe a counter.js – never use the same name for js – java and objects…
This could be hidden in a Max standalone or in a jar (java)…

If you increase your search path bit by bit again you’ll find it…


Stefan Tiedje————x——-
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–

December 26, 2007 | 8:12 pm

In no particular order:

> * search path too long

TTBOMK this is not an issue. I’ve had quite long Search Paths without problem, and I’ve heard of search paths encompassing entire hard disks. You don’t want to do this because it slows the launch of Max down considerably. But I don’t believe it causes bad behavior

> * recursive paths (caused by aliases within the path)

I believe Max handles this gracefully.

> * a hidden file or folder also named counter

That will be it. It could be a counter.js (as Stefan suggests) but also a counter.txt or counter.mxb or counter.mxt or counter without suffix. Don’t forget that standalones in the search path are also searched (Mac OS standalones are simply folder hierarchies with a few special attributes).

If you’re on Mac OS, Spotlight is your friend in this kind of situation.

March 17, 2012 | 4:18 am

I had the similar problem and faced it a lot of times. I often solve this type of problems using "Long Path Tool". It helped me in solving this error and all related errors.

July 30, 2014 | 4:04 pm

…a hidden file or folder also named counter

thanks a lot Peter!!!

Viewing 6 posts - 1 through 6 (of 6 total)

Forums > MaxMSP