← Back to team overview

touch-packages team mailing list archive

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

 

Indeed, the path comes from registry-tracker.cpp:33

    m_endpoints_dir(QDir::temp().filePath("scope-dev-endpoints.XXXXXX"))

Michi, 107 chars sounds awfully low for a path name, are we sure we
won't get into the same problem in real life on production scopes?

** Also affects: qtcreator-plugin-ubuntu (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: unity8 (Ubuntu)
       Status: New => Incomplete

** No longer affects: qtcreator-plugin-ubuntu (Ubuntu)

** Changed in: unity8 (Ubuntu)
       Status: Incomplete => Triaged

** Changed in: unity8 (Ubuntu)
   Importance: Undecided => Medium

-- 
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:
  Triaged

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