← Back to team overview

touch-packages team mailing list archive

[Bug 1392529] Re: Error executing scope with long name on PC

 

Well, the error message pretty much say it all. There is absolutely
nothing we can do about the path name limitation, it's baked into the
system call interface. (It's a shocking design, but that's just how it
is.)

This is what takes the path name over the edge:

rpadovani/scope-dev-endpoints.USoi22

I suspect that this is added by the scope tool. Making this shorter
would help to keep things below the limit.

I don't know why you are seeing this on the laptop but not the desktop.
Most likely, the generated pathname is shorter for some reason, possible
due to the pseudo-random suffix?

** Also affects: unity8 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1392529

Title:
  Error executing scope with long name on PC

Status in “unity-scopes-api” package in Ubuntu:
  Confirmed
Status in “unity8” package in Ubuntu:
  New

Bug description:
  I'm developing a scope, but I have this error after the launch, and
  I'm not able have any response by any query:

  com.ubuntu.developer.rpadovani.discerningduck_discerningduck-c
  query(): unity::scopes::MiddlewareException: Socket path name too long (max = 107): /tmp/rpadovani/scope-dev-endpoints.USoi22/priv/com.ubuntu.developer.rpadovani.discerningduck_discerningduck-c

  The interesting part it's I have two computers, a desktop and a netbook, and I have the error only on the netbook.
  Both have same code, both have utopic updated with same apt sources, I have the same username (rpadovani) on both and both are 64bit.

  I have no idea on why on one fails and on other doesn't, please let me
  know if I could provide some logs to debug this.

  Alejandro J. Cura suggests this is a bug in the scope registry,
  because sockets paths do have the limit that the error shows:
  http://bugs.mysql.com/bug.php?id=42512

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1392529/+subscriptions


References