Skip to content
This repository was archived by the owner on Apr 18, 2018. It is now read-only.
This repository was archived by the owner on Apr 18, 2018. It is now read-only.

getting IOError: [Errno 36] File name too long on ubuntu #168

Description

@anees042

I am running pyleus build through shell script called by nodejs and getting the following error; if i run the script from terminal myself, it works fine. the max filename limit is 255 (getconf FILENAME_MAX) and the filename it's complaining about is still 217 characters. can anyone please help?

Thanks in advance.

Command failed: Traceback (most recent call last):\n File "/usr/local/bin/pyleus", line 6, in \n main()\n File "/usr/local/lib/python2.7/dist-packages/pyleus/cli/cli.py", line 54, in main\n args.func(args)\n File "/usr/local/lib/python2.7/dist-packages/pyleus/cli/commands/subcommand.py", line 105, in run_subcommand\n self.run(configs)\n File "/usr/local/lib/python2.7/dist-packages/pyleus/cli/commands/build_subcommand.py", line 40, in run\n build_topology_jar(configs)\n File "/usr/local/lib/python2.7/dist-packages/pyleus/cli/build.py", line 298, in build_topology_jar\n verbose=configs.verbose,\n File "/usr/local/lib/python2.7/dist-packages/pyleus/cli/build.py", line 205, in _create_pyleus_jar\n zip_file.extractall(tmp_dir)\n File "/usr/lib/python2.7/zipfile.py", line 1040, in extractall\n self.extract(zipinfo, path, pwd)\n File "/usr/lib/python2.7/zipfile.py", line 1028, in extract\n return self._extract_member(member, path, pwd)\n File "/usr/lib/python2.7/zipfile.py", line 1083, in _extract_member\n file(targetpath, "wb") as target:\nIOError: [Errno 36] File name too long: '/home/abcdefgh/afe/tmp2A4hV6/kafka/consumer/ZookeeperConsumerConnector$ZKRebalancerListener$$anonfun$kafka$consumer$ZookeeperConsumerConnector$ZKRebalancerListener$$rebalance$3$$anonfun$apply$10$$anonfun$apply$11.class'\n

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions