*error: counter: no such object

Dec 22, 2007 at 9:25am

*error: counter: no such object

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:

PROBLEM SYMPTOMS:

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

In existing patchers,
I select help for existing counter objects,
counter.help 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”,
counter.help IS DISPLAYED,
max windows says:
*error: counter: no such object
*error: #X: No Such Object

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

TROUBLESHOOTING LOG:

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

#35087
Dec 22, 2007 at 9:58am

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)

#119187
Dec 24, 2007 at 7:22am

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


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#119188
Dec 26, 2007 at 8:12pm

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.

#119189
Mar 17, 2012 at 4:18am

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.

#119190

You must be logged in to reply to this topic.